joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c3e6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1000e45e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1001c422
call fcn.1001c605
mov dword [esi + 0xc], 1
jmp 0x1001c427
call fcn.1001c605
cmp dword [esi], 0
je 0x1001c470
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1001c44a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10009d66
jmp 0x1001c45b
push 0xff
mov ecx, esi
call fcn.100049ab
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100057d6
jmp 0x1001c494
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1001c494
push dword [esi]
push dword [ebp - 4]
call fcn.1000e8af
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001c55a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1001c605
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1001c5a2
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10009d66
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100057d6
jmp 0x1001c5ad
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000e8af
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1002bd6d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100628f2
call fcn.1000724f
cmp dword [eax + 0x14], 0
jne 0x1002bd88
mov ecx, esi
pop esi
jmp fcn.1002b173
pop esi
ret

Function at 0x1002cad0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10005d36
call fcn.1000724f
cmp dword [eax + 0x14], 0
jne 0x1002caeb
mov ecx, esi
pop esi
jmp fcn.1002c3b9
pop esi
ret
Function at 0x401198
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
cmp dword [0x40e674], ebx
push edi
jne 0x40121c
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xc], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 8], ax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 6], eax
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], 0x7305
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
je 0x4011ee
mov dword [ebp - 0x14], 0x6001
lea ecx, [ebp + 0xc]
push ebx
push ecx
lea ecx, [ebp - 0x28]
push 0x1c
push ecx
lea ecx, [ebp - 0x28]
push 0x1c
push ecx
push 6
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x401216
push 1
pop eax
test byte [ebp - 0x10], al
je 0x401218
xor eax, eax
pop edi
pop ebx
leave
ret
push esi
mov esi, dword [ebp + 8]
push ebx
push ebx
mov eax, dword [esi]
imul eax, dword [ebp + 0x10]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx edi, word [ebp + 0x14]
imul edi, dword [esi]
cmp byte [ebp + 0xc], bl
lea eax, [ebp + 8]
push ebx
push eax
push edi
mov dword [ebp + 8], ebx
push dword [ebp + 0x18]
push dword [esi + 0x1c]
je 0x401255
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40125b
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
pop esi
je 0x401216
cmp dword [ebp + 8], edi
jne 0x401216
push 1
pop eax
jmp 0x401218

Function at 0x40144d
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
xor esi, esi
cmp dword [0x40e674], esi
jne 0x401504
push edi
push 0x1c
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004033e0
xor eax, eax
lea edi, [ebp - 0x2e]
mov word [ebp - 0x30], si
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x40], 0x7304
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
push 0x1c
push eax
lea eax, [ebp - 0x4c]
push 0x1c
push eax
push 6
push dword [edi + 0x1c]
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4014d9
test byte [ebp - 0x34], 1
jne 0x4014d9
push 1
pop esi
mov eax, dword [0x40b050]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x20]
mov byte [ebp - 4], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
pop edi
jmp 0x401520
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [ebp + 8]
push esi
push esi
push esi
push esi
push 0x90020
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x401dff
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
lea eax, [ebp - 0x40]
push 0x40
push eax
push 2
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x40]
push eax
push 1
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 2
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x3ef
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4022b1
Capabilities:
Create thread
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
push str.FLOPPY_IMAGE_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0xa
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
test eax, eax
setne cl
mov edi, ecx
test edi, edi
je 0x4023d5
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
setne cl
mov edi, ecx
test edi, edi
je 0x4023d5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp + 0xc], eax
test eax, eax
setne cl
mov edi, ecx
test edi, edi
je 0x4023d5
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov edi, 0x3e9
push 0x402
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push edi
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 1
push ebx
call esi
push eax
call edi
push 0x20
call fcn.00403a5b
pop ecx
mov esi, eax
push dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
and dword [esi + 0x14], 0
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x8001
mov dword [esi + 0x10], 0x8002
mov al, byte [0x40e678]
mov byte [esi + 0x18], al
mov eax, dword [ebp + 0x10]
push esi
push 0
push 0x4029f2
mov dword [esi + 0x1c], eax
call fcn.00403912
add esp, 0xc
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
test edi, edi
jne 0x4023d5
push esi
call fcn.00403907
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4026e3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
xor esi, esi
cmp eax, edi
mov dword [ebp - 4], eax
mov bl, 0x41
je 0x40272e
test byte [ebp - 4], 1
je 0x402724
mov eax, dword [0x40b050]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x402724
mov byte [ebp + esi - 0x30], bl
inc esi
shr dword [ebp - 4], 1
inc bl
cmp dword [ebp - 4], edi
jne 0x4026ff
and byte [ebp + esi - 0x30], 0
cmp esi, 1
jle 0x40279b
cmp dword [ebp + 0x10], edi
je 0x402791
push 0xfffffffffffffffa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ecx
xor ecx, ecx
cmp esi, edi
mov edi, dword [ebp + 0xc]
jle 0x40276c
mov dl, byte [edi]
cmp byte [ebp + ecx - 0x30], dl
je 0x402769
inc ecx
cmp ecx, esi
jl 0x40275c
jmp 0x40276c
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x40260d
push dword [ebp + 8]
push 0x69
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x4027a7
mov eax, dword [ebp - 0xc]
mov al, byte [ebp + eax - 0x30]
mov byte [edi], al
jmp 0x4027a7
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x30]
mov byte [eax], cl
jmp 0x4027a7
mov ecx, dword [ebp + 0xc]
setne al
dec eax
and eax, dword [ebp - 0x30]
mov byte [ecx], al
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402d47
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x402d72
xor eax, eax
jmp 0x402dd3
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
inc edi
inc edi
push edi
call fcn.00403a5b
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x402d91
xor esi, esi
jmp 0x402dc6
push ebx
mov ebx, dword [ebp + 0x10]
add edi, 0xfffffffe
push ebx
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402db1
push esi
call fcn.00403907
pop ecx
jmp 0x402d8d
mov eax, dword [ebx]
push 1
and byte [eax + esi], 0
mov eax, dword [ebx]
and byte [eax + esi + 1], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
pop esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4069de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40dca0
cmp edx, dword [eax]
je 0x406a00
add eax, 8
inc ecx
cmp eax, 0x40dd30
jl 0x4069f1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40dca0]
jne 0x406b2e
mov eax, dword [0x40e6a8]
cmp eax, 1
je 0x406b08
test eax, eax
jne 0x406a31
cmp dword [0x40b864], 1
je 0x406b08
cmp edx, 0xfc
je 0x406b2e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406a68
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403660
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406aab
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403660
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409574
push edi
call fcn.004058c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x409554
push eax
call fcn.00403300
push dword [esi + 0x40dca4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407df2
add esp, 0x2c
pop edi
jmp 0x406b2e
lea eax, [ebp + 8]
lea esi, [esi + 0x40dca4]
push 0
push eax
push dword [esi]
call fcn.00403660
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x405cce
Capabilities:
Encode data using xor

Disassembly:
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
inc dword [eax]
add byte [eax], al
inc dword [eax]
add byte [eax], al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c5d0]
xor eax, esi
inc ecx
dec edx
jne 0x405cc7
pop edi
not eax
pop esi
ret 0xc
Function at 0x73788d64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x2c]
xor ebx, ebx
cmp eax, esi
push edi
mov dword [ebp - 8], ebx
jge 0x73788d86
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
jmp 0x73788d93
cdq
idiv esi
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x28]
jge 0x73788da6
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
jmp 0x73788dbb
cdq
idiv dword [ebp + 0x28]
push 8
pop edi
mov ecx, edx
cdq
idiv edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp byte [ebp + 0x34], 0
sete al
dec al
and eax, 0xff
cmp esi, ebx
mov byte [ebp + 0x37], al
jle 0x73788ec2
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x28]
cmp edx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ecx
mov cl, byte [eax]
mov esi, eax
mov dword [ebp - 4], ebx
jle 0x73788e8f
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
mov dl, byte [eax]
xor dl, byte [ebp + 0x37]
mov al, byte [edi + 0x7377b7e8]
test al, dl
je 0x73788e2e
mov edx, dword [ebp + 0x18]
mov dl, byte [edx]
test dl, al
mov eax, dword [ebp + 0x14]
je 0x73788e24
or cl, byte [eax + 0x7377b7e8]
jmp 0x73788e2e
mov al, byte [eax + 0x7377b7e8]
not al
and cl, al
mov eax, dword [ebp - 0xc]
add dword [ebp + 0x18], eax
add edi, dword [ebp - 0x10]
push 7
pop eax
cmp edi, eax
jle 0x73788e44
inc dword [ebp + 0x18]
sub edi, 8
mov edx, dword [ebp + 0x14]
add edx, dword [ebp + 0x30]
mov dword [ebp + 0x14], edx
jns 0x73788e57
mov byte [esi], cl
dec esi
mov dword [ebp + 0x14], eax
jmp 0x73788e62
cmp edx, eax
jle 0x73788e64
mov byte [esi], cl
inc esi
and dword [ebp + 0x14], 0
mov cl, byte [esi]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x28]
cmp edx, ebx
mov dword [ebp - 4], edx
jl 0x73788e81
inc edi
cmp edi, eax
jle 0x73788e7e
inc dword [ebp + 0x18]
xor edi, edi
sub dword [ebp - 4], ebx
dec dword [ebp - 0x18]
jne 0x73788dfe
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
add eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x2c]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov byte [esi], cl
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
cmp eax, edx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
jl 0x73788eb9
add ecx, dword [ebp + 0x10]
sub dword [ebp - 8], edx
mov dword [ebp + 8], ecx
dec dword [ebp - 0x24]
jne 0x73788dd7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7378fae7
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [0x737a154c], 0xffffffff
mov eax, dword [0x7379f39c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
jne 0x7378fb11
call edi
mov dword [0x737a154c], eax
inc dword [0x737a3214]
cmp dword [0x737a3214], 0x78
jb 0x7378fba4
push esi
call edi
mov ecx, eax
mov eax, dword [0x737a3214]
sub ecx, dword [0x737a154c]
imul eax, eax, 0x2710
xor edx, edx
div ecx
push 0xa
pop ecx
xor edx, edx
mov esi, eax
div ecx
push edx
push eax
lea eax, [ebp - 0x104]
push 0x7378fbd4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x7378fbc4
mov dword [0x737a3218], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x7378fb95
push 0x7378fbb0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x7378fb8e
lea ecx, [ebp - 0x104]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
and dword [0x737a3214], 0
mov dword [0x737a154c], eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.73761331
leave
ret
Function at 0x73794b5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf
pop ecx
xor eax, eax
mov edi, esi
push 0x8000
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x73794de4
mov dword [ebp - 4], eax
call edi
push 0x73794dd4
mov ebx, eax
call edi
test ebx, ebx
mov dword [ebp + 8], eax
je 0x73794c87
test eax, eax
je 0x73794c87
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x73794dc4
push ebx
call edi
push 0x73794db4
push ebx
mov dword [esi + 0x18], eax
call edi
push 0x73794d9c
push ebx
mov dword [esi + 0x10], eax
call edi
push 0x73794d78
push ebx
mov dword [esi + 0x14], eax
call edi
push 0x73794d54
push ebx
mov dword [esi + 0x20], eax
call edi
push 0x73794d38
push ebx
mov dword [esi + 0x1c], eax
call edi
push 0x73794d1c
push ebx
mov dword [esi + 0x24], eax
call edi
push 0x73794cf8
push ebx
mov dword [esi + 0x28], eax
call edi
push 0x73794cd8
push ebx
mov dword [esi + 0x2c], eax
call edi
push 0x73794cbc
push ebx
mov dword [esi + 0x30], eax
call edi
push 0x73794cac
push dword [ebp + 8]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x18], 0
mov dword [esi + 0x38], eax
je 0x73794c87
cmp dword [esi + 0x10], 0
je 0x73794c87
cmp dword [esi + 0x14], 0
je 0x73794c87
cmp dword [esi + 0x20], 0
je 0x73794c87
cmp dword [esi + 0x1c], 0
je 0x73794c87
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x73794c87
cmp dword [esi + 0x28], 0
je 0x73794c87
cmp dword [esi + 0x2c], 0
je 0x73794c87
cmp dword [esi + 0x30], 0
je 0x73794c87
cmp dword [esi + 0x34], 0
je 0x73794c87
test eax, eax
je 0x73794c87
push 0
push 0
lea eax, [esi + 0xc]
push eax
call ecx
test eax, eax
je 0x73794c87
mov eax, dword [ebp + 8]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi], 1
cmp dword [esi], 0
jne 0x73794c9a
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call edi
push dword [ebp + 8]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x73794f11
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0x128
push 0x5c
push edi
call fcn.73794ecf
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x73794f5c
push ebx
mov bl, byte [esi]
push 0x5c
push edi
mov byte [esi], 0
call fcn.73794ecf
test eax, eax
pop ecx
pop ecx
je 0x73794f59
push 0x200
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi], bl
pop ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push 1
xor esi, esi
push esi
add eax, 0x13a
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x73794fbc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push esi
push 0x73794fc8
push dword [ebp - 4]
mov dword [ebp + 8], 0x200
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x73794fb3
push 0x73794fc0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x413e00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48199b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047459c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413e82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00471daa
mov eax, dword [eax]
push 0xaba230
push eax
call fcn.004646d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00474827
test bl, bl
je 0x413e82
push 0xaba230
lea ecx, [esp + 0xc]
call fcn.00474c03
push 0xabdd90
lea ecx, [esp + 0xc]
call fcn.00474c03
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x413ebe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00474827
jmp 0x413f89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x413f42
lea edx, [esp + 0x7c]
push 0xabdd8c
push edx
call fcn.004646d4
add esp, 8
test eax, eax
je 0x413f42
lea eax, [esp + 0x7c]
push 0xabdd88
push eax
call fcn.004646d4
add esp, 8
test eax, eax
je 0x413f42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413ed2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00474827
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x414780
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4147e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc