joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x80ee39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0x18], edi
call dword [eax + 0x18]
mov dword [esp + 0x10], eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.007ac4ef
lea esi, [edi + 0x10]
lea edx, [esp + 0x40]
push edx
mov byte [edi + 0xc], 1
lea ebx, [esi + 4]
mov dword [esp + 0x1c], esi
mov ecx, ebx
call fcn.00478ac0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x38], 2
test eax, eax
mov dword [esi], vtable.ucs2string.0
je 0x537608
add eax, 4
jmp 0x53760a
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00403760
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebx, eax
lea esi, [edi + 0x24]
lea eax, [esp + 0x40]
mov dword [esp + 0x18], esi
push eax
lea ecx, [esi + 4]
call fcn.00478ac0
mov dword [esi], vtable.basic_string_ext_char_.0
lea ecx, [esp + 0x40]
mov dword [esi + 0x14], ebx
push ecx
lea ecx, [esi + 0x18]
call fcn.00478ac0
mov ecx, esi
mov byte [esp + 0x38], 5
mov dword [esi], vtable.dbcsstring.0
call fcn.00577bc0
mov dword [edi], vtable.WWLib::BaseException.0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x38], 7
je 0x537689
mov cl, byte [eax - 1]
test cl, cl
je 0x53767d
dec cl
mov byte [eax - 1], cl
jmp 0x537689
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [ebp]
lea eax, [edi + 0x4c]
push eax
mov ecx, ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [edx + 0xc]
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x38], 8
call dword [edx + 0x10]
lea ecx, [edi + 0x64]
mov dword [edi + 0x60], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
mov dword [edi], vtable.WWLib::BaseExceptionEx_unsigned_long_int_.0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x54a080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8110a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x18], edi
push 1
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.007a4753
mov cl, byte [esp + 0x48]
mov dword [esp + 0x40], 1
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edx, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1032
push edx
mov byte [esp + 0x50], 2
call ebx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
cmp edx, edi
jne 0x54a0f7
xor ecx, ecx
jmp 0x54a100
mov ecx, dword [esp + 0x34]
sub ecx, edx
sar ecx, 2
cmp ecx, eax
jae 0x54a18d
cmp eax, edi
jge 0x54a10e
xor eax, eax
shl eax, 2
push eax
call fcn.007d7320
mov esi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x34]
add esp, 4
cmp esi, eax
mov edi, ebx
mov dword [esp + 0x10], eax
je 0x54a14e
push esi
push edi
call fcn.005299d0
mov eax, dword [esp + 0x18]
add esi, 4
add esp, 8
add edi, 4
cmp esi, eax
jne 0x54a12e
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.004c11d0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.007d7349
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
lea eax, [ebx + edx*4]
mov dword [esp + 0x34], eax
call fcn.00528c90
lea ecx, [ebx + eax*4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x30], ecx
xor edi, edi
mov edx, dword [ebp + 0x1c]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call ebx
mov esi, eax
inc esi
je 0x54a1d4
mov eax, dword [ebp + 0x1c]
lea edi, [esi - 1]
push 2
push edi
push 0x100c
push eax
call ebx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
inc eax
push 1
push edx
lea ecx, [esp + 0x34]
mov esi, eax
mov dword [esp + 0x20], edi
call fcn.00561200
test esi, esi
jne 0x54a1a1
xor edi, edi
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x28]
cmp ecx, edi
mov byte [ebx], al
jne 0x54a1ea
xor eax, eax
jmp 0x54a1f3
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
cmp eax, edi
jge 0x54a1f9
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.007d7320
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
cmp edi, ecx
mov dword [ebx + 4], eax
mov ebp, ecx
mov esi, eax
je 0x54a234
push edi
push esi
call fcn.005299d0
add edi, 4
add esp, 8
add esi, 4
cmp edi, ebp
jne 0x54a21c
mov edi, dword [esp + 0x2c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [esp + 0x18], 1
push edi
call fcn.007d7349
xor eax, eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x40], al
call fcn.007a478f
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x54b960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8111e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [esp + 0xf]
push edi
xor ebx, ebx
push 0x34
mov dword [esp + 0x1c], esi
mov byte [esi], al
mov byte [esi + 1], cl
mov byte [esi + 8], bl
call fcn.007d7320
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x30], 1
call fcn.007c4c68
cmp dword [0x951684], ebx
jne 0x54b9d0
mov dword [0x951684], edi
mov dword [edi], ebx
mov edx, dword [0x951684]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x951680]
inc ecx
mov dword [0x951680], ecx
lea ecx, [esp + 0x14]
call fcn.007c4d04
cmp ebp, ebx
je 0x54b9f3
push ebp
call fcn.007d7349
add esp, 4
mov edi, dword [0x951684]
push 0x34
call fcn.007d7320
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 8], eax
push 1
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0054bb50
push ebx
mov ecx, esi
call fcn.0054bb50
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x55e080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
call fcn.0055d5d0
mov ecx, esi
pop esi
jmp fcn.0055c760
Function at 0x568b40
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x812af8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 0
push 0xe
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x568c1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x568b98
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 0x2c]
or edi, 0xffffffff
mov ebx, dword [eax + 8]
lea esi, [eax + 4]
test ebx, ebx
je 0x568bcb
mov al, byte [ebx - 1]
test al, al
je 0x568bcb
push 1
mov ecx, esi
call fcn.00404f20
push ebx
call fcn.007ac4d2
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.00403980
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jae 0x568bdd
mov edi, eax
test edi, edi
jbe 0x568cc5
mov ecx, esi
call fcn.00404cb0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, edi
lea edx, [eax + edi*2]
push ecx
push edx
push eax
call fcn.00403320
mov ebx, dword [esi + 8]
add esp, 0xc
sub ebx, edi
mov ecx, esi
push 0
push ebx
call fcn.00404d30
test al, al
je 0x568cc5
push ebx
mov ecx, esi
call fcn.00404c90
jmp 0x568cc5
lea eax, [esi + esi + 0xc]
push eax
call fcn.007d7320
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 1
add esi, 4
push edi
push esi
push 0xd
push ebx
mov dword [esp + 0x30], 0
call ebp
mov esi, eax
test esi, esi
jne 0x568c75
test edi, edi
je 0x568c60
push edi
call fcn.007d7349
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x568c82
lea ebx, [eax + 4]
jmp 0x568c84
xor ebx, ebx
push 1
push esi
mov ecx, ebx
call fcn.00404d30
test al, al
je 0x568cb8
mov eax, dword [ebx + 4]
mov ecx, edi
test esi, esi
jbe 0x568cac
mov edx, esi
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x568c9d
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], esi
mov word [ecx + esi*2], 0
test edi, edi
je 0x568cc5
push edi
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x56b310
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x56b33e
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x50]
push 1
push 0
push 0
call dword [eax + 0x24]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x56b35f
push edi
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and eax, 0xffff
push eax
push 0x111
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esi + 0x15]
test al, al
jne 0x56b375
push 1
push 0
push edi
mov byte [esi + 0x15], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret 4
Function at 0x57e060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c8
push esi
mov esi, ecx
mov al, byte [esi + 0x18]
test al, al
jne 0x57e15c
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb4]
mov byte [esi + 0x19], 0
push eax
mov dword [esp + 0xb8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x57e0bf
mov cl, byte [esp + 0x1ce]
mov byte [esi + 0x18], 1
mov byte [esi + 0x19], cl
pop edi
mov al, cl
pop esi
add esp, 0x1c8
ret
lea edx, [esp + 8]
push edx
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57e15b
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.ProductType
push edx
mov dword [esp + 0x24], 0xa0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57e150
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [esp + 0x10]
push eax
push str.WinNT
call edi
test eax, eax
jne 0x57e122
mov byte [esi + 0x19], 1
jmp 0x57e14c
lea ecx, [esp + 0x10]
push ecx
push str.LanmanNT
call edi
test eax, eax
jne 0x57e138
mov byte [esi + 0x19], 2
jmp 0x57e14c
lea edx, [esp + 0x10]
push edx
push str.ServerNT
call edi
test eax, eax
jne 0x57e14c
mov byte [esi + 0x19], 3
mov byte [esi + 0x18], 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, byte [esi + 0x19]
pop esi
add esp, 0x1c8
ret
Function at 0x57e350
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x813fe2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esi + 4], ebp
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [esp + 0x14], eax
lea edi, [esi + 8]
lea eax, [esp + 0x34]
mov dword [esp + 0x18], edi
push eax
lea ecx, [edi + 4]
call fcn.00478ac0
mov dword [edi], vtable.basic_string_ext_char_.0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x12]
xor ebx, ebx
mov dword [edi + 0x14], ecx
push edx
lea ecx, [edi + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.00478ac0
mov ecx, edi
mov byte [esp + 0x28], 1
mov dword [edi], vtable.dbcsstring.0
call fcn.00577bc0
lea edi, [esi + 0x30]
mov dword [esp + 0x28], 2
mov eax, edi
mov dword [esp + 0x14], eax
lea ecx, [eax + 4]
lea eax, [esp + 0x13]
push eax
mov dword [esp + 0x1c], ecx
call fcn.00478ac0
mov edx, dword [esp + 0x30]
mov ecx, edi
push edx
mov byte [esp + 0x2c], 3
mov dword [ecx], vtable.ucs2string.0
call fcn.007ac4d2
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00403980
mov cl, byte [esp + 0x30]
mov dword [esi + 0x48], ebx
mov byte [esi + 0x44], cl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dl, byte [esp + 0x30]
mov dword [esi + 0x58], ebx
mov byte [esi + 0x54], dl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dl, byte [esp + 0x30]
and ebp, 0x100
cmp ebp, 0x100
lea ecx, [esi + 0x64]
sete al
mov byte [esp + 0x28], 6
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00580b50
mov byte [esp + 0x28], 7
mov dword [esi], 0x866af4
push ebx
lea eax, [esi + 8]
push eax
push edi
call fcn.00578c40
mov eax, dword [esi + 4]
add esp, 0xc
and eax, 0x1000
cmp eax, 0x1000
jne 0x57e4a9
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x57e4a9
push edi
call fcn.007ac4d2
mov ecx, eax
xor eax, eax
add ecx, ecx
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
call fcn.0057f5e0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x57ef80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x814168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x30]
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
call fcn.00404f20
mov dword [esp + 4], vtable.ucs2string.0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 8]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0057f260
test al, al
jne 0x57f025
mov eax, dword [esp + 0xc]
test eax, eax
je 0x57f011
mov cl, byte [eax - 1]
test cl, cl
je 0x57f005
dec cl
pop esi
mov byte [eax - 1], cl
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
mov edx, dword [esp + 4]
push ebx
lea ecx, [esp + 8]
call dword [edx]
test al, al
je 0x57f0bd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57f0bd
mov eax, dword [esp + 0x10]
mov ebx, 0x8522f8
test eax, eax
je 0x57f04f
mov ebx, eax
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
call dword [eax + 0x1c]
test eax, eax
je 0x57f0b9
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 8]
call dword [edx + 0x1c]
cmp eax, esi
ja 0x57f0b9
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x57f07e
mov esi, 0x8522f8
mov eax, dword [esp + 8]
push ebp
push edi
lea ecx, [esp + 0x10]
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov ebp, eax
call dword [edx + 0x18]
mov edi, eax
mov ecx, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
sete al
pop edi
pop ebp
test al, al
je 0x57f0b9
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
call dword [edx + 0x1c]
lea eax, [ebx + eax*2]
jmp 0x57f0c2
mov eax, ebx
jmp 0x57f0c2
mov eax, 0x852354
push eax
call fcn.007addc4
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, eax
pop ebx
je 0x57f103
jmp 0x57f0e2
mov eax, dword [esp + 0x10]
dec esi
cmp eax, esi
ja 0x57f0ec
call fcn.007c4e01
lea ecx, [esp + 8]
call fcn.00404cb0
mov edx, dword [esp + 0xc]
test esi, esi
mov word [edx + esi*2], 0
jne 0x57f0de
mov eax, dword [esp + 0xc]
test eax, eax
je 0x57f137
mov cl, byte [eax - 1]
test cl, cl
je 0x57f12b
dec cl
pop esi
mov byte [eax - 1], cl
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x582e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x81445e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], 0x8570e0
call fcn.0044e9d0
mov dword [esp + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 4], 1
push 0
push 1
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0xd4], 0
call fcn.00454210
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc4], 1
mov dword [esp + 8], ecx
lea ecx, [esp + 0x2c]
call fcn.00583520
push 2
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 2
mov dword [esp + 0x30], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.005836b0
push eax
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.005835d0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x28], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push 0x90f838
push ecx
mov ecx, dword [esi + 0x14]
push str.__microsecond
push edx
mov edx, dword [esi + 0x10]
push str.__millisecond
push eax
mov eax, dword [esi + 0xc]
push str.__second
push ecx
mov ecx, dword [esi + 8]
push str.__minute
push edx
mov edx, dword [esi + 4]
push str.__hour
push eax
push str.__day
push ecx
push str.__month
push edx
lea eax, [esp + 0x68]
push str.DateTimeInfo_out_of_range__year
push eax
mov dword [esp + 0x10c], 3
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.0057cc50
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
mov ecx, eax
call fcn.004536e0
push eax
call fcn.005836d0
add esp, 8
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00453bc0
mov esi, eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xc4], 4
call fcn.007ac4ef
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 5
call fcn.0042b6c0
lea edx, [esp + 0xc]
push 0x8b7950
push edx
mov byte [esp + 0xcc], 4
mov dword [esp + 0x14], 0x866b20
call fcn.007ac5c6
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x584680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8146b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.0046a9b0
add esp, 8
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.007ac4ef
mov dl, byte [esp + 0x40]
lea ebx, [edi + 0x10]
mov al, 1
push 0
lea esi, [ebx + 4]
mov byte [edi + 0xc], al
mov ecx, esi
mov byte [esp + 0x3c], al
mov dword [esp + 0x1c], ebx
mov byte [esi], dl
call fcn.00404f20
test ebp, ebp
mov byte [esp + 0x38], 2
mov dword [ebx], vtable.ucs2string.0
je 0x5846fb
add ebp, 4
jmp 0x5846fd
xor ebp, ebp
push 0xffffffffffffffff
push 0
push ebp
mov ecx, esi
call fcn.00403760
mov byte [esp + 0x38], 3
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebx, eax
lea esi, [edi + 0x24]
lea eax, [esp + 0x12]
mov dword [esp + 0x18], esi
push eax
lea ecx, [esi + 4]
call fcn.00478ac0
mov dword [esi], vtable.basic_string_ext_char_.0
lea ecx, [esp + 0x13]
mov byte [esp + 0x38], 4
push ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], ebx
call fcn.00478ac0
mov ecx, esi
mov byte [esp + 0x38], 5
mov dword [esi], vtable.dbcsstring.0
call fcn.00577bc0
mov eax, dword [esp + 0x24]
mov dword [edi], vtable.TException.0
test eax, eax
je 0x58477f
mov cl, byte [eax - 1]
test cl, cl
je 0x584773
dec cl
mov byte [eax - 1], cl
jmp 0x58477f
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x4c], edx
mov dword [edi], vtable.SystemError.0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x588950
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0xc8
lea eax, [esp]
push ebx
push 0x63
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ebx, ebx
cmp eax, ebx
jg 0x58897e
xor al, al
pop ebx
add esp, 0xc8
ret
push esi
push edi
lea edi, [eax - 1]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x588993
lea esi, [eax + 4]
jmp 0x588995
xor esi, esi
cmp edi, 0x7ffffffd
jbe 0x5889a2
call fcn.007c4d19
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
cmp eax, ebx
je 0x5889d1
mov cl, byte [eax - 1]
cmp cl, bl
je 0x5889d1
cmp edi, ebx
jne 0x5889ff
dec cl
pop edi
mov byte [eax - 1], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop esi
mov al, 1
pop ebx
add esp, 0xc8
ret
cmp edi, ebx
jne 0x5889ea
push 1
mov ecx, esi
call fcn.00404f20
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc8
ret
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x5889f6
cmp eax, edi
jae 0x588a07
push 1
mov ecx, esi
call fcn.00404f20
mov ecx, esi
push edi
call fcn.004056b0
mov eax, dword [esi + 4]
cmp edi, ebx
lea ecx, [esp + 0xc]
jbe 0x588a25
mov edx, edi
push ebp
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x588a15
pop ebp
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], bx
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc8
ret
Function at 0x58bbd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x815008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push 0xfde9
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.00579f20
mov esi, dword [esp + 0x38]
mov al, byte [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esi], al
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00402e90
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x58bc71
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x58bc68
dec cl
mov byte [eax], cl
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x58bd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x815030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x34]
push ebx
xor ebx, ebx
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.005e2c69
lea ecx, [esp + 4]
mov dword [esp + 0x14], vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.1.0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 1
call fcn.005faf4c
mov ecx, dword [esp + 0x34]
lea eax, [esp + 4]
push eax
push ecx
mov byte [esp + 0x34], bl
call fcn.0058bb20
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, ebx
je 0x58be3b
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x58be32
dec cl
pop ebx
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x24]
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret