joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4067f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4721fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004555b0
push 4
mov dword [esp + 0x20], 0
call fcn.0041d553
mov edi, eax
add esp, 4
test edi, edi
je 0x40686e
call fcn.004553b1
mov dword [edi], eax
call fcn.004551df
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00455501
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406863
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00455529
jmp 0x406870
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c4f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47337b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x100
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40c63e
xor edx, edx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c570
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00407630
mov ebx, 8
mov eax, esi
mov dword [esp + 0x260], 0
call fcn.0040d700
cmp eax, 0xffffffff
je 0x40c62b
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x40c5bb
lea eax, [esp + 0x34]
add eax, 0x10
call fcn.0040eb60
mov ecx, dword [0x4ced14]
mov esi, eax
mov eax, dword [0x4ced18]
push 0
add esi, 0x3980000
push eax
mov edx, esi
push ecx
shr edx, 0x10
push edx
call fcn.004028e0
test eax, eax
je 0x40c5f1
push esi
call fcn.00402870
jmp 0x40c5f3
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c30
cmp dword [eax + 0x18], ebx
jb 0x40c609
mov eax, dword [eax + 4]
jmp 0x40c60c
add eax, 4
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x2c], ebx
jb 0x40c62b
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d58d
add esp, 4
cmp dword [esp + 0x48], ebx
jb 0x40c63e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041d58d
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0043bc1b
mov esp, ebp
pop ebp
ret
Function at 0x410a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4721fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004555b0
push 4
mov dword [esp + 0x20], 0
call fcn.0041d553
mov edi, eax
add esp, 4
test edi, edi
je 0x410a8e
call fcn.004553b1
mov dword [edi], eax
call fcn.004551df
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00455501
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x410a83
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00455529
jmp 0x410a90
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x415a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push ebx
push edi
push 0
push 0
push 0
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x47a600
push ebx
call ecx
test eax, eax
jne 0x415b23
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
shr eax, 2
lea edx, [eax + eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
push 4
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x415b17
lea ecx, [esp + 0xc]
push ecx
push ebx
push esi
push 0x415a10
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x415b17
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi], ebx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4164e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, ecx
cmp dword [ebx + 0xd4], 0
push esi
push edi
je 0x41666a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x74], 0x1f40
mov dword [esp + 0x78], 0x2b11
mov dword [esp + 0x7c], 0x5622
mov dword [esp + 0x80], 0xac44
mov dword [esp + 0x84], 0xbb80
mov dword [esp + 0x88], 0x17700
call fcn.00417360
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + eax*4 + 0x70]
cmp dword [ebx + 0x58], edi
ja 0x41664d
cmp edi, dword [ebx + 0x5c]
ja 0x41664d
mov eax, dword [ebx + 0x54]
test eax, 0x400
je 0x4165ae
test eax, 0x100
je 0x4165ae
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
push esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], edi
call fcn.00417180
mov eax, dword [ebx + 0x54]
test eax, 0x400
je 0x4165e3
test eax, 0x200
je 0x4165e3
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 8
mov dword [esp + 0x30], edi
call fcn.00417180
mov eax, dword [ebx + 0x54]
test eax, 0x800
je 0x416618
test eax, 0x100
je 0x416618
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x3c], edi
call fcn.00417180
mov eax, dword [ebx + 0x54]
test eax, 0x800
je 0x41664d
test eax, 0x200
je 0x41664d
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], edi
call fcn.00417180
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 6
jb 0x416563
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41af40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x204
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
mov ebp, dword [esp + 0x210]
push esi
push edi
xor ecx, ecx
lea edx, [esp + 0x10]
mov eax, ecx
shl eax, 8
movzx eax, ax
mov esi, 8
test eax, 0x8000
je 0x41af85
add eax, eax
xor eax, 0x1021
movzx eax, ax
jmp 0x41af87
add eax, eax
sub esi, 1
jne 0x41af72
mov word [edx], ax
inc ecx
mov eax, 0xff
add edx, 2
cmp cx, ax
jbe 0x41af65
movzx edi, word [ebp + 0xc]
xor eax, eax
xor ecx, ecx
mov word [ebp + 0xc], cx
lea ecx, [ebp + 2]
mov esi, 0x8e
movzx ebx, byte [ecx - 2]
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 1]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
add ecx, 6
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 6]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 5]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 4]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 3]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
shl eax, 8
xor edx, ebx
xor ax, word [esp + edx*2 + 0x10]
sub esi, 1
movzx eax, ax
jne 0x41afb1
mov ecx, dword [esp + 0x210]
mov word [ebp + 0xc], di
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
not eax
call fcn.0043bc1b
add esp, 0x204
ret 4
Function at 0x41b6d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473218
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edi, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0041b5f0
push 0xc
push str.settings.dat
mov eax, edi
call fcn.0040dbd0
mov eax, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x41b747
lea eax, [esp + 0x10]
push 0x486948
push eax
call fcn.0043cc72
mov esi, eax
add esp, 8
test esi, esi
je 0x41b907
push esi
push 1
push 0x354
push 0x4ce3c0
call fcn.0043cf29
push esi
call fcn.0043d1a1
add esp, 0x14
cmp dword [0x4ce3c0], 0x46434557
jne 0x41b907
cmp dword [0x4ce3c4], 2
jne 0x41b907
cmp dword [0x4ce3c8], 0x354
jb 0x41b907
push 0x4ce3c0
call fcn.0041af40
cmp word [0x4ce3cc], ax
jne 0x41b907
mov eax, dword [0x4ce4f4]
mov ecx, dword [0x4ce4f8]
mov edx, dword [0x4ce4fc]
mov dword [0x4cdec8], eax
mov eax, dword [0x4ce500]
mov dword [0x4cdecc], ecx
mov ecx, dword [0x4ce504]
mov dword [0x4cded0], edx
mov edx, dword [0x4ce508]
mov dword [0x4cded4], eax
mov eax, dword [0x4ce50c]
mov dword [0x4cded8], ecx
mov ecx, dword [0x4ce510]
mov dword [0x4cdedc], edx
mov edx, dword [0x4ce514]
mov dword [0x4cdee0], eax
mov eax, dword [0x4ce518]
mov dword [0x4cdee4], ecx
mov ecx, dword [0x4ce51c]
mov dword [0x4cdee8], edx
mov edx, dword [0x4ce520]
mov dword [0x4cdeec], eax
mov eax, dword [0x4ce524]
mov dword [0x4cdef0], ecx
mov ecx, dword [0x4ce528]
mov dword [0x4cdef4], edx
mov edx, dword [0x4ce52c]
mov dword [0x4cdef8], eax
mov eax, dword [0x4ce530]
mov dword [0x4cdefc], ecx
mov ecx, dword [0x4ce534]
mov dword [0x4cdf00], edx
mov edx, dword [0x4ce538]
mov dword [0x4cdf04], eax
mov eax, dword [0x4ce53c]
mov dword [0x4cdf08], ecx
mov ecx, dword [0x4ce540]
mov dword [0x4cdf0c], edx
mov edx, dword [0x4ce544]
mov dword [0x4cdf10], eax
mov eax, dword [0x4ce548]
mov dword [0x4cdf14], ecx
mov ecx, dword [0x4ce54c]
mov dword [0x4cdf18], edx
mov edx, dword [0x4ce550]
mov dword [0x4cdf1c], eax
mov eax, dword [0x495494]
mov dword [0x4cdf20], ecx
mov ecx, dword [0x495498]
mov dword [0x4cdf24], edx
mov edx, dword [0x49549c]
mov dword [0x4cdf28], eax
mov dword [0x4cdf2c], ecx
mov dword [0x4cdf30], edx
cmp dword [esp + 0x24], edi
jb 0x41b903
mov eax, dword [esp + 0x10]
push eax
call fcn.0041d58d
add esp, 4
mov al, 1
jmp 0x41b91c
cmp dword [esp + 0x24], edi
jb 0x41b91a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041d58d
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043bc1b
add esp, 0x2c
ret
Function at 0x41c880
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x44
push str.GlobalMemoryStatusEx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c8cb
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x40
call eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
add esp, 0x44
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], 0
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0
add esp, 0x44
ret

Function at 0x41cf90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x318
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x314], eax
push 0
push 0x485a03
mov ecx, esi
call fcn.00407360
lea eax, [esp + 4]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41d047
lea ecx, [esp]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0
push 0
push 0x104
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x120]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x41d047
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d031
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00407360
mov ecx, dword [esp + 0x314]
xor eax, eax
cmp eax, dword [esi + 0x14]
sbb eax, eax
xor ecx, esp
neg eax
call fcn.0043bc1b
add esp, 0x318
ret

Function at 0x41d070
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.0043ecf0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x41d0ca
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0043bc1b
add esp, 0x118
ret
jne 0x41d0eb
xor eax, eax
cmp dword [esp + 8], eax
setne al
inc eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0043bc1b
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 3
call fcn.0043bc1b
add esp, 0x118
ret

Function at 0x41d4b0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41f49b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41f4bf
cmp dword [edi + 0x54], 0
jne 0x41f4bf
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041ff4a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041f45c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426472
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4264b9
call fcn.0041ff4a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4264b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4264d5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00425fea
mov esi, eax
test edi, edi
je 0x4264d3
test ebx, ebx
je 0x4264d3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426c80
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x470d22
call fcn.0043f16a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426ca5
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x426ceb
lea ecx, [ebp - 0x10]
call fcn.00401980
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.0041ea09
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.00401040
mov eax, esi
call fcn.0043f242
ret 8
Function at 0x4282a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4282be
mov edi, dword [esi + 0xc]
jmp 0x4282fe
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4282d7
call fcn.00420154
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4282ec
call fcn.00420154
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4282fe
call fcn.00420154
call fcn.0041ff4a
cmp dword [eax + 0x3c], 0
je 0x428313
push edi
mov ecx, ebx
call fcn.00427135
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004281cc
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x428331
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x42833d
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428c82
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4936d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x428d1a
push 0x476584
push 4
push eax
call fcn.0043f7cb
push eax
call fcn.0041e3a8
add esp, 0x10
push ebx
push edi
call fcn.0043f8bb
mov edi, dword [eax]
call fcn.0043f8bb
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043f858
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0043f8bb
cmp dword [eax], ebx
je 0x428d31
call fcn.0043f8bb
push dword [eax]
call fcn.00420cc5
pop ecx
jmp 0x428d38
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x428cc5
jmp 0x428dbf
call fcn.0043f8bb
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x428dbb
cmp dword [ebp - 0x234], esi
jae 0x428dbb
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0043ecf0
add esp, 0xc
push 0x474e2c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x428daa
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x428daa
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x428daa
push ebx
push ebx
push esi
jmp 0x428db3
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x428dbd
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043bc1b
leave
ret
Function at 0x42baf1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc dword [edx - 0x74252444]
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00429925
lodsd eax, dword [esi]
salc
cmovs ecx, dword [ecx - 0x75]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x42bb12
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x42bb12
call fcn.00429925

