joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4527e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49692c]
cmp byte [eax + 0xc], 0
je 0x45294d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452946
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49a580], 0
jne 0x452834
push 0x452954
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45295c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a580], eax
cmp dword [0x49574c], 0
jne 0x45292f
push 0x45296c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49574c], eax
cmp dword [0x49574c], 0
je 0x45292f
push 0x452978
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a584], eax
push 0x452988
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a588], eax
push 0x45299c
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a58c], eax
push 0x4529b4
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a590], eax
push 0x4529cc
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a594], eax
push 0x4529e0
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a598], eax
push 0x4529f8
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a59c], eax
push 0x452a10
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a5a0], eax
push 0x452a2c
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a5a4], eax
push 0x452a38
mov eax, dword [0x49574c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49a5a8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45294d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x458474
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4584c8]
test si, 4
je 0x458489
or bl, 1
test si, 8
je 0x458493
or bl, 4
test si, 1
je 0x45849d
or bl, 8
test si, 2
je 0x4584a7
or bl, 0x10
test si, 0x10
je 0x4584b1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4584c0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4584cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x458508]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4584e6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4584f5
or bl, 4
test esi, 0x20000000
je 0x458500
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45fbd8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45fbea
add esp, 0xfffffff0
call fcn.00403e50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f380
mov eax, dword [0x49652c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ff7c
mov eax, dword [0x496538]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ff88
mov eax, ebx
call fcn.0045ff94
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45ba10
push eax
push 0
push 0
mov eax, dword [0x4966d4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423008]
call fcn.004248fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423008]
call fcn.004248fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423008]
call fcn.004248fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046040c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4602dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4602dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4602dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fd27
call fcn.00403ea8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4600c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46026b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46024c
mov dl, 1
mov eax, dword [0x416cb4]
call fcn.00403afc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ad0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46023b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00452b3c
test al, al
je 0x46022e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46027c
lea eax, [ebp - 0x254]
call fcn.0040a360
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46022e
xor eax, eax
push ebp
push 0x460227
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4602b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460210
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d40
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460210
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46022e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460131
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041aa90
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460272
lea eax, [ebp - 0x260]
call fcn.00404ad0
ret

Function at 0x460be4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49a5b8]
cmp byte [eax + 0xad], 0
jne 0x460c55
cmp dword [0x49a5d0], 0
jne 0x460c16
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460ba0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49a5d0], eax
cmp dword [0x49a5cc], 0
jne 0x460c31
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49a5cc], eax
cmp dword [0x49a5d4], 0
jne 0x460c55
push esp
push 0
push 0
push 0x460b44
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49a5d4], eax
pop edx
ret
Function at 0x460e84
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460e9b
add esp, 0xfffffff0
call fcn.00403e50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f380
mov eax, dword [0x4966bc]
cmp word [eax + 2], 0
jne 0x460ec3
mov eax, dword [0x4966bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004629dc
mov eax, dword [0x496784]
cmp word [eax + 2], 0
jne 0x460edd
mov eax, dword [0x496784]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462be8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403afc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x423bb8]
call fcn.0042bbf8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x461094
mov eax, dword [0x4965b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bfcc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4632b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4965b8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dd48
test eax, eax
je 0x460fe4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409d04
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dd7c
test eax, eax
je 0x460ff8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d40
mov byte [ebx + 0xd4], 0
push ebx
push 0x462524
call fcn.004204fc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x496444]
cmp byte [eax], 0
jne 0x461049
mov eax, ebx
call fcn.004611d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00463494
mov eax, ebx
call fcn.00463ff4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461089
call fcn.00403ea8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461458
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49a5b8]
cmp dword [eax + 0x30], 0
je 0x461502
cmp dword [ebx + 0x94], 0
jne 0x4614fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4613e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4614fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4614c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4614fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418d20
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4614d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46221c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x462251
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404bc0
jmp 0x46225e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b24
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463678
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4636e6
mov eax, esi
call fcn.0044d7d8
test al, al
je 0x4636e6
mov eax, dword [ebx + 0x84]
call fcn.0044d438
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4636e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4636da
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d438
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445820
jmp 0x4636e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004634b4
pop esi
pop ebx
ret

Function at 0x468904
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x46899c
push 0
mov eax, ebx
call fcn.00404f94
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x468977
mov ebx, esi
test ebx, ebx
je 0x46894d
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00404f94
push eax
push 1
push 0
mov eax, edi
call fcn.00404f94
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x468992
mov ecx, dword [0x4965b4]
mov dl, 1
mov eax, dword [0x466fd8]
call fcn.0040cecc
call fcn.00404464
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x468acc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407a1c]
call fcn.00405580
xor eax, eax
push ebp
push 0x468c6d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x495934], 0
jne 0x468b27
mov ecx, dword [0x496458]
mov dl, 1
mov eax, dword [0x4080d0]
call fcn.0040cecc
call fcn.00404464
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004033fc
mov eax, ebx
call fcn.00405450
mov dword [ebp - 0x24], eax
mov esi, 0x468c7c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406590
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405460
test eax, eax
jle 0x468c10
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x468bfc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d40
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x468ba2
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d58
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x468bb8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d58
mov eax, dword [ebp - 0x54]
call fcn.00404f94
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d40
mov eax, dword [ebp - 0x58]
call fcn.00404f94
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x468bfe
xor eax, eax
test al, al
je 0x468c09
mov ebx, 0x15
jmp 0x468c15
mov ebx, 0x10
jmp 0x468c15
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x495934]
call fcn.0046889c
mov eax, dword [ebp - 4]
call fcn.0046889c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004065a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468c74
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404af4
lea eax, [ebp - 0xc]
mov edx, dword [0x407a1c]
call fcn.00405650
ret

Function at 0x471038
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x47109c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d40
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409568
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4710a3
lea eax, [ebp - 0xc]
call fcn.00404ad0
ret
Function at 0x471cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x471dc7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x471de0
call fcn.00404b68
mov ebx, 1
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.004033fc
mov dword [edi], 0x3c
mov dword [edi + 4], 0x740
mov eax, esi
call fcn.00404f94
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00471cb0
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00471cb0
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], ebx
push edi
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x471db1
push 0xffffffffffffffff
mov eax, dword [edi + 0x38]
push eax
call sub.user32.dll_WaitForInputIdle
jmp 0x471d96
push 1
push 0
push 0
mov eax, dword [edi + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.user32.dll_PeekMessageA
mov esi, eax
test esi, esi
je 0x471d8c
lea eax, [ebp - 0x60]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x60]
push eax
call sub.user32.dll_DispatchMessageA
cmp esi, 1
sbb eax, eax
inc eax
test al, al
jne 0x471d61
push 0xa
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x471d61
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471dce
lea eax, [ebp - 4]
call fcn.00404ad0
ret

Function at 0x47b378
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x49a6e4], 0
jne 0x47b39b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47b2ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49a6e4], eax
ret
Function at 0x47c974
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47ca49
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x47ca60
call fcn.00404b68
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404f94
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x47ca33
mov eax, dword [ebp - 0xc]
call fcn.00402d24
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47ca2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47ca16
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f94
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47ca16
mov eax, dword [ebp - 0x14]
mov esi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca33
mov eax, dword [ebp - 0x10]
call fcn.00402d40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca50
lea eax, [ebp - 4]
call fcn.00404ad0
ret

Function at 0x47cb64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x47cbdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x7d0
call fcn.0040521c
mov eax, dword [ebx]
call fcn.00404f94
push eax
push 0x7cf
call sub.kernel32.dll_GetTempPathA
mov edx, eax
mov eax, ebx
call fcn.0040521c
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.0040910c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040db90
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00404b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cbe4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404af4
ret
Function at 0x47db60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd6c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x290]
mov ecx, 0xa2
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f84
xor eax, eax
push ebp
push 0x47dc58
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x47dc3b
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp - 0x249], 2
jne 0x47dbbb
lea edx, [ebp - 0x290]
mov eax, dword [ebp - 4]
call fcn.0047d778
jmp 0x47dbfc
movzx eax, byte [ebp - 0x248]
test al, al
jne 0x47dbd6
lea edx, [ebp - 0x290]
mov eax, dword [ebp - 4]
call fcn.0047cbec
jmp 0x47dbfc
cmp al, 1
jne 0x47dbea
lea edx, [ebp - 0x290]
mov eax, dword [ebp - 4]
call fcn.0047d028
jmp 0x47dbfc
cmp al, 2
jne 0x47dbfc
lea edx, [ebp - 0x290]
mov eax, dword [ebp - 4]
call fcn.0047d2c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc42
mov eax, dword [0x49a6f4]
call fcn.004098bc
test al, al
je 0x47dc3a
mov ebx, dword [0x49a6f4]
mov dword [ebp - 0x294], ebx
mov eax, dword [ebp - 0x294]
call fcn.00404f94
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
ret

Function at 0x47dc68
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47de2d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040b034
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 0x47de44
call fcn.0040bc34
lea eax, [ebp - 0x1c]
call fcn.0047cb64
push dword [ebp - 0x1c]
push 0x47de60
push dword [ebp - 8]
mov eax, 0x49a6f4
mov edx, 3
call fcn.00404e54
mov eax, dword [0x49a6f4]
call fcn.004098bc
test al, al
je 0x47dd11
mov ebx, dword [0x49a6f4]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.00404f94
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47dd11
mov ecx, 0x47de6c
mov dl, 1
mov eax, dword [0x4080d0]
call fcn.0040ce10
call fcn.00404464
push 0x47de94
push 0x47dea4
mov ecx, dword [0x4997f8]
mov dl, 1
mov eax, dword [0x4170bc]
call fcn.0041b590
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x417034]
call fcn.0041b458
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47ddb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041abd4
mov edx, 0x49a6f8
mov ecx, 0x288
mov eax, dword [ebp - 0x10]
call fcn.0041ade0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
sub eax, 0x288
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0041ae50
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
call fcn.00404b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ddbc
mov eax, dword [ebp - 0xc]
call fcn.00403b2c
mov eax, dword [ebp - 0x10]
call fcn.00403b2c
ret