joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4798a8
Capabilities:
Get memory capacity

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff98
mov ebx, eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov eax, dword [0x487aa8]
cmp dword [eax], 5
jge 0x47997b
lea eax, [esp + 0x48]
mov edx, 0x20
call fcn.004075ec
mov dword [esp + 0x48], 0x20
lea eax, [esp + 0x48]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x50]
xor edx, edx
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], edx
mov eax, dword [esp + 0x54]
xor edx, edx
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edx
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], edx
mov eax, dword [esp + 0x5c]
xor edx, edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
mov eax, dword [esp + 0x60]
xor edx, edx
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
mov eax, dword [esp + 0x64]
xor edx, edx
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
jmp 0x479a22
push 0x479a2c
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x479a22
push 0x479a3c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [esp], edi
test edi, edi
je 0x479a1c
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0x40
call fcn.004033f4
mov dword [esp + 8], 0x40
lea eax, [esp + 8]
push eax
call dword [esp + 4]
test eax, eax
je 0x479a1c
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x74], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x54], eax
push esi
call sub.kernel32.dll_FreeLibrary_1
add esp, 0x68
pop edi
pop esi
pop ebx
ret

Function at 0x47a754
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47a78c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47a76a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47a779
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47a788
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47bb78
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x487c9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47bb9e
push 0
mov eax, dword [0x487c9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x47cf1c
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4877d0
mov eax, dword [0x487e4c]
cmp dword [eax], 2
jne 0x47d076
push 0x47d08c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x47cf4d
push 0x47d08c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x47d076
push 0x47d098
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877dc], eax
push 0x47d0b0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877e0], eax
push 0x47d0c4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877d4], eax
push 0x47d0d4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877d8], eax
push 0x47d0dc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877e4], eax
push 0x47d0ec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877e8], eax
push 0x47d108
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877ec], eax
push 0x47d118
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877f0], eax
push 0x47d12c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877f4], eax
push 0x47d144
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877fc], eax
push 0x47d150
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4877f8], eax
push 0x47d160
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487800], eax
push 0x47d170
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487804], eax
push 0x47d18c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487808], eax
push 0x47d1a8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48780c], eax
push 0x47d1c0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487810], eax
cmp dword [ebx], 0
je 0x47d084
cmp dword [0x487800], 0
jne 0x47d088
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x47d3d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], edx
mov esi, eax
lea edi, [ebp - 0x94]
xor eax, eax
push ebp
push 0x47d61f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x94
call fcn.004075ec
mov dword [edi], 0x94
push edi
call sub.kernel32.dll_GetVersionExA
mov eax, esi
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404a20
mov eax, dword [edi + 4]
mov dword [0x48ae58], eax
mov edx, dword [edi + 8]
mov dword [0x48ae5c], edx
mov edx, dword [edi + 0xc]
mov dword [0x48ae60], edx
xor ebx, ebx
cmp dword [edi + 0x10], 2
jne 0x47d519
sub eax, 3
je 0x47d475
dec eax
je 0x47d479
dec eax
je 0x47d47d
dec eax
je 0x47d481
jmp 0x47d483
mov bl, 1
jmp 0x47d483
mov bl, 3
jmp 0x47d483
mov bl, 0xa
jmp 0x47d483
mov bl, 0xd
cmp dword [edi + 4], 5
jne 0x47d491
cmp dword [edi + 8], 1
jne 0x47d491
mov bl, 0xb
cmp dword [edi + 4], 5
jne 0x47d49f
cmp dword [edi + 8], 2
jne 0x47d49f
mov bl, 0xc
mov eax, dword [esi]
mov edx, 0x47d638
call fcn.00404bbc
jne 0x47d601
mov dl, 1
mov eax, dword [0x4394fc]
call fcn.004395fc
mov edi, eax
mov edx, 0x80000002
mov eax, edi
call fcn.0043969c
mov edx, 0x47d650
mov eax, edi
call fcn.00439824
test al, al
je 0x47d50d
mov edx, 0x47d698
mov eax, edi
call fcn.00439c24
test al, al
je 0x47d506
mov edx, 0x47d698
mov eax, edi
call fcn.00439b18
dec eax
jne 0x47d506
mov eax, esi
mov edx, 0x47d6ac
call fcn.00404804
mov eax, edi
call fcn.0043966c
mov eax, edi
call fcn.004039e4
jmp 0x47d601
cmp dword [edi + 4], 4
jne 0x47d5d9
cmp dword [edi + 8], 0
jne 0x47d5d9
mov bl, 2
lea eax, [ebp - 0x9c]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404a20
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040b100
mov eax, dword [ebp - 0x98]
mov edx, 0x47d6c4
call fcn.00404bbc
jne 0x47d567
mov bl, 4
lea eax, [ebp - 0xa4]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404a20
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040b100
mov eax, dword [ebp - 0xa0]
mov edx, 0x47d6d0
call fcn.00404bbc
jne 0x47d59f
mov bl, 5
lea eax, [ebp - 0xac]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404a20
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.0040b100
mov eax, dword [ebp - 0xa8]
mov edx, 0x47d6dc
call fcn.00404bbc
jne 0x47d601
mov bl, 6
jmp 0x47d601
cmp dword [edi + 4], 4
jne 0x47d5f3
cmp dword [edi + 8], 0xa
jne 0x47d5f3
mov bl, 7
cmp word [edi + 0xc], 0x8ae
jne 0x47d601
mov bl, 8
jmp 0x47d601
cmp dword [edi + 4], 4
jne 0x47d601
cmp dword [edi + 8], 0x5a
jne 0x47d601
mov bl, 9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d626
lea eax, [ebp - 0xac]
mov edx, 6
call fcn.004047d4
ret
Function at 0x47dc7c
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.0040bb5c
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
mov edx, dword [esp + 4]
call fcn.004049a8
mov eax, dword [esp + 4]
call fcn.0040bbb8
mov dl, 1
mov eax, dword [0x4394fc]
call fcn.004395fc
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.0043969c
mov edx, 0x47dd18
mov eax, ebx
call fcn.00439824
test al, al
je 0x47dd04
mov edx, 0x47dd5c
mov eax, ebx
call fcn.00439c24
test al, al
je 0x47dcfd
mov edx, 0x47dd5c
mov ecx, esi
mov eax, ebx
call fcn.00439aa0
mov eax, ebx
call fcn.0043966c
mov eax, ebx
call fcn.004039e4
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47dd6c
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.0040bb5c
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x47dda1
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0040bb48
jmp 0x47dda8
mov eax, ebx
call fcn.004047b0
mov eax, ebx
mov edx, dword [esp + 4]
call fcn.004049a8
mov eax, dword [esp + 4]
call fcn.0040bbb8
pop ecx
pop edx
pop ebx
ret

