joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d9a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4cc730], 0
push esi
push edi
jne 0x46d916
call fcn.0046d882
test eax, eax
je 0x46d95b
mov eax, dword [0x4cc730]
cmp eax, 1
jne 0x46d937
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46d95b
jmp 0x46d99d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46d99d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46d95f
xor eax, eax
jmp 0x46d99d
mov eax, dword [esi]
push dword [0x4cc730]
call edi
mov edi, eax
test edi, edi
je 0x46d981
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46d99d
lea edi, [esi + 0xff0]
push esi
push dword [0x4cc730]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x46d987
mov eax, esi
pop edi
pop esi
ret
jmp 0x46d902

Function at 0x46e5d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c51d0]
jne 0x46e5df
repz ret
jmp fcn.004765c1
Function at 0x4814e8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00478589
and dword [ebp - 0x14], 0
cmp dword [0x4cd7b8], 0
mov dword [ebp - 0x18], eax
jne 0x48159b
push 0x4a2fc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x481643
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a2fb4
push ebx
call edi
test eax, eax
je 0x481643
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4a2fa4
push ebx
mov dword [0x4cd7b8], eax
call edi
push eax
call esi
push 0x4a2f90
push ebx
mov dword [0x4cd7bc], eax
call edi
push eax
call esi
push 0x4a2f74
push ebx
mov dword [0x4cd7c0], eax
call edi
push eax
call esi
mov dword [0x4cd7c8], eax
test eax, eax
je 0x48159b
push 0x4a2f5c
push ebx
call edi
push eax
call esi
mov dword [0x4cd7c4], eax
mov eax, dword [0x4cd7c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4815f4
cmp dword [0x4cd7c8], ecx
je 0x4815f4
push eax
call esi
push dword [0x4cd7c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4815f4
test ebx, ebx
je 0x4815f4
call edi
test eax, eax
je 0x4815eb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4815eb
test byte [ebp - 8], 1
jne 0x4815f4
or dword [ebp + 0x10], 0x200000
jmp 0x481627
mov eax, dword [0x4cd7bc]
cmp eax, dword [ebp - 0x18]
je 0x481627
push eax
call esi
test eax, eax
je 0x481627
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x481627
mov eax, dword [0x4cd7c0]
cmp eax, dword [ebp - 0x18]
je 0x481627
push eax
call esi
test eax, eax
je 0x481627
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4cd7b8]
call esi
test eax, eax
je 0x481643
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x481645
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e5d5
leave
ret
Function at 0x488d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x48d4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x4c66bc]
cmp eax, 0xffffffff
jne 0x488dd0
xor esi, esi
jmp 0x488dd9
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x58], 0
test esi, esi
je 0x488e2d
nop
cmp dword [esi + 0x14], 0
jne 0x488e7a
cmp dword [esi + 0x10], 0
jne 0x488e80
push 0x488400
push 0x4cd7e4
call fcn.00488680
mov eax, dword [0x4c66bc]
add esp, 8
cmp eax, 0xffffffff
je 0x488f31
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x58], 0xffffffff
test esi, esi
je 0x488e5b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x488e5b
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046e5d5
add esp, 0x48
ret
cmp dword [esi + 0x10], 0
je 0x488ec2
mov ebp, dword [esi + 0x10]
mov eax, dword [ebp + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x488eb0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x10], 0
jne 0x488e80
cmp dword [esi + 0x14], 0
je 0x488dfa
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x488ee7
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x488f1a
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x488f1a
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
lea ecx, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x488f1a
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x14], 0
jne 0x488ecc
jmp 0x488df0
call fcn.00489d30
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov edi, 0xb
mov dword [esp + 0x18], 0x4a4d70
call fcn.0046ebd5
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x1c], 0x4a3240
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x5c], 1
call fcn.00405bf0
int3
Function at 0x489080
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x48d538
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x488f90
push 0
push 0
call fcn.0046f2b2
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x489122
call fcn.00489d30
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov esi, eax
lea edi, [ebp + 0xb]
mov dword [esp + 0x14], 0x4a4d70
call fcn.0046ebd5
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
mov dword [esp + 0x14], 0x4a3240
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], ebp
call fcn.00405bf0
mov ecx, dword [esi]
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x489145
cmp eax, 0xffffffff
je 0x489145
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebp
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046e5d5
add esp, 0x44
ret
Function at 0x401cec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401d11
xor eax, eax
jmp 0x401d71
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d1a
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x401d4d
push 0x446e1c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00428b7d
add esp, 0xc
test eax, eax
jne 0x401d0d
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00428b7d
add esp, 0xc
test eax, eax
jne 0x401d0d
lea eax, [ebp - 0x20c]
push eax
call fcn.0040371b
pop ecx
pop esi
leave
ret
Function at 0x4048aa
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
mov eax, 0x43ea3f
call fcn.0043cc34
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push 8
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
mov ebx, eax
cmp ebx, edi
je 0x404920
push 0x14
call fcn.00401582
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x404909
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0x4475ae
call fcn.00404da8
push ebx
push 0x96
push dword [ebp + 8]
call fcn.00404afd
jmp 0x40490b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
push 0x44dd0c
lea eax, [ebp + 8]
push eax
call fcn.0042b70d
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x404980
cmp word [esi + 8], 1
jne 0x404976
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x404976
push 2
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x40497e
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi]
test esi, esi
jne 0x404927
jmp 0x404980
xor ebx, ebx
xor esi, esi
inc esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.DNSAPI.dll_DnsFree]
test ebx, ebx
je 0x4049ca
push 0x118
call fcn.00401582
mov ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4049b4
push 0x95
push esi
call fcn.00404cfb
jmp 0x4049b6
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x10], eax
push 0x44dd1c
lea eax, [ebp + 0x10]
jmp 0x40491a
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp + 8]
push eax
call fcn.00404da8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x404df3
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x404e41
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x404e49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x404e5a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x404e6f
push 0x44dd50
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call fcn.0042b70d
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x40888f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43efac
call fcn.0043cc34
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.00409041
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0040414c
mov eax, dword [eax + 0xcc]
call fcn.00408041
xor edi, edi
push 1
push edi
push edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00403875
push eax
push str.open
call fcn.00404113
mov eax, dword [eax + 0x20]
push dword [eax + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015ab
push 3
push edi
push edi
push edi
push edi
push 0x456508
mov ecx, esi
call fcn.0040414c
mov ecx, eax
call fcn.0041a4ef
call fcn.00408967
push edi
push 0x3e8
push 1
mov ecx, esi
call fcn.00409075
mov ecx, esi
call fcn.00408629
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4090d8
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x416262
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 0x4162a9
call fcn.00410555
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4162a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4162c5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415d62
mov esi, eax
test edi, edi
je 0x4162c3
test ebx, ebx
je 0x4162c3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41938d
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 0x4193a5
mov edi, dword [esi + 0xc]
jmp 0x4193e5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4193be
call fcn.00417377
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4193d3
call fcn.00417377
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4193e5
call fcn.00417377
call fcn.00410555
cmp dword [eax + 0x3c], 0
je 0x4193fa
push edi
mov ecx, ebx
call fcn.00418227
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004192a7
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x419418
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x419424
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b034
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x41b058
cmp dword [edi + 0x74], 0
jne 0x41b058
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00410555
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.0041aff5
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 0x41c07e
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x41c0a9
call fcn.00410555
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x41c0cc
push eax
push dword [esi + 4]
call fcn.0041c004
push esi
push eax
mov ecx, 0x456810
call fcn.0041bc87
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41c9da
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x43d6e5
call fcn.0042b3c8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c99a
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00416b5b
push eax
lea ecx, [esi + 0x18]
call fcn.004015b0
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00401aec
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x41ca51
push eax
push dword [esi + 8]
call fcn.0041c004
push dword [esi + 0xc]
mov ecx, 0x456810
push eax
call fcn.0041bc87
mov eax, esi
call fcn.0042b4a0
ret 0x18

Function at 0x41cdb2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x453160]
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 0x41cdf7
push 0x4426b8
push 4
push eax
call fcn.00428c2b
push eax
call fcn.0040169e
add esp, 0x10
jmp 0x41ce0d
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41ce8d
push edi
call fcn.0042b79b
mov edi, dword [eax]
call fcn.0042b79b
and dword [eax], 0
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.0042a315
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042b79b
cmp dword [eax], 0
je 0x41ce61
call fcn.0042b79b
push dword [eax]
call fcn.004105d8
pop ecx
jmp 0x41ce68
call fcn.0042b79b
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41ce8d
cmp dword [ebp - 0x234], esi
jae 0x41ce8d
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41ce8f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042afba
leave
ret
Function at 0x41d32e
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x453160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0040371b
pop ecx
cmp eax, esi
je 0x41d418
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41d418
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0042af40
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x41d418
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41d418
cmp esi, 0x14
jge 0x41d418
push 0x10
push 0
push edi
call fcn.00429e29
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41d407
call fcn.0042b79b
cmp dword [eax], 0x22
je 0x41d407
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0042afc9
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x41d3dd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x456854], 0
jne 0x41d4a3
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x41d4cc
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0041cdb2
pop ecx
pop ecx
test eax, eax
jne 0x41d4ce
inc edi
cmp edi, esi
jl 0x41d4a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042afba
leave
ret 8

Function at 0x42afba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453160]
jne 0x42afc4
repz ret
jmp fcn.004345f3
Function at 0x4337c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042f719
and dword [ebp - 0x14], 0
cmp dword [0x457570], 0
mov dword [ebp - 0x18], eax
jne 0x433876
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43391e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4456fc
push ebx
call edi
test eax, eax
je 0x43391e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4456ec
push ebx
mov dword [0x457570], eax
call edi
push eax
call esi
push 0x4456d8
push ebx
mov dword [0x457574], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457578], eax
call edi
push eax
call esi
mov dword [0x457580], eax
test eax, eax
je 0x433876
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45757c], eax
mov eax, dword [0x45757c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4338cf
cmp dword [0x457580], ecx
je 0x4338cf
push eax
call esi
push dword [0x457580]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4338cf
test ebx, ebx
je 0x4338cf
call edi
test eax, eax
je 0x4338c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4338c6
test byte [ebp - 8], 1
jne 0x4338cf
or dword [ebp + 0x10], 0x200000
jmp 0x433902
mov eax, dword [0x457574]
cmp eax, dword [ebp - 0x18]
je 0x433902
push eax
call esi
test eax, eax
je 0x433902
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433902
mov eax, dword [0x457578]
cmp eax, dword [ebp - 0x18]
je 0x433902
push eax
call esi
test eax, eax
je 0x433902
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457570]
call esi
test eax, eax
je 0x43391e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433920
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042afba
leave
ret