Function at 0x44cfc2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004419b2
and dword [ebp - 4], 0
cmp dword [0x498fa0], 0
mov ebx, eax
jne 0x44d073
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44d124
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44d124
push eax
call fcn.00441940
mov dword [esp], 0x478bac
push edi
mov dword [0x498fa0], eax
call esi
push eax
call fcn.00441940
mov dword [esp], 0x478b98
push edi
mov dword [0x498fa4], eax
call esi
push eax
call fcn.00441940
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x498fa8], eax
call esi
push eax
call fcn.00441940
pop ecx
mov dword [0x498fb0], eax
test eax, eax
je 0x44d073
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00441940
pop ecx
mov dword [0x498fac], eax
mov eax, dword [0x498fac]
cmp eax, ebx
je 0x44d0cb
cmp dword [0x498fb0], ebx
je 0x44d0cb
push eax
call fcn.004419bb
push dword [0x498fb0]
mov esi, eax
call fcn.004419bb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44d0cb
test edi, edi
je 0x44d0cb
call esi
test eax, eax
je 0x44d0c2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44d0c2
test byte [ebp - 0xc], 1
jne 0x44d0cb
or dword [ebp + 0x10], 0x200000
jmp 0x44d104
mov eax, dword [0x498fa4]
cmp eax, ebx
je 0x44d104
push eax
call fcn.004419bb
pop ecx
test eax, eax
je 0x44d104
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44d104
mov eax, dword [0x498fa8]
cmp eax, ebx
je 0x44d104
push eax
call fcn.004419bb
pop ecx
test eax, eax
je 0x44d104
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x498fa0]
call fcn.004419bb
pop ecx
test eax, eax
je 0x44d124
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44d126
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret