joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465df7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465e2f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00463eae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463e86
jmp 0x465e3b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4674e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x467527
call fcn.0046d118
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467527
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46751e
xor eax, eax
jmp 0x46752f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467535
pop edi
pop esi
pop ebx
ret 4

Function at 0x46d648
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d676
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d694
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d5ae
jmp 0x46d694
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d694
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d5ae
test edi, edi
mov eax, edi
jne 0x46d67e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40a340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx - 0x74]
aad 0xc0
jne 0x40a38c
add ecx, 0xc
call dword ss:[sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
sbb byte [ebp - 0x3e], 4
xchg ebp, eax
cmp eax, 1
jne 0x40a370
mov eax, dword [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40a37f
cmp eax, 0xffffffd6
jne 0x40a358
mov ecx, dword [ecx + 0x7d]
push ecx
jge 0x40a3ca
call dword [0x2bc0b5]
test dword [edx + 0x75], edx
aad 0x8b
xor eax, sym.imp.KERNEL32.dll_GetLastError
call esi
loopne 0x40a377
ljmp 0x8005:0xd645c974
je 0x40a358
inc ebp
salc
add eax, 0x8b0afc80
pop esi
retf
nop
nop
aad 0x90
nop
push ss
adc byte [ebx - 0x2dba7456], cl
mov eax, dword [eax + 0x14]
sahf
sal byte [esi + eax*4 - 0x75], 0x4d
pop edi
xor byte [eax - 1], dl
adc eax, 0x48c028
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [0x9ac098]
call esi
xor eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 8
call esi
call 0xd0bc85
pop esi
pop ebp
ret 0x753b
xor eax, eax
pop ebp
xchg esi, eax
or byte [eax], al
mov eax, 0x22004e3b
pop ebp
mov ebx, 0x90900008
test byte [eax - 0x1e6f6f70], dl
xchg esp, eax
nop
nop
nop
nop
nop
inc eax
nop
sub edx, dword [eax - 0x6f536fd9]
nop
Function at 0x40ad90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cld
sbb eax, dword [esi + 0x78]
fldcw word [ebx]
rol dword [ebx + 0x2b48ffc9], 0xce
mov dword [edx], eax
adc dword [ebp + 0x14], eax
mov edi, dword [ebx + 3]
ror dword [ecx + 0x10f68b10], 1
test esi, esi
cmovl esi, dword [edx]
add dword [eax + 0xdb], edi
mov dword [ebp + 0x10], ecx
je 0x40ad49
mov esp, dword [edi]
sar edx, 1
invalid
mov edx, dword [ebp + 0xc]
or bl, al
aaa
pop ecx
dec dword [ebx - 0x7685f0fe]
inc ebp
cld
jle 0x40ad66
mov dl, 0xfe
invalid
cmp bl, byte [edi + 0x5e]
pop ebx
mov eax, ebp
jne 0x40acee
div byte [edx + 0x78b85e66]
adc dword [ecx], eax
mov bh, 0x5b
mov dl, 0x66
pop esi
mov eax, 0xb7011178
pop ebx
mov edx, dword [eax]
pop ebp
dec ebp
adc byte [eax], al
pop edi
pop esi
mov eax, 0x27000016
inc edi
mov esp, ebp
pop ebp
ret 0x8e
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
je 0x40ae0d
call dword [0x3b40c12c]
add byte gs:[ebx + 0x33000027], bl
rcr byte [ebp - 0x3d], 0x8b
inc ebp
adc al, 0x2b
dec ebp
adc byte [ebx + 0x51500c55], cl
push edx
call 0x4180d0
add esp, 0xc
pop ebp
bound edx, qword [eax - 0x6f6f3a58]
nop
nop
nop
nop
nop
jo 0x40ad5d
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x10
xor dl, byte [eax]
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x4dec1c
xor eax, eax
pop ebp
ret
add byte [edi], cl
cdq
or al, 0xfb
add al, 0x30
loope 0x40ae6c
adc byte [edx + 0x41f41e3], ah
cmp al, 9
jbe 0x40ae38
mov eax, dword [ebp + 0x10]
mov ebx, 0xa000000a
and eax, 0xff
cdq
mul dword [ebx + 4]
xor dl, al
add dword [ecx - 0x76], eax
ret 0x3004
add al, 0x30
mov byte [ecx], al
inc ecx
mov byte [ecx + 0x2e], 0xbf
dec edi
jne 0x40ae76
mov eax, dword [ebp + 0x57]
pop edi
pop esi
mov byte [ecx - 1], 0
pop ebx
pop ebp
ret
mov esp, ebp
pop ebp
ret 0xc
inc ebx
sbb dh, dh
les eax, [edx]
je 0x40aee2
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x40aec9
mov eax, dword [ebx]
push 0x14
push eax
xor edi, edi
call 0x88404a60
or cl, cl
mov dword [eax], edi
mov dword [eax - 0x50], edi
mov dword [eax + 8], edi
mov dword [esp + ecx - 0x76d2a826], eax
js 0x40aeb3
push edi
mov dword [ebx + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebx + 0xc]
imul eax, dword [edx + 0x10], 0xe80c439c
pushfd
inc ebx
or al, 0xe8
dec eax
adc byte [eax - 0x37], al
jne 0x40aee2
mov esi, edx
cwde
rol byte [eax + 0x53], 0xff
salc
test eax, eax
jne 0x40aed2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa50c
call [ebx - 0x7ffaa1a1]
cld
or bl, ch
pop ebx
mov eax, dword [eax]
pop ebp
ret 0x50c
dec ebx
push 0x30
add al, 0xcf
invalid
Function at 0x410960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
call fcn.00402ae0
shl eax, 1
mov dword [ebp - 8], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x410996
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4109ce
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405020
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4109cc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4109ce
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x421bc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx eax, dx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00421df0
mov ecx, dword [ebp - 0x68]
call fcn.00421d50
test eax, eax
je 0x421d3c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x421c45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__w64_long___thiscall_CListEndUserSubclass::OnMove_unsigned_int___w64_unsigned_int___w64_long_int__
push 0x12d
push str.d:_shrek_working_folderchandjit_view_tron_stability_sdui_solutioncenterpadListEndUserSubclass.h
push 0
mov ecx, 0x49d444
call fcn.00441650
push 1
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea edx, [ebp - 0x2c]
push edx
push 0
push 0x1012
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
call dword [0x49c354]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x421d1e
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00421dc0
movzx eax, al
test eax, eax
je 0x421c99
xor eax, eax
jmp 0x421d48
push 2
mov ecx, dword [ebp - 0x10]
push ecx
push 0x102c
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
push eax
call dword [0x49c354]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x2c]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x30]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x30]
add edx, eax
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x34], 2
je 0x421d1e
cmp dword [ebp - 0x38], 0
jle 0x421d1e
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.00415440
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x58], 3
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x102b
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
call dword [0x49c354]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x30], edx
push 0
mov ecx, dword [ebp - 0x68]
call fcn.0042b170
jmp 0x421d46
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0042b170
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4262b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0xc], 0x25
jne 0x4262f5
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x44]
sub eax, 1
js 0x4262e2
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x4262e9
xor eax, eax
jmp 0x426453
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004257d0
cmp dword [ebp + 0xc], 0x27
jne 0x426340
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x44]
add esi, 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.0041c0d0
sub eax, 1
cmp esi, eax
jg 0x42632d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x426334
xor eax, eax
jmp 0x426453
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004257d0
cmp dword [ebp + 0xc], 9
jne 0x426451
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4263d2
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0xc], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x42639a
mov edx, dword [ebp - 0xc]
sub edx, 1
jns 0x42638c
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.0041c0d0
sub eax, 1
mov dword [ebp - 0xc], eax
jmp 0x426398
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x44]
sub ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4263c4
mov esi, dword [ebp - 0xc]
add esi, 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.0041c0d0
cmp esi, eax
jl 0x4263b8
mov dword [ebp - 0xc], 0
jmp 0x4263c4
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x44]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004257d0
jmp 0x426451
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42641a
push 1
call dword [sym.imp.USER32.dll_GetFocus]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004090b0
mov ecx, eax
call fcn.004328e0
lea ecx, [ebp - 0x10]
call fcn.00405020
test eax, eax
je 0x426418
lea ecx, [ebp - 0x10]
call fcn.00415440
jmp 0x426451
push 0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004090b0
mov ecx, eax
call fcn.004328e0
lea ecx, [ebp - 0x14]
call fcn.00405020
test eax, eax
je 0x426451
lea ecx, [ebp - 0x14]
call fcn.00415440
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x427e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.00428620
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x42a3a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42a412
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00405030
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret
Function at 0x42c3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24], 0
je 0x42c455
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c444
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
call dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x42c44b
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], 0
lea ecx, [ebp + 8]
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c4ae
push 0
lea ecx, [ebp + 8]
call fcn.00405020
push eax
call fcn.00414e40
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x24], eax
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x42c496
push 1
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00416d50
mov byte [ebp - 0x15], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x15]
jmp 0x42c4c4
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x16]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x21], 0
push 0x20
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x20], ax
movsx eax, word [ebp - 0x20]
and eax, 0x8000
je 0x42d778
mov byte [ebp - 0x21], 1
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
je 0x42d7d4
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx edx, cx
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.0042f0c0
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42d7cd
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
je 0x42d7cd
mov ecx, dword [ebp - 0x58]
call fcn.0042e8e0
xor eax, eax
jmp 0x42d8db
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.004327e0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x228], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x22c], eax
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x21d], 1
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x3c]
call fcn.004061b0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.00408520
mov ecx, dword [ebp - 0x58]
call fcn.0042d8f0
movzx eax, al
test eax, eax
je 0x42d85c
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x264]
mov ecx, dword [ebp - 0x58]
add eax, dword [ecx + 0xc8]
cmp dword [ebp - 0x18], eax
jle 0x42d889
mov edx, dword [ebp - 0x58]
mov byte [edx + 0x21d], 0
push 0
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
jmp 0x42d8db
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x2c], eax
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x28], eax
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x2c]
xor edx, edx
sub edx, ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x220], edx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x28]
xor edx, edx
sub edx, ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x224], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42dab0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x1dc]
test ecx, ecx
je 0x42db51
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [ebp - 0x28]
call fcn.004028f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.x:__ld__y:__ld
lea edx, [ebp - 0x28]
push edx
call fcn.00412d50
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1d8
call fcn.004029a0
push 1
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00416d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402980
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x21d]
test edx, edx
jne 0x42db63
xor eax, eax
jmp 0x42dba8
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x220]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x224]
mov dword [ebp - 0x10], ecx
push 5
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00405030
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42fc80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472126
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
push 0x28
push 0x82
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004121a0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00417e70
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00417e70
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00417e70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004028f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004028f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x433c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0040db00
call fcn.00433f80
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433f60
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x433d6c
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433f60
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
je 0x433cac
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x433d53
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x433d48
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00433d80
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x49c2f8]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00433f90
add esp, 4
movzx eax, al
test eax, eax
jne 0x433d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x20]
je 0x433d46
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x433d51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x433d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433d6c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x436b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
call fcn.004028f0
mov dword [ebp - 4], 0
push 0x258
lea ecx, [ebp - 0x10]
call fcn.00403570
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436c45
push 0x258
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x29b8]
push edx
call dword [0x49c324]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00402b00
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00411970
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00402980
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00402a80
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x29c4]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x29c0]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00436cd0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x29b8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402a80
mov ecx, dword [ebp - 0x20]
or ecx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402980
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4