joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x404060
cmp dword [ebp + 0x18], 0
jbe 0x403ea3
cmp dword [ebp + 0x1c], 0
jbe 0x403ea3
cmp dword [ebp + 0x20], 2
jae 0x403e7e
mov dword [ebp + 0x20], 2
call sub.KERNEL32.DLL_GetProcessHeap
or eax, eax
je 0x403ea3
mov edx, dword [ebp + 0x20]
imul edx, edx, 0x10
add edx, 4
add edx, 0x3c
push edx
push 8
push eax
call sub.KERNEL32.DLL_HeapAlloc
or eax, eax
je 0x403ea3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40405b
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5a8584], eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x28], eax
mov dword [ebx + 4], 0x969696
mov dword [ebx + 8], 0x2000000
mov dword [ebx + 0xc], 0
push dword [0x58005a]
pop dword [ebx + 0x1c]
push dword [0x58005e]
pop dword [ebx + 0x20]
add ebx, 0x3c
mov ecx, dword [ebp + 0x20]
mov dword [ebx], ecx
add ebx, 4
mov eax, dword [ebp + 0x18]
inc eax
push eax
call fcn.004044ac
mov dword [ebx], eax
fild dword [ebx]
fstp dword [ebx]
add ebx, 4
mov eax, dword [ebp + 0x1c]
inc eax
push eax
call fcn.004044ac
mov dword [ebx], eax
fild dword [ebx]
fstp dword [ebx]
add ebx, 4
push 0x2710
call fcn.004044ac
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fimul dword [ebp + 0x18]
fmul dword [0x580062]
push 2
call fcn.004044ac
or eax, eax
jne 0x403f44
fchs
fstp dword [ebx]
add ebx, 4
push 0x2710
call fcn.004044ac
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fimul dword [ebp + 0x1c]
fmul dword [0x580062]
push 2
call fcn.004044ac
or eax, eax
jne 0x403f6f
fchs
fstp dword [ebx]
add ebx, 4
dec ecx
or ecx, ecx
jne 0x403ef8
mov dword [ebp - 0x38], 0x30
mov dword [ebp - 0x34], 0x2000
mov dword [ebp - 0x30], 0x4040e4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x580050
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x38]
push eax
call sub.USER32.DLL_RegisterClassExA
push dword [ebp - 4]
pop dword [0x5a8580]
push 0
push dword [ebp - 0x24]
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x50000000
push 0
push 0x580050
push 0x20
call sub.USER32.DLL_CreateWindowExA
or eax, eax
jne 0x404030
call sub.KERNEL32.DLL_GetProcessHeap
or eax, eax
je 0x404027
push dword [ebp - 4]
push 0
push eax
call sub.KERNEL32.DLL_HeapFree
mov dword [ebp - 4], 0
jmp 0x40405b
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
push 0
push 0
push 0
push 0x404240
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [ebx + 0x2c], eax
push 0
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push 0xa
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x404068
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x4040db
mov ebx, dword [esi]
push 0
push dword [ebx + 0x2c]
call sub.KERNEL32.DLL_TerminateThread
push dword [ebx + 0x30]
call sub.GDI32.DLL_DeleteDC
push dword [ebx + 0x34]
call sub.GDI32.DLL_DeleteDC
push 0
push 0
push 0x10
push dword [ebx]
call sub.USER32.DLL_SendMessageA
call sub.KERNEL32.DLL_GetProcessHeap
or eax, eax
je 0x4040c3
push eax
cmp dword [ebx + 0x10], 0
je 0x4040b9
push dword [ebx + 0x10]
push 0
push eax
call sub.KERNEL32.DLL_HeapFree
pop eax
push ebx
push 0
push eax
call sub.KERNEL32.DLL_HeapFree
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push eax
push 0x580050
call sub.USER32.DLL_UnregisterClassA
mov dword [esi], 0
pop esi
pop ebx
leave
ret 4

Function at 0x40494b
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0xa
mov dword [0x5a04a4], eax
mov dword [0x5a04a0], ecx
mov dword [0x5a04a8], edx
call fcn.00406d8b
add esp, 4
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [0x5a0490], eax
test eax, eax
jne 0x404996
push 0x525f3e
push 0xd
call fcn.00406dab
add esp, 8
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
mov eax, 0x525f3e
je 0x4049ad
mov eax, 0x525f3a
push eax
push 0xd
call fcn.00406dab
add esp, 8
ret
Function at 0x406efb
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 0x406f14
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x406f4d
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406f49
lea ebx, [ebx]
cmp esi, eax
jae 0x406f4d
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406f3b
cmp esi, eax
jb 0x406f53
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4074eb
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push 0xffffffffffffffff
push 0x523163
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 8], ebx
lea eax, [esp + 8]
push eax
push 0x526652
push 0x17
push ebx
push 0x526692
mov dword [esp + 0x30], ebx
call dword [sym.imp.OLE32.DLL_CoCreateInstance]
test eax, eax
jne 0x407567
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
mov byte [esp + 0x24], 1
call eax
test eax, eax
je 0x407592
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1c], bl
cmp eax, ebx
je 0x407567
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebx
je 0x40757f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
mov byte [esp + 0x24], 2
call eax
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4075c7
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x407553
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x407553
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
jne 0x4075b9
cmp eax, ebx
je 0x4075ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1c], bl
cmp eax, ebx
je 0x407601
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebx
je 0x407619
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x40800b
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0xffffffffffffffff
push 0x52325b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 8], ebx
lea eax, [esp + 8]
push eax
push 0x526672
push 0x17
push ebx
push 0x5266c2
mov dword [esp + 0x2c], ebx
call dword [sym.imp.OLE32.DLL_CoCreateInstance]
test eax, eax
jne 0x408087
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov byte [esp + 0x20], 1
call eax
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4080b2
mov byte [esp + 0x18], bl
cmp eax, ebx
je 0x408087
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], 0xffffffff
cmp eax, ebx
je 0x40809f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x14
ret
mov edx, dword [0x5a04c0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x18], bl
jne 0x40807b
cmp eax, ebx
je 0x4080d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], 0xffffffff
cmp eax, ebx
je 0x4080f1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x14
ret

Function at 0x40874b
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
push 0
push 0x100401
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x408823
cmp dword [esp + 0x1c], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
je 0x4087ee
lea eax, [esp + 0xc]
push eax
push 0x40870b
call dword [sym.imp.USER32.DLL_EnumWindows]
cmp dword [esp + 0x10], 0
je 0x4087ee
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x4087d7
cmp dword [esp + 8], 0x103
jne 0x4087d7
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4087ee
mov edx, dword [esp + 0x20]
push esi
mov dword [edx], 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
push esi
mov dword [eax], 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
add esp, 0xc
ret
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x408812
mov ecx, dword [esp + 0x20]
push esi
mov dword [ecx], 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x24]
push esi
mov dword [edx], 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x40a39b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x523446
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x52691a
call fcn.0046b4cf
push 4
mov dword [esp + 0x24], 0
call fcn.0046c75c
mov edi, eax
add esp, 4
test edi, edi
je 0x40a41d
call fcn.0046b18d
mov dword [edi], eax
call fcn.0046af4c
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0046ae81
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40a412
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0046aea9
jmp 0x40a41f
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 + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40b00b
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5234d3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x40b154
cmp byte [edi + 0x49], 0
je 0x40b154
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x40b147
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
cmp ecx, 0x10
jae 0x40b08e
lea eax, [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov edx, eax
cmp ebp, 0x10
jae 0x40b0b2
lea edx, [esp + 0x18]
mov eax, edx
add edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x14]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x40b0db
dec eax
je 0x40b0df
sub eax, 2
lea ecx, [esp + 0x18]
jne 0x40b142
jmp 0x40b14f
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp ebp, 0x10
jae 0x40b0f2
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x14]
sub esi, ecx
je 0x40b11f
cmp ebp, 0x10
jae 0x40b103
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0046dd41
add esp, 0x10
cmp esi, eax
jne 0x40b13e
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x49], 0
je 0x40b14b
test esi, esi
jne 0x40b0a5
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040a6ab
jmp 0x40b09d
lea ecx, [esp + 0x18]
call fcn.004052eb
xor al, al
jmp 0x40b156
lea ecx, [esp + 0x18]
call fcn.004052eb
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046c68f
add esp, 0x30
ret
Function at 0x41716b
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524332
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov word [esi + 0x20], dx
mov dword [esi + 0x54], eax
xor eax, eax
mov dword [esi + 0x50], ebx
mov word [esi + 0x40], ax
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
push 0x1f0
mov byte [esp + 0x20], 3
mov byte [esi + 0x3c], bl
mov byte [esi + 0x5c], bl
mov dword [esi + 0x80], ebx
call fcn.0046c75c
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 4
cmp eax, ebx
je 0x417203
mov ecx, eax
call fcn.0041a86b
jmp 0x417205
xor eax, eax
mov byte [esp + 0x1c], 3
mov dword [esi + 0x78], eax
call fcn.0041c88b
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4177bb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
test esi, esi
je 0x4179b2
push 0x1498
push 0
push esi
call fcn.0046c6ab
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x417810
cmp eax, 7
je 0x417810
cmp eax, 0x10
je 0x417810
cmp eax, 0xe
je 0x417810
cmp eax, 4
je 0x417810
cmp eax, 9
je 0x417810
xor eax, eax
jmp 0x417815
mov eax, 1
mov dword [esi + 4], eax
movzx ecx, byte [edi + 0x3c]
push ebx
mov dword [esi + 0x1208], ecx
cmp dword [edi + 0x34], 8
push ebp
jb 0x41782f
mov ebp, dword [edi + 0x20]
jmp 0x417832
lea ebp, [edi + 0x20]
push 0x7fffffff
push 0x400
lea ebx, [esi + 8]
push ebx
call fcn.0046aaa1
test eax, eax
js 0x41785c
push 0x400
push ebp
push 0
push 0x400
push ebx
call fcn.0046aaee
cmp dword [edi + 0x18], 8
jb 0x417867
mov ebp, dword [edi + 4]
jmp 0x41786a
lea ebp, [edi + 4]
push 0x7fffffff
push 0x80
lea ebx, [esi + 0x1008]
push ebx
call fcn.0046aaa1
test eax, eax
js 0x417897
push 0x80
push ebp
push 0
push 0x80
push ebx
call fcn.0046aaee
mov ecx, dword [0x5a052c]
push 0
push 8
call fcn.0041b95b
mov dword [esi + 0x140c], eax
cmp byte [edi + 0x3c], 0
je 0x4178ed
cmp dword [edi + 0x54], 8
jb 0x4178bd
mov ebp, dword [edi + 0x40]
jmp 0x4178c0
lea ebp, [edi + 0x40]
push 0x7fffffff
push 0x80
lea ebx, [esi + 0x120c]
push ebx
call fcn.0046aaa1
test eax, eax
js 0x4178ed
push 0x80
push ebp
push 0
push 0x80
push ebx
call fcn.0046aaee
mov edx, dword [edi + 0x78]
mov eax, dword [edx + 0x120]
mov dword [esi + 0x1410], eax
mov ecx, dword [edi + 0x78]
movzx edx, byte [ecx + 0x15c]
lea eax, [esp + 0x10]
mov dword [esi + 0x1494], edx
mov ecx, dword [edi + 0x78]
push eax
call fcn.0041773b
cmp dword [eax + 0x14], 8
jb 0x417923
mov ebp, dword [eax]
jmp 0x417925
mov ebp, eax
push 0x7fffffff
push 0x10
lea ebx, [esi + 0x1414]
push ebx
call fcn.0046aaa1
test eax, eax
js 0x417949
push 0x10
push ebp
push 0
push 0x10
push ebx
call fcn.0046aaee
mov ebx, 8
cmp dword [esp + 0x24], ebx
jb 0x417961
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046c533
add esp, 4
mov ecx, dword [edi + 0x78]
lea edx, [esp + 0x10]
push edx
call fcn.0041777b
cmp dword [eax + 0x14], ebx
jb 0x417977
mov edi, dword [eax]
jmp 0x417979
mov edi, eax
push 0x7fffffff
push 0x10
add esi, 0x1454
push esi
call fcn.0046aaa1
test eax, eax
js 0x41799d
push 0x10
push edi
push 0
push 0x10
push esi
call fcn.0046aaee
cmp dword [esp + 0x24], ebx
pop ebp
pop ebx
jb 0x4179b2
mov eax, dword [esp + 8]
push eax
call fcn.0046c533
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0046c68f
add esp, 0x20
ret 4
Function at 0x418b5b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x524673
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor bl, bl
mov esi, ecx
xor edi, edi
mov byte [esp + 0x10], bl
call fcn.0041862b
mov ecx, dword [esi + 0x78]
push 0
call fcn.0041a03b
test al, al
je 0x418d03
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x10c]
test ecx, ecx
je 0x418c5a
cmp ecx, 0xa
je 0x418c5a
cmp ecx, 5
je 0x418c5a
mov ecx, esi
call fcn.0041844b
cmp dword [esi + 0x80], edi
jne 0x418be6
mov ecx, esi
call fcn.0041706b
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x10c]
add eax, 0xfffffffc
cmp eax, 0xe
ja case.0x418bfe.5
movzx ecx, byte [eax + 0x418dcb]
jmp dword [ecx*4 + 0x418daf]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00416d7b
mov bl, 1
mov edi, 5
mov byte [esp + 0x10], bl
jmp 0x418d5b
mov edi, 3
jmp 0x418d5b
mov edi, 0xa
jmp 0x418d5b
mov edi, 0x13
jmp 0x418d5b
mov edi, 0xb
jmp 0x418d5b
mov edi, 0x14
jmp 0x418d5b
mov edi, 2
jmp 0x418d5b
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x7c]
test ecx, ecx
je 0x418c69
mov edx, dword [ecx]
cmp edx, 2
jne 0x418ccb
mov edx, dword [eax + 0x110]
mov ecx, dword [0x5a052c]
push 1
push 4
lea eax, [esp + 0x1c]
push eax
push 8
mov dword [esp + 0x24], edx
call fcn.0041b67b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov ecx, dword [0x5a052c]
push 1
push 8
lea edx, [esp + 0x20]
push edx
push 0x13
call fcn.0041b67b
mov ecx, dword [0x5a052c]
call fcn.0041c45b
mov eax, dword [esi + 0x78]
cmp byte [eax + 0x11c], 0
je 0x418ccb
mov edi, 0xe
cmp dword [eax + 0x10c], 5
jne 0x418ce4
mov ecx, esi
mov edi, 0x10
mov byte [esi + 0x3c], 1
call fcn.0041844b
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x10c], 0xa
jne 0x418cfb
mov ecx, esi
mov byte [esi + 0x3c], 1
call fcn.0041844b
mov bl, 1
mov byte [esp + 0x10], bl
jmp 0x418d5b
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x78]
call fcn.0041e74b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x20]
push eax
mov dword [esp + 0x54], 0
call fcn.0040590b
cmp dword [esp + 0x34], 8
mov dword [esp + 0x48], 0xffffffff
jb 0x418d41
mov edx, dword [esp + 0x20]
push edx
call fcn.0046c533
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
lea edi, [eax + 6]
mov ecx, dword [0x5a052c]
push 0x16
call fcn.0041b80b
test al, al
je 0x418d70
test bl, bl
je 0x418d8f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004179cb
test al, al
jne 0x418d85
mov edi, 0x11
cmp dword [esi + 0x7c], 1
jne 0x418d8f
xor eax, eax
jmp 0x418d91
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046c68f
add esp, 0x3c
ret
Function at 0x41d42b
Capabilities:
Get geographical location

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLCID]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push 0x40
push 0x5a0544
mov esi, eax
push 0x59
push esi
call edi
push 0x5277ae
push 0x40
push 0x5a0544
call fcn.0046e417
mov eax, 0x5a0544
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d463
sub eax, edx
mov ecx, 0x3f
sub ecx, eax
push ecx
lea edx, [eax + 0x5a0544]
push edx
push 0x5a
push esi
call edi
pop edi
mov eax, 0x5a0544
pop esi
ret

Function at 0x41d7cb
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x524c4d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x596804]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x596804]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
xor edi, edi
push 0x206
lea ecx, [esp + 0x1e]
mov dword [esp + 0x10], edi
xor eax, eax
push edi
push ecx
mov dword [esp + 0x238], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x41
mov word [esp + 0x24], ax
call fcn.0046c6ab
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 3
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
lea edx, [eax + 2]
jmp 0x41d86b
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d86b
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00405a0b
push 3
push 0x5277b2
mov ecx, esi
mov dword [esp + 0x234], edi
mov dword [esp + 0x14], 1
call fcn.004057eb
push edi
lea ecx, [esp + 0x1c]
xor eax, eax
push 0x104
push ecx
mov word [esp + 0x24], ax
call fcn.0041cf2b
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d8cb
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004057eb
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0046c68f
add esp, 0x224
ret