joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454028
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x454044
cmp dword [esi + 4], 0
je 0x454071
test byte [ebx + 0x55], 1
jne 0x454063
mov eax, ebx
call fcn.00452bc8
test eax, eax
jne 0x454063
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x454181
mov edx, esi
mov eax, ebx
call fcn.00453b4c
jmp 0x454181
push 0
call sub.USER32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.dll_ReleaseDC
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45417a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455e98
push eax
call sub.USER32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00450864
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00454028
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455e98
push eax
call sub.USER32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454181
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a8f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x498968]
cmp byte [eax + 0xc], 0
je 0x45aa65
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aa5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x499b94], 0
jne 0x45a94c
push 0x45aa6c
call sub.kernel32.dll_GetModuleHandleA
mov ebx, eax
push 0x45aa74
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x499b94], eax
cmp dword [0x497ddc], 0
jne 0x45aa47
push 0x45aa84
call sub.kernel32.dll_LoadLibraryA
mov dword [0x497ddc], eax
cmp dword [0x497ddc], 0
je 0x45aa47
push 0x45aa90
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499b98], eax
push 0x45aaa0
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499b9c], eax
push 0x45aab4
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499ba0], eax
push 0x45aacc
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499ba4], eax
push 0x45aae4
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499ba8], eax
push 0x45aaf8
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499bac], eax
push 0x45ab10
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499bb0], eax
push 0x45ab28
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499bb4], eax
push 0x45ab44
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499bb8], eax
push 0x45ab50
mov eax, dword [0x497ddc]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x499bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa65
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f570
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.004046f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45f5bf
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404968
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466dc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466e14]
test si, 4
je 0x466dd8
or bl, 1
test si, 8
je 0x466de2
or bl, 4
test si, 1
je 0x466dec
or bl, 8
test si, 2
je 0x466df6
or bl, 0x10
test si, 0x10
je 0x466e00
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x466e0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466e18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466e50]
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x466e31
or bl, 1
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x466e40
or bl, 4
test esi, 0x20000000
je 0x466e4b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46d514
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46d526
add esp, 0xfffffff0
call fcn.00403bc4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420e74
mov eax, dword [0x4984f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d8b8
mov eax, dword [0x498500]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d8c4
mov eax, ebx
call fcn.0046d8d0
push 0
call sub.USER32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418298]
call fcn.0040385c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418298]
call fcn.0040385c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418298]
call fcn.0040385c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418298]
call fcn.0040385c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418298]
call fcn.0040385c
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, 0x469ce8
push eax
push 0
push 0
mov eax, dword [0x4986c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4228f8]
call fcn.00424090
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4228f8]
call fcn.00424090
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4228f8]
call fcn.00424090
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046de1c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dc9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dc9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dc9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d663
call fcn.00403c1c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46da80
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 0x46dc2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46dc0c
mov dl, 1
mov eax, dword [0x418860]
call fcn.0040385c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46dbfb
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.0045ac58
test al, al
je 0x46dbee
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, 0x46dc3c
lea eax, [ebp - 0x254]
call fcn.0040a3cc
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x46dbee
xor eax, eax
push ebp
push 0x46dbe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46dc74
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x46dbd0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404968
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 0x46dbd0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dbee
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46daf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cea0
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 0x46dc32
lea eax, [ebp - 0x260]
call fcn.004046f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x499be0]
cmp byte [eax + 0xa5], 0
jne 0x46e62d
cmp dword [0x499bf8], 0
jne 0x46e5ee
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x46e578
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x499bf8], eax
cmp dword [0x499bf4], 0
jne 0x46e609
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x499bf4], eax
cmp dword [0x499bfc], 0
jne 0x46e62d
push esp
push 0
push 0
push 0x46e51c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x499bfc], eax
pop edx
ret
Function at 0x46ecf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x499be0]
cmp dword [eax + 0x30], 0
je 0x46ed9a
cmp dword [ebx + 0x94], 0
jne 0x46ed94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46ec80
call sub.USER32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46ed94
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 0x46ed5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46ed94
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.0041a884
push eax
call sub.USER32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46ed69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f8f8
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 0x46f92d
push 0x100
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.004047e8
jmp 0x46f93a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040474c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470aec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470b2d
mov eax, esi
call fcn.0045619c
test al, al
je 0x470b2d
mov eax, dword [ebx + 0x84]
call fcn.00455e98
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x470b2d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455e98
push eax
call sub.USER32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x471b8c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x407968]
call fcn.004052ac
xor eax, eax
push ebp
push 0x471cd0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x498020], 0
jne 0x471bdf
mov ecx, dword [0x498408]
mov dl, 1
mov eax, dword [0x407e24]
call fcn.0040d904
call fcn.004040f0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031f8
mov eax, ebx
call fcn.00404f68
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x471ce0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062ec
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f78
test eax, eax
jle 0x471c77
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x471c70
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404980
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404968
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408d8c
test eax, eax
jne 0x471c70
mov ebx, 0x15
jmp 0x471c7c
mov ebx, 0x10
jmp 0x471c7c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x498020]
call fcn.00471ae4
mov eax, dword [ebp - 8]
call fcn.00471ae4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471cd7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040471c
lea eax, [ebp - 0x10]
mov edx, dword [0x407968]
call fcn.0040537c
ret
Function at 0x474ea8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x474fbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x8000
call fcn.00402ab4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x474f98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0041b920
xor eax, eax
push ebp
push 0x474f7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x30]
call fcn.00404bb8
push eax
push 0x8000
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x474f65
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x474f5d
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004048f0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00409d58
inc eax
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x474f3b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f82
mov eax, dword [ebp - 8]
call fcn.0041b9dc
ret

Function at 0x475bc8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x475ce6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x475bfd
lea edx, [ebp - 0x18]
mov eax, dword [0x498768]
mov eax, dword [eax]
call fcn.0047049c
jmp 0x475c07
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404790
mov eax, esi
xor ecx, ecx
mov edx, 0x34
call fcn.004031f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404bb8
mov ebx, eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x475cd0
xor eax, eax
push ebp
push 0x475cc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00402ab4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475cb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x475c97
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x475cf4
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov edi, esi
mov esi, eax
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 0x475cb7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ae4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ced
lea eax, [ebp - 0x18]
call fcn.004046f8
ret
Function at 0x475cf8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x475e04
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x475d3a
lea edx, [ebp - 0x18]
mov eax, dword [0x498768]
mov eax, dword [eax]
call fcn.0047049c
jmp 0x475d44
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404790
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404bb8
mov ebx, eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x475dde
mov eax, dword [ebp - 0xc]
call fcn.00408af0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x475dd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x475e1c
call fcn.00404a04
mov eax, dword [ebp - 0x20]
call fcn.00404bb8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.dll_VerQueryValueA
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.004048f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475dde
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00402ae4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e0b
lea eax, [ebp - 0x20]
call fcn.004046f8
lea eax, [ebp - 0x18]
call fcn.004046f8
lea eax, [ebp - 4]
call fcn.004046f8
ret

Function at 0x478008
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4780d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [0x498798]
push dword [eax]
mov eax, dword [0x49861c]
push dword [eax]
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00476050
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00475e38
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x4780e8
call fcn.0040a464
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404a78
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
push 0x478100
mov eax, dword [0x498768]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4780d9
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040471c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret
Function at 0x478108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47820d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00476050
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00475e38
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
call fcn.0047838c
and eax, 0x7f
mov eax, dword [eax*4 + 0x498144]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x38]
call fcn.004785d0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x3c]
call fcn.004785a8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x2c]
mov ecx, 4
mov eax, 0x478220
call fcn.0040a464
push 1
push 0
push 0
mov eax, dword [0x498798]
push dword [eax]
mov eax, dword [0x498710]
push dword [eax]
push dword [ebp - 4]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404a78
mov eax, dword [ebp - 0x40]
call fcn.00404bb8
push eax
push 0x478250
mov eax, dword [0x498768]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478214
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.0040471c
lea eax, [ebp - 4]
call fcn.004046f8
ret

Function at 0x48afe8
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov esi, eax
mov eax, esi
call fcn.004046f8
call fcn.0048afa0
test al, al
je 0x48b009
mov ebx, 0x23
jmp 0x48b00e
mov ebx, 0x1a
push esp
push ebx
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
call fcn.00407a60
test al, al
je 0x48b04c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.SHELL32.dll_SHGetPathFromIDList
test eax, eax
je 0x48b043
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404968
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
add esp, 0x10c
pop esi
pop ebx
ret