Function at 0x47ddc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47de59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e90
mov eax, 0x104
call fcn.0040bb5c
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x47de1c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404fa0
mov eax, dword [ebp - 8]
call fcn.0040bbb8
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.004188b8
test al, al
je 0x47de43
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47de60
lea eax, [ebp - 0xc]
call fcn.004061b8
ret
Function at 0x47df20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x47e00a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x47e01c
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x47dfd7
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x47dfb6
mov eax, dword [ebp - 0xc]
call fcn.0040ae28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00402d68
jmp 0x47dfcc
mov ecx, 0x47e038
mov dl, 1
mov eax, dword [0x40a24c]
call fcn.0040ea6c
call fcn.004041c4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47dfed
mov ecx, 0x47e060
mov dl, 1
mov eax, dword [0x40a24c]
call fcn.0040ea6c
call fcn.004041c4
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e011
lea eax, [ebp - 4]
call fcn.004047b0
ret

Function at 0x47e088
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x47e121
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x47e130
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x47e108
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
jne 0x47e103
mov ebx, dword [ebp - 0x14]
jmp 0x47e10b
or ebx, 0xffffffff
jmp 0x47e10b
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e128
lea eax, [ebp - 4]
call fcn.004047b0
ret
Function at 0x47e144
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x47e1fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x47e210
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x47e1e1
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x47e1d8
mov eax, dword [ebp - 0xc]
call fcn.0040ae28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00402d68
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e205
lea eax, [ebp - 4]
call fcn.004047b0
ret
Function at 0x47ee28
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x47efb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047b0
mov dword [ebp - 0x1c], 0xff
mov eax, dword [ebp - 4]
call fcn.00404a70
test eax, eax
jle 0x47ef8e
lea eax, [ebp - 4]
mov edx, 0x47efc8
call fcn.00404a78
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x47ef8e
mov eax, dword [ebp - 0x14]
call fcn.00402d38
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47ef87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47ef6e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x47efcc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47ef46
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.004075d8
movzx eax, ax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, 0x47eff0
call fcn.0040c060
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00404848
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
call fcn.00404cc8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47ef6e
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0040bb48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ef8e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00402d68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47efb8
lea eax, [ebp - 0x24]
call fcn.004047b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047d4
ret
Function at 0x4849e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x484b6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047b0
mov dword [ebp - 0x1c], 0xff
mov eax, dword [ebp - 4]
call fcn.00404a70
test eax, eax
jle 0x484b49
lea eax, [ebp - 4]
mov edx, 0x484b80
call fcn.00404a78
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x484b49
mov eax, dword [ebp - 0x14]
call fcn.00402d38
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x484b42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x484b29
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x484b84
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x484b01
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.004075d8
movzx eax, ax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, 0x484ba8
call fcn.0040c060
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00404848
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
call fcn.00404cc8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x484b29
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0040bb48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b49
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00402d68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b73
lea eax, [ebp - 0x24]
call fcn.004047b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047d4
ret
Function at 0x469c50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cba2b
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.004bff55
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x469cd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bdd00
mov eax, dword [eax]
push 0x4ea210
push eax
call fcn.004b0004
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c01e0
test bl, bl
je 0x469cd2
push 0x4ea210
lea ecx, [esp + 0xc]
call fcn.004c0570
push 0x4edd8c
lea ecx, [esp + 0xc]
call fcn.004c0570
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 0x469d0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c01e0
jmp 0x469dd9
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 0x469d92
lea edx, [esp + 0x7c]
push 0x4edd88
push edx
call fcn.004b0004
add esp, 8
test eax, eax
je 0x469d92
lea eax, [esp + 0x7c]
push 0x4edd84
push eax
call fcn.004b0004
add esp, 8
test eax, eax
je 0x469d92
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 0x469d22
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.004c01e0
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 0x46a5f0
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 0x46a652
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
Function at 0x46a660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cbaab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f454c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x46a798
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46a6c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c01e0
xor eax, eax
jmp 0x46a80f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c031d
push esi
lea ecx, [esp + 0xc]
call fcn.004c05ac
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46a7ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0046a5f0
test eax, eax
jne 0x46a7ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0046a5f0
test eax, eax
jne 0x46a7ed
lea eax, [esp + 0x14]
push 0x4edda0
push eax
call fcn.004b1110
mov esi, eax
add esp, 8
test esi, esi
jne 0x46a7cc
lea ecx, [esp + 0x14]
push 0x4edd9c
push ecx
call fcn.004b1090
mov esi, eax
add esp, 8
test esi, esi
jne 0x46a7cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46a7cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c02cd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46a6de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c01e0
xor eax, eax
jmp 0x46a80f
mov byte [esi], 0
push 0x4edd98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c01e0
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4