joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ddbc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ddea
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40ddf0
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40e578
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040e3c0
mov eax, dword [0x4b0ccc]
cmp byte [eax], 0
je 0x40e60b
mov eax, dword [0x4b0a50]
call fcn.004031a0
call fcn.0040289c
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.0040b060
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40e650
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e641
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x4b09e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b1660]
call fcn.00406548
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40f018
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f0f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004054d0
lea eax, [ebp - 0xc]
call fcn.00405948
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004058f8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40f0e0
mov eax, dword [ebp - 0x10]
call fcn.00402734
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40f0d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004058f8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f0c3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40f104
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f0c3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0e0
mov eax, dword [ebp - 0x18]
call fcn.00402754
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0fd
lea eax, [ebp - 0xc]
call fcn.00405438
ret
Function at 0x40f73c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f7a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.004056a8
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a6b4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f7ad
lea eax, [ebp - 0x14]
call fcn.00405438
ret

Function at 0x41069c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405438
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004058f8
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4106f4
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 8]
call fcn.00405a84
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004058f8
push eax
mov eax, dword [ebp - 4]
call fcn.004058f8
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov esp, ebp
pop ebp
ret

Function at 0x4111dc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x411206
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
dec eax
cmp byte [eax], 0
jne 0x4111f7
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x4111f7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsA
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x411224
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4112bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
cmp dword [ebp - 4], 0
jle 0x4112a9
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 1
jmp 0x411275
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
dec eax
cmp byte [eax], 0
jne 0x411266
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jge 0x411285
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x411266
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0040b2d8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, 0xff
call fcn.004056d4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4112c6
lea eax, [ebp - 0x18]
call fcn.00405438
ret
Function at 0x411460
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
xor ecx, ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4115ee
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00407248
mov edx, dword [0x4ae398]
mov dword [eax + 0xc], edx
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [0x4b17ac], eax
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.004036cc
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
mov word [ebp - 0x220], 1
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x22
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 0xc]
call fcn.0040b0e0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x22
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x20
inc dword [ebp - 0xc]
lea eax, [ebp - 0x264]
mov edx, dword [ebp - 8]
call fcn.0040569c
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0xc]
call fcn.0040b114
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 4]
call fcn.0040569c
mov edx, dword [ebp - 0x268]
lea eax, [ebp - 0x10c]
call fcn.0040b114
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4115bb
mov eax, dword [ebp - 0x25c]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00407248
cmp dword [eax + 0xc], 0
jne 0x4115ad
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x411598
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4115c5
call sub.kernel32.dll_GetLastError_1
call fcn.00410df0
mov eax, dword [0x4b17ac]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4115f5
lea eax, [ebp - 0x268]
mov edx, 2
call fcn.0040545c
ret
Function at 0x41db8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x41dbc2
push ebp
call fcn.0041db1c
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x41dbe8
push ebp
call fcn.0041db1c
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.0041d750
mov esp, ebp
pop ebp
ret 4

Function at 0x422d58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x4b18b8], 0
jne 0x422e05
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x4b18b4]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4ae728
mov ecx, 2
call fcn.00402ae8
mov edx, 0x422d14
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422d34
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.00422d34
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x4b18b8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4b18b8], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x422dbf
mov eax, dword [ebp - 8]
mov dword [0x4b18b4], eax
mov eax, dword [0x4b18b8]
mov dword [ebp - 4], eax
mov eax, dword [0x4b18b8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x4b18b8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x424068
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42406e
ret
Function at 0x4301dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.004036cc
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004058f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0042fe60
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x4302f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004058f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43035a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x4b0e60]
mov dl, 1
mov eax, dword [0x42fcd0]
call fcn.0040e774
call fcn.00404df8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0042fe60
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x4321c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x4320f8
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

Function at 0x43233c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4323c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00431cc0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x432368
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00431830
cmp dword [ebp - 0xc], 0
je 0x4323af
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.004058f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4323cc
lea eax, [ebp - 0xc]
call fcn.00405438
ret
Function at 0x435484
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4b1b84], 0
je 0x4355df
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4b0c48]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4355df
mov eax, dword [0x4b1b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4b1b84]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4355ae
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4b1b84]
call fcn.0041ab4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4355a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4355a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4355a2
mov eax, dword [ebp - 0x14]
call fcn.00440928
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4355a2
push ebp
call fcn.00435438
pop ecx
test al, al
jne 0x4355a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43555e
mov eax, dword [ebp - 0x14]
call fcn.0043ed28
dec eax
jle 0x4355a2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00404880
cmp byte [ebp - 1], 0
je 0x4355a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4355a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4b1b88]
call fcn.00434900
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4354f0
mov eax, dword [0x4b1b88]
cmp dword [eax + 8], 0
jle 0x4355c6
mov eax, dword [0x4b1b88]
call fcn.004349ac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4355df
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435274
pop ecx
test al, al
jne 0x4355df
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439c4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x439c9f
mov eax, dword [ebp - 0x14]
call fcn.00453ba4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x439c9f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x439c9f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x439e2e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x439ce8
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x439ce8
mov eax, dword [ebp - 0x14]
call fcn.00453ba4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x439e23
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x439e2e
jmp 0x439e23
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x439dfe
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x439dfe
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x439d2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x439d25
sub eax, 3
je 0x439d25
sub eax, 3
jne 0x439d2b
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x439d42
dec eax
je 0x439d59
dec eax
je 0x439d80
dec eax
je 0x439d59
jmp 0x439d8d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4b0c48]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0045f514
jmp 0x439e23
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x439d73
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00404880
jmp 0x439e2e
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x439e23
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x439e23
mov eax, dword [0x4b1b40]
cmp byte [eax + 0x20], 0
je 0x439e23
mov eax, dword [0x4b1b40]
cmp dword [eax + 0x1c], 0
je 0x439e23
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4b1b40]
cmp eax, dword [edx + 0x1c]
jne 0x439e23
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00453ac0
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00404880
jmp 0x439e2e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x439e23
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00437d80
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e09c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x43e0bd
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43e0f2
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43e0e2
mov eax, dword [ebp - 4]
call fcn.0043c720
test eax, eax
jne 0x43e0e2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43e21c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043da70
jmp 0x43e21c
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43e215
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00440928
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00439b00
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043e09c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00440928
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e21c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret