joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d5b4
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 0x43d5d0
cmp dword [esi + 4], 0
je 0x43d5fd
test byte [ebx + 0x55], 1
jne 0x43d5ef
mov eax, ebx
call fcn.0043c20c
test eax, eax
jne 0x43d5ef
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d70d
mov edx, esi
mov eax, ebx
call fcn.0043d0d4
jmp 0x43d70d
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 0x43d706
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f384
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.00439eb8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d5b4
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.0043f384
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d70d
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 0x443c34
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x461200]
cmp byte [eax + 0xc], 0
je 0x443da1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443d9a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x462be4], 0
jne 0x443c88
push 0x443da8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443db0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462be4], eax
cmp dword [0x460b78], 0
jne 0x443d83
push 0x443dc0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x460b78], eax
cmp dword [0x460b78], 0
je 0x443d83
push 0x443dcc
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462be8], eax
push 0x443ddc
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bec], eax
push 0x443df0
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf0], eax
push 0x443e08
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf4], eax
push 0x443e20
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf8], eax
push 0x443e34
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bfc], eax
push 0x443e4c
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c00], eax
push 0x443e64
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c04], eax
push 0x443e80
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c08], eax
push 0x443e8c
mov eax, dword [0x460b78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443da1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4485e4
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.00404678
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448633
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.004048e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450474
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4504c4]
test si, 4
je 0x450488
or bl, 1
test si, 8
je 0x450492
or bl, 4
test si, 1
je 0x45049c
or bl, 8
test si, 2
je 0x4504a6
or bl, 0x10
test si, 0x10
je 0x4504b0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4504bf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4504c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450500]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4504e1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4504f0
or bl, 4
test esi, 0x20000000
je 0x4504fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456b04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456b16
add esp, 0xfffffff0
call fcn.00403c70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d9b4
mov eax, dword [0x460f08]
mov dword [eax + 4], ebx
mov dword [eax], 0x456ea8
mov eax, dword [0x460f14]
mov dword [eax + 4], ebx
mov dword [eax], 0x456eb4
mov eax, ebx
call fcn.00456ec0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
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, 0x453388
push eax
push 0
push 0
mov eax, dword [0x461044]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f3d4]
call fcn.00420aa8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f3d4]
call fcn.00420aa8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f3d4]
call fcn.00420aa8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004572e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4571bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4571bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4571bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456c53
call fcn.00403cc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456fa0
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 0x45714b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45712c
mov dl, 1
mov eax, dword [0x413e50]
call fcn.004038dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404678
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45711b
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.00443f94
test al, al
je 0x45710e
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, 0x45715c
lea eax, [ebp - 0x254]
call fcn.0040953c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45710e
xor eax, eax
push ebp
push 0x457107
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 0x457194
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4570f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e0
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 0x4570f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45710e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457011
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417fb8
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 0x457152
lea eax, [ebp - 0x260]
call fcn.00404678
ret

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

Disassembly:
push ecx
mov eax, dword [0x462c28]
cmp byte [eax + 0xa5], 0
jne 0x457af1
cmp dword [0x462c40], 0
jne 0x457ab2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457a3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x462c40], eax
cmp dword [0x462c3c], 0
jne 0x457acd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x462c3c], eax
cmp dword [0x462c44], 0
jne 0x457af1
push esp
push 0
push 0
push 0x4579e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x462c44], eax
pop edx
ret
Function at 0x457be8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457bff
add esp, 0xfffffff0
call fcn.00403c70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d9b4
mov eax, dword [0x461034]
cmp word [eax + 2], 0
jne 0x457c27
mov eax, dword [0x461034]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004592ac
mov eax, dword [0x4610c0]
cmp word [eax + 2], 0
jne 0x457c41
mov eax, dword [0x4610c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004594a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413960]
call fcn.004038dc
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], 0x80000018
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 [0x41fe54]
call fcn.00427300
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457dc8
mov eax, dword [0x460f68]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004276d0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459a24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x460f68]
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.0040cb8c
test eax, eax
je 0x457d36
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e84
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbb4
test eax, eax
je 0x457d4a
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.004048e0
mov eax, dword [0x460e60]
cmp byte [eax], 0
jne 0x457d7e
mov eax, ebx
call fcn.00457ef0
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.00459c00
mov eax, ebx
call fcn.0045a540
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457dbe
call fcn.00403cc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458164
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462c28]
cmp dword [eax + 0x30], 0
je 0x45820e
cmp dword [ebx + 0x94], 0
jne 0x458208
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4580f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458208
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 0x4581ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458208
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.00416000
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4581dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458cec
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 0x458d21
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.00404768
jmp 0x458d2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459ddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459e1d
mov eax, esi
call fcn.0043f688
test al, al
je 0x459e1d
mov eax, dword [ebx + 0x84]
call fcn.0043f384
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459e1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f384
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4e02c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
push edi
or ebp, 0xffffffff
jmp 0x4e02e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e02e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e02d8
mov eax, 1
add ebx, ebx
jne 0x4e02fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e030c
jne 0x4e032b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e032b
dec eax
add ebx, ebx
jne 0x4e0318
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e02f0
add ebx, ebx
jne 0x4e0327
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e037d
xor ecx, ecx
sub eax, 3
jb 0x4e0343
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e03b2
sar eax, 1
mov ebp, eax
jmp 0x4e034e
add ebx, ebx
jne 0x4e034e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e031c
inc ecx
add ebx, ebx
jne 0x4e035c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e031c
add ebx, ebx
jne 0x4e0369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e035e
jne 0x4e037a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e035e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e039c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e038e
jmp 0x4e02de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e039c
add edi, ecx
jmp 0x4e02de
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e03ba
cmp byte [edi], 6
jne 0x4e03ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4e03bf
lea edi, [esi + 0xde000]
mov eax, dword [edi]
or eax, eax
je 0x4e042e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2664]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe26a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e03ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe26a4]
or eax, eax
je 0x4e0428
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0409
call dword [esi + 0xe26ac]
mov ebp, dword [esi + 0xe26a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e0462
sub esp, 0xffffff80
jmp 0x403861
Function at 0x40275a
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push ebx
push ebx
push 0x44a754
call main
mov dword [esi + 0xc], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 0xc]
push dword [eax + 0x2c]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov edi, ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4027a4
cmp dword [ecx + 0x20], ebx
je 0x4027a6
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x2c]
pop edi
mov dword [esi + 0x14], eax
pop esi
pop ebx
ret
mov ecx, ebx
cmp edi, 0x14
jge 0x402794
push 0x64
inc edi
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x402788

Function at 0x402a63
Capabilities:
Get file version info

Disassembly:
push 0x40
mov eax, 0x4468d7
call fcn.00427f9e
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], edi
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call main
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x38]
push dword [ebp + 0xc]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x402ad4
push dword [ebp + 0xc]
push str.Unable_to_get__s_file_version._n
push 0x461d14
call main
add esp, 0xc
mov ecx, 0x461c48
call fcn.0040c3c8
push ebx
call fcn.0040e79d
pop ecx
jmp 0x402ba1
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], edi
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
push 0x44a904
push ebx
call sub.version.dll_VerQueryValueW
mov ecx, dword [ebp - 0x3c]
push ebx
movzx eax, word [ecx + 0xa]
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x14], eax
call fcn.0040e79d
pop ecx
lea eax, [ebp - 0x40]
mov edi, 0x44ac90
push eax
push edi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 8]
call main
mov byte [ebp - 4], 2
lea esi, [ebp - 0x30]
push 0x44a2e8
push dword [ebp - 0x34]
call main
pop ecx
pop ecx
test eax, eax
je 0x402b80
push dword [ebp - 0x34]
call main
pop ecx
mov dword [esi], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push edi
lea eax, [ebp - 0x48]
push eax
call main
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call main
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.004017a5
add esi, 4
jmp 0x402b30
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.004017a5
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call main
neg eax
sbb edi, edi
neg edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017a5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017a5
mov eax, edi
call fcn.00427f48
ret 8
Function at 0x40334f
Capabilities:
Identify system language via api

Disassembly:
push 0x68
mov eax, 0x446a43
call fcn.00427f9e
mov dword [ebp - 0x74], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
call fcn.0040e19e
push eax
lea ecx, [ebp - 0x68]
call main
push dword [ebx]
and dword [ebp - 4], 0
call main
pop ecx
mov ecx, 0x461c48
mov ebx, eax
call fcn.00409f41
push ebx
mov ecx, 0x461c48
movzx esi, ax
call main
test eax, eax
je 0x4033eb
mov ebx, dword [ebp - 0x6c]
push ecx
mov esi, esp
mov dword [ebp - 0x70], esi
mov eax, dword [ebx]
sub eax, 0x10
push eax
call main
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, 0x461c48
lea eax, [ebp - 0x64]
push eax
call fcn.0040aa31
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call main
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004017a5
jmp 0x4034fe
movzx ecx, bx
mov edx, 0x3ff
mov eax, ecx
mov dword [ebp - 0x64], 4
and eax, edx
cmp ax, word [ebp - 0x64]
jne 0x403457
mov eax, esi
and eax, edx
cmp ax, word [ebp - 0x64]
jne 0x403457
shr cx, 0xa
and esi, 0xfc00
movzx eax, cx
mov ecx, 0x800
cmp si, cx
jne 0x403431
mov esi, 0x44afe8
mov ecx, 0x44aff8
jmp 0x40343b
mov esi, 0x44b008
mov ecx, 0x44b018
cmp eax, 2
cmovne esi, ecx
push esi
call main
pop ecx
push eax
push esi
lea ecx, [ebp - 0x68]
call main
jmp 0x4034fb
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4034fb
lea eax, [ebp - 0x64]
push eax
push 0x4536cc
push 0x17
push 0
push 0x4536dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4034f5
push 0x50
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00428c30
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov esi, dword [eax]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
mov ecx, dword [esi + 0x40]
movzx eax, ax
push eax
push ebx
push dword [ebp - 0x64]
call dword [0x44955c]
call dword [esi + 0x40]
test eax, eax
js 0x4034e2
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x70]
call fcn.004018b9
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call main
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004017a5
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x44955c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
cmp dword [esi - 0xc], 0
jne 0x403516
mov ecx, dword [ebp - 0x74]
push ebx
push edi
call fcn.004032d1
lea ecx, [esi - 0x10]
jmp 0x403527
add esi, 0xfffffff0
push esi
call main
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004017a5
mov eax, edi
call fcn.00427f48
ret 8