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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48236c]
cmp byte [eax + 0xc], 0
je 0x44805d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448056
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x483b68], 0
jne 0x447f44
push 0x448064
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44806c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b68], eax
cmp dword [0x47fc90], 0
jne 0x44803f
push 0x44807c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47fc90], eax
cmp dword [0x47fc90], 0
je 0x44803f
push 0x448088
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b6c], eax
push 0x448098
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b70], eax
push 0x4480ac
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b74], eax
push 0x4480c4
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b78], eax
push 0x4480dc
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b7c], eax
push 0x4480f0
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b80], eax
push 0x448108
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b84], eax
push 0x448120
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b88], eax
push 0x44813c
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b8c], eax
push 0x448148
mov eax, dword [0x47fc90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44805d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44bf7c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404568
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44bfcb
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453708
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453758]
test si, 4
je 0x45371c
or bl, 1
test si, 8
je 0x453726
or bl, 4
test si, 1
je 0x453730
or bl, 8
test si, 2
je 0x45373a
or bl, 0x10
test si, 0x10
je 0x453744
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453753
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45375c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453794]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453775
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453784
or bl, 4
test esi, 0x20000000
je 0x45378f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459e3c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459e4e
add esp, 0xfffffff0
call fcn.00403b00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d2ac
mov eax, dword [0x481dec]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a1e0
mov eax, dword [0x481dfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a1ec
mov eax, ebx
call fcn.0045a1f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
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, 0x456614
push eax
push 0
push 0
mov eax, dword [0x48202c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ed2c]
call fcn.004204a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ed2c]
call fcn.004204a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ed2c]
call fcn.004204a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045a6a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a53c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a53c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a53c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459f8b
call fcn.00403b58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a320
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 0x45a4cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a4ac
mov dl, 1
mov eax, dword [0x415950]
call fcn.004037ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404568
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a49b
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.00448250
test al, al
je 0x45a48e
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, 0x45a4dc
lea eax, [ebp - 0x254]
call fcn.00409758
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a48e
xor eax, eax
push ebp
push 0x45a487
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 0x45a514
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a470
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
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 0x45a470
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a48e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a391
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041942c
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 0x45a4d2
lea eax, [ebp - 0x260]
call fcn.00404568
ret

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

Disassembly:
push ecx
mov eax, dword [0x483bb4]
cmp byte [eax + 0xa5], 0
jne 0x45aeb9
cmp dword [0x483bcc], 0
jne 0x45ae7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ae04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483bcc], eax
cmp dword [0x483bc8], 0
jne 0x45ae95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483bc8], eax
cmp dword [0x483bd0], 0
jne 0x45aeb9
push esp
push 0
push 0
push 0x45ada8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x483bd0], eax
pop edx
ret
Function at 0x45afb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45afc7
add esp, 0xfffffff0
call fcn.00403b00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d2ac
mov eax, dword [0x48200c]
cmp word [eax + 2], 0
jne 0x45afef
mov eax, dword [0x48200c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c718
mov eax, dword [0x482120]
cmp word [eax + 2], 0
jne 0x45b009
mov eax, dword [0x482120]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c910
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415534]
call fcn.004037ac
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f80c]
call fcn.00426f9c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45b190
mov eax, dword [0x481ea4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042736c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45cec0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x481ea4]
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.0040cf4c
test eax, eax
je 0x45b0fe
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409138
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf74
test eax, eax
je 0x45b112
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047d8
mov eax, dword [0x481c84]
cmp byte [eax], 0
jne 0x45b146
mov eax, ebx
call fcn.0045b2b8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045d09c
mov eax, ebx
call fcn.0045da60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b186
call fcn.00403b58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b538
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483bb4]
cmp dword [eax + 0x30], 0
je 0x45b5e2
cmp dword [ebx + 0x94], 0
jne 0x45b5dc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b4c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b5dc
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 0x45b5a2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b5dc
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.0041789c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b5b1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c144
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45c179
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.00404658
jmp 0x45c186
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d278
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d2b9
mov eax, esi
call fcn.0044387c
test al, al
je 0x45d2b9
mov eax, dword [ebx + 0x84]
call fcn.00443578
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d2b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443578
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463540
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46356e
mov eax, ebx
call fcn.00463ff4
cmp dword [ebx + 0x40], 0
je 0x463567
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4635df
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4635d1
cmp dword [ebx + 8], 0
je 0x463590
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4635a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4635d1
cmp dword [ebx + 8], 0
je 0x463583
cmp eax, 3
je 0x4635b5
dec eax
jne 0x463583
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x463583
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x463583
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4635fd
cmp dword [ebx + 0x14], 0xcc
je 0x4635fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00463608
pop ebx
ret
Function at 0x474424
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x4744a2
cmp esi, ebx
je 0x4744a2
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x47451b
test esi, esi
jne 0x474524
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x474518
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x474518
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x474518
cmp eax, dword [ebx]
jne 0x474518
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x474518
cmp eax, dword [ebx + 0x110]
jne 0x474518
lea eax, [ebx + 8]
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402fdc
je 0x474524
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x47445b
xor eax, eax
test esi, esi
je 0x47458a
cmp esi, ebx
jne 0x4745a6
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00402f30
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x4745a6
test ebx, ebx
je 0x4745a6
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x476048
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476208
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403098
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x480f18], eax
mov eax, dword [ebp - 0xc]
mov dword [0x480f1c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x480f20], eax
mov eax, dword [0x48235c]
cmp dword [eax], 2
sete byte [0x4809d0]
push 0x476214
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047686c
cmp byte [0x4809d0], 0
jne 0x4760d4
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047689c
test al, al
je 0x4760d4
mov eax, dword [ebp - 0x4c]
mov dword [0x48416c], eax
jmp 0x4760db
xor eax, eax
mov dword [0x48416c], eax
call fcn.00475dc0
and eax, 0x7f
cmp eax, 0x10
ja case.0x4760ec.0
jmp dword [eax*4 + 0x4760f3]
mov byte [0x4809bc], 1
jmp case.0x4760ec.0
mov byte [0x4809c0], 1
jmp case.0x4760ec.0
mov byte [0x4809c4], 1
jmp case.0x4760ec.0
mov byte [0x4809c8], 1
jmp case.0x4760ec.0
mov byte [0x4809cc], 1
jmp case.0x4760ec.0
mov byte [0x4809d4], 1
mov byte [0x4809d8], 1
jmp case.0x4760ec.0
mov byte [0x4809d4], 1
mov byte [0x4809dc], 1
jmp case.0x4760ec.0
mov byte [0x4809d4], 1
mov byte [0x4809dc], 1
mov byte [0x4809e0], 1
jmp case.0x4760ec.0
mov byte [0x4809e4], 1
jmp case.0x4760ec.0
mov byte [0x4809e8], 1
jmp case.0x4760ec.0
mov byte [0x4809ec], 1
jmp case.0x4760ec.0
mov byte [0x4809f0], 1
jmp case.0x4760ec.0
mov byte [0x4809f4], 1
jmp case.0x4760ec.0
mov byte [0x4809f8], 1
jmp case.0x4760ec.0
mov byte [0x4809fc], 1
jmp case.0x4760ec.0
mov byte [0x480a00], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47620f
lea eax, [ebp - 4]
call fcn.00404568
ret

Function at 0x47689c
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 - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x476943
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47692d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404bb4
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47692d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x476954
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47692d
cmp dword [ebp - 8], 0x34
jne 0x47692d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47694a
lea eax, [ebp - 0x10]
call fcn.00404568
ret
Function at 0x478028
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4780fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404600
lea eax, [ebp - 8]
call fcn.00404a78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4780e6
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4780df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4780c9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47810c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4780c9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4780e6
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478103
lea eax, [ebp - 8]
call fcn.00404568
ret

Function at 0x479d88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x479dfb
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 4], edx
test al, al
je 0x479de5
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00479be4
cmp dword [ebp - 8], 0
je 0x479dda
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00414db0
test al, al
je 0x479de5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x479de5
mov eax, dword [ebp - 0xc]
call fcn.00479ce0
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479e02
lea eax, [ebp - 0xc]
call fcn.00404568
ret
Function at 0x479e9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x479f56
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x479ec5
mov eax, ebx
call fcn.00404568
jmp 0x479f40
mov ecx, ebx
lea edx, [ebp - 4]
call fcn.00479be4
cmp dword [ebp - 4], 0
je 0x479f40
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00414da4
test al, al
je 0x479f39
xor eax, eax
push ebp
push 0x479f32
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00479e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f40
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00414da4
test al, al
je 0x479f31
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00404568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f5d
lea eax, [ebp - 0xc]
call fcn.00405e78
ret

Function at 0x47b5c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47b67b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x47b606
call fcn.00404014
jmp 0x47b682
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404a28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x47b62f
call fcn.00404014
jmp 0x47b682
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47b68c
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x47b650
call fcn.00404014
jmp 0x47b682
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b682
mov eax, dword [ebp - 8]
call fcn.0040272c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret