joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421490
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x421522
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x421514
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x42150c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4214d5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x422a60
Capabilities:
Get file size

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x422a6e
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.00423f20
add esp, 4
test eax, eax
jne 0x422a80
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi]
or eax, 0xffffffff
cmp ecx, 1
jne 0x422a9b
mov esi, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop esi
ret
cmp ecx, 2
jne 0x422aa8
mov ecx, dword [esi + 4]
call fcn.00423f10
pop esi
ret

Function at 0x422d50
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x422d63
xor eax, eax
pop esi
add esp, 8
ret
push esi
call fcn.00423f20
add esp, 4
test eax, eax
jne 0x422d75
pop esi
add esp, 8
ret
mov eax, dword [esi]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x422dec
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x422e1e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x422dd8
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x422da8
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x422e1e
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x422e1e
lea edi, [esp + 0x2c]
lea ebx, [eax - 1]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, esi
call dword [edx + 0x24]
add edi, 0xc
dec ebx
jne 0x422e07
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4259d0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x425a1a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x425a49
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x425a8b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4019f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401a09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401a44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401a40
lea ebx, [ebx]
cmp esi, eax
jae 0x401a44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401a30
cmp esi, eax
jb 0x401a4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40d070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e4ace
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Common::Config::CGraphResImpl.0
call fcn.0040ff60
mov dword [esi + 0xc], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0xc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xc]
mov dword [eax], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 8], eax
mov dword [esi + 0x10], edi
mov byte [esp + 0x18], bl
call fcn.0040ff60
mov dword [esi + 0x18], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esi + 0x1c], edi
mov byte [esp + 0x18], 2
call fcn.0040ff60
mov dword [esi + 0x24], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x40eed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5e48c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x83
call fcn.0040ce40
mov edi, dword [esp + 0x18]
test edi, edi
mov ebx, dword [esi + 4]
je 0x40ef1d
cmp edi, esi
je 0x40ef22
call fcn.0044b7ad
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
je 0x40ef54
test edi, edi
jne 0x40ef33
call fcn.0044b7ad
cmp ebp, dword [edi + 4]
jne 0x40ef3d
call fcn.0044b7ad
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call fcn.00441213
mov edi, dword [eax + 0xc]
push 0xa
push 0x83
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40f01a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f01a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
mov ebx, eax
je 0x40f01a
test ebx, ebx
je 0x40f01a
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40f01a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40f013
push ebx
push ebp
push eax
call fcn.00450150
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esp + 0x18], edi
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x30], 0
call fcn.0040f500
mov esi, eax
mov eax, dword [esi]
cmp eax, edi
je 0x40effb
test eax, eax
je 0x40effb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov dword [esi], edi
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x412c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e3bd9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [ebp], 0
mov ecx, 1
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
call fcn.004128a0
mov byte [esp + 0x28], 2
mov eax, dword [eax]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], esp
mov dword [ecx], eax
je 0x412c81
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x34]
call fcn.00406920
test eax, eax
jge 0x412c9b
cmp eax, 0x80004002
je 0x412c9b
push eax
call fcn.00463e60
mov edi, dword [esp + 0x30]
test edi, edi
je 0x412cb9
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov esi, edi
push edi
mov dword [esp + 0x18], esi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x412cce
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jne 0x412ce7
push esi
push 0x80004005
call fcn.00464160
push 0x80004003
call fcn.00463e60
push 0
mov ecx, ebp
call fcn.00412fe0
mov eax, dword [ebp]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push eax
push esi
call edx
test eax, eax
jge 0x412d08
push 0
push eax
call fcn.00464160
mov byte [esp + 0x28], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
Function at 0x412e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e3b60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x18]
push edx
call fcn.004128a0
mov byte [esp + 0x24], 1
mov eax, dword [eax]
cmp eax, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], esp
mov dword [ecx], eax
je 0x412ea0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x34]
call fcn.00406920
cmp eax, ebx
jge 0x412eba
cmp eax, 0x80004002
je 0x412eba
push eax
call fcn.00463e60
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x412ed8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov esi, edi
push edi
mov dword [esp + 0x30], esi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x412eec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x412efb
push ebx
push 0x80004005
call fcn.00464160
mov edi, ebx
cmp edi, esi
mov dword [ebp], vtable.Common::Config::CXMLElement.0
mov dword [ebp + 4], ebx
je 0x412f26
cmp esi, ebx
mov dword [ebp + 4], esi
je 0x412f1a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
cmp edi, ebx
je 0x412f26
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
cmp esi, ebx
mov dword [esp + 0x24], 0xffffffff
je 0x412f3a
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x41e260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
je 0x41e2e5
cmp dword [esi + 8], 0
je 0x41e2e5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0041f7c0
mov edx, dword [esp + 0xc]
xor eax, eax
test edi, edi
setle al
push edx
add eax, 8
push eax
call fcn.0041fd20
test al, al
jne 0x41e2e5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
movzx ebx, ax
mov eax, dword [edx + 0x6c]
shr ebx, 0xf
and bl, 1
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
call eax
test al, al
je 0x41e2e0
mov eax, dword [esi + 4]
xor ecx, ecx
test edi, edi
setg cl
xor edx, edx
add ecx, 9
test bl, bl
sete dl
push edx
push eax
xor eax, eax
call fcn.00419c00
call fcn.0041f3d0
pop esi
pop ebx
ret 0xc
Function at 0x4257a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push edi
call fcn.00426f70
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esi + 8], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov al, byte [ebp + 0xc]
xor edi, edi
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], al
lea eax, [esp + 0x10]
push eax
mov dword [esi], vtable.SX_PDF_LIB::QuickViewer::CCacheImpl.0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esp + 0x14], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x425860
mov ecx, dword [esp + 0x18]
fnstcw word [esp + 6]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0xc], eax
fild qword [esp + 8]
and ecx, 0x80000000
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
fild qword [esp + 8]
movzx eax, word [esp + 6]
or eax, 0xc00
mov dword [esp + 8], eax
fchs
faddp st(1)
fimul dword [esi + 0x14]
fdiv qword [0x659f58]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esi + 0x20], edx
fldcw word [esp + 6]
mov eax, esi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42d87c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42d8b5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004293fa
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004279f4
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42eff9
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x6581a8
mov ecx, edi
call fcn.0042803f
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42f04c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42f05f
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004293fa
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004279f4
jmp 0x42f05f
mov ecx, esi
call fcn.0043258b
test eax, eax
je 0x42f05f
push edi
mov ecx, eax
call fcn.0042d87c
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8
Function at 0x42f640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42f683
call fcn.00430621
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42f683
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42f69e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042f1fa
test ebx, ebx
mov esi, eax
je 0x42f69c
test edi, edi
je 0x42f69c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43286a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5cb4b8
call fcn.0044c332
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43288f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4328db
call fcn.00429496
push eax
lea ecx, [ebp - 0x10]
call fcn.00429694
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004369b2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401600
mov eax, esi
call fcn.0044c3d1
ret 8

Function at 0x43cac7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00430621
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43cafe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0043c6d9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x43da6f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x680f10]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x43daac
push 0x5eb4c0
push 4
push eax
call fcn.0044bb42
push eax
call fcn.00401a60
add esp, 0x10
jmp 0x43dabe
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43db29
push edi
call fcn.0044df1c
mov edi, dword [eax]
call fcn.0044df1c
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0044bcb5
add esp, 0x18
mov ebx, eax
call fcn.0044df1c
cmp dword [eax], 0
je 0x43db09
call fcn.0044df1c
push dword [eax]
call fcn.00429856
pop ecx
jmp 0x43db10
call fcn.0044df1c
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x43db29
cmp ebx, esi
jae 0x43db29
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x43db2b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044abb9
leave
ret
Function at 0x44463d
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 0x44466b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x444689
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004445a7
jmp 0x444689
mov eax, dword [esi + 0x14]
test eax, eax
je 0x444689
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004445a7
test edi, edi
mov eax, edi
jne 0x444673
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x68ce68]
test ecx, ecx
je 0x44474c
jmp 0x44463c
ret 8

Function at 0x44abb9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x680f10]
jne 0x44abc3
repz ret
jmp fcn.0044ff41

Function at 0x44ed66
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x6810a0]
je 0x44ed81
inc edi
cmp edi, 0x17
jb 0x44ed72
cmp edi, 0x17
jae 0x44ef01
push ebp
push 3
call fcn.00458da7
cmp eax, 1
pop ecx
je 0x44eecd
push 3
call fcn.00458da7
test eax, eax
pop ecx
jne 0x44edb5
cmp dword [0x680ec4], 1
je 0x44eecd
cmp ebx, 0xfc
je 0x44ef00
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x68cf20
push ebp
call fcn.00450948
add esp, 0xc
test eax, eax
je 0x44edeb
push esi
push esi
push esi
push esi
push esi
call fcn.0044b68d
add esp, 0x14
push 0x104
mov esi, 0x68cf39
push esi
push 0
mov byte [0x68d03d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44ee2f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00450948
add esp, 0xc
test eax, eax
je 0x44ee2f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044b68d
add esp, 0x14
push esi
call fcn.004509b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44ee74
push esi
call fcn.004509b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x68d234
push 0x5ed16c
sub ecx, eax
push ecx
push eax
call fcn.00458cf4
add esp, 0x14
test eax, eax
je 0x44ee74
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044b68d
add esp, 0x14
jmp 0x44ee76
xor esi, esi
push 0x5ed168
push ebx
push ebp
call fcn.00458c83
add esp, 0xc
test eax, eax
je 0x44ee96
push esi
push esi
push esi
push esi
push esi
call fcn.0044b68d
add esp, 0x14
push dword [edi*8 + 0x6810a4]
push ebx
push ebp
call fcn.00458c83
add esp, 0xc
test eax, eax
je 0x44eeb8
push esi
push esi
push esi
push esi
push esi
call fcn.0044b68d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00458ac6
add esp, 0xc
jmp 0x44ef00
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44ef00
cmp ebp, 0xffffffff
je 0x44ef00
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x6810a4]
push dword [esi]
call fcn.004509b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret