joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d9e40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x70695e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esp + 0x14], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], eax
push dword [esp + 0x1c]
mov byte [esp + 0x18], 2
call fcn.005db5f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x5db7f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x706d81
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x5db993
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x5db993
push dword [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__read]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5db9cd
call dword [sym.imp.MSVCR120.dll__errno]
sub esp, 0x20
mov ecx, esp
mov eax, dword [eax]
push 0x721844
mov dword [edi + 4], eax
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5db98e
push str.cant_read_from_file_descriptor__d
lea ecx, [esp + 0x68]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
mov byte [esp + 0xd8], 1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.0041fd90
push str.wx.sys_error
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 2
call fcn.00418040
push 0x721844
push str.wxFile::Read
push 0x14e
push str....._srccommon_file.cpp
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xec], 3
call fcn.00439de0
mov esi, eax
push dword [edi]
lea eax, [esp + 0x34]
mov byte [esp + 0xdc], 4
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
call fcn.0051f390
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 3
call fcn.0043f270
lea ecx, [esp + 0x44]
call fcn.00418210
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 1
call fcn.00420020
lea ecx, [esp + 0x10]
call fcn.00418210
lea ecx, [esp + 0x64]
call fcn.00418210
or eax, 0xffffffff
jmp 0x5db9cd
cmp dword [0x82e960], 0
je 0x5db9cb
push 0
push str._pBuf___0___IsOpened__
push str.wxFile::Read
push 0x148
push str....._srccommon_file.cpp
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5db9cb
mov byte [0x87c8e0], 0
int3
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xd0
ret 8

Function at 0x5dc420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x706e06
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [edi], vtable.wxTextBuffer.0
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
mov dword [edi + 0x18], 7
lea ecx, [edi + 4]
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
call fcn.00419170
mov dword [edi + 0x1c], 0
lea ecx, [edi + 0x24]
mov dword [esp + 0x18], 0
call fcn.005dd750
push 0
lea ecx, [edi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.005d94a0
mov dword [edi + 0x40], 0
mov eax, edi
mov byte [edi + 0x44], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x5dc4c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x706e46
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxTextBuffer.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.005d8cf0
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 0
call fcn.005dd770
push dword [esi + 0x1c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esi + 0x18], 8
jb 0x5dc528
push dword [esi + 4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5dc720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x706e80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x5dc795
xor eax, eax
mov dword [ebp + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [ebp + 0x10], 0
mov ecx, ebp
push edi
mov word [ebp], ax
call fcn.00419170
mov dword [ebp + 0x18], 0
jmp 0x5dc911
cmp dword [edi + 0x10], 0
je 0x5dc76a
push eax
call fcn.005dc600
add esp, 4
lea ecx, [esp + 0x3c]
push eax
call fcn.00418140
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x34], eax
push dword [edi + 0x10]
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.004acd10
xor ebx, ebx
cmp dword [edi + 0x14], 8
jb 0x5dc7ee
mov esi, dword [edi]
jmp 0x5dc7f0
mov esi, edi
cmp dword [edi + 0x14], 8
jb 0x5dc7fa
mov ecx, dword [edi]
jmp 0x5dc7fc
mov ecx, edi
mov eax, dword [edi + 0x10]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x5dc892
movzx eax, word [esi]
mov dword [esp + 0x14], eax
movzx eax, ax
cmp eax, 0xa
je 0x5dc876
cmp eax, 0xd
je 0x5dc84c
cmp bx, 0xd
jne 0x5dc838
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0041aea0
xor ebx, ebx
push dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 1
call fcn.004390c0
add esi, 2
jmp 0x5dc7f0
cmp bx, 0xd
jne 0x5dc869
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0041aea0
add esi, 2
jmp 0x5dc7f0
mov ebx, 0xd
add esi, 2
jmp 0x5dc7f0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0041aea0
xor ebx, ebx
add esi, 2
jmp 0x5dc7f0
test bx, bx
je 0x5dc8a9
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0041aea0
xor eax, eax
mov dword [ebp + 0x14], 7
push 0xffffffffffffffff
mov dword [ebp + 0x10], 0
mov ecx, ebp
push eax
mov word [ebp], ax
lea eax, [esp + 0x24]
push eax
call fcn.00419170
push dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov dword [ebp + 0x18], 0
call esi
add esp, 4
cmp dword [esp + 0x30], 8
jb 0x5dc8f5
push dword [esp + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x54]
call esi
add esp, 4
cmp dword [esp + 0x50], 8
jb 0x5dc911
push dword [esp + 0x3c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x58
ret
Function at 0x5df410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70723b
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 8], eax
mov dword [esi], vtable.wxNodeBase.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov eax, dword [ebp]
sub eax, 0
je 0x5df4d2
dec eax
je 0x5df4cc
dec eax
je 0x5df4a4
cmp dword [0x82e960], 0
je 0x5df4d2
push str.invalid_key_type
push str.Assert_failure
push str.wxNodeBase::wxNodeBase
push 0x5b
push str....._srccommonlist.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5df4d2
mov byte [0x87c8e0], 0
int3
push 0x20
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x5df4c8
push eax
mov ecx, ebp
call fcn.005dfdd0
jmp 0x5df4cf
xor eax, eax
jmp 0x5df4cf
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
test ebx, ebx
je 0x5df4d9
mov dword [ebx + 0xc], esi
mov eax, esi
test edi, edi
je 0x5df4e2
mov dword [edi + 0x10], esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x5e0100
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x6e5f60
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, eax
mov dword [esi + 4], 0
mov eax, dword [esp + 0x7c]
mov dword [esi], ecx
mov dword [esi + 8], eax
test ecx, ecx
jne 0x5e02b8
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5e02b8
call fcn.005c92f0
mov dword [esp + 8], eax
mov dword [esp + 0x74], 0
call fcn.005c92f0
mov dword [esp + 0xc], eax
push 0xffffffffffffffff
lea eax, [esp + 0x14]
mov byte [esp + 0x78], 1
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 0
mov dword [esp + 0x84], 2
mov dword [esp + 0x30], 6
mov dword [esp + 0x38], str....._srcmsw_thread.cpp
mov dword [esp + 0x40], 0x7804b4
mov dword [esp + 0x3c], 0xeb
mov dword [esp + 0x44], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0x60], eax
mov byte [esp + 0x74], 3
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 4
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.CreateMutex__
push 0xeb
push str....._srcmsw_thread.cpp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.00479740
push dword [esp + 0x60]
mov byte [esp + 0x78], 2
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x5e0287
push dword [esp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00439c40
lea ecx, [esp + 8]
mov dword [esp + 0x74], 0xffffffff
call fcn.00420020
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x70
ret 4
Function at 0x5e19a0
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x707597
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x5e1c09
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5e1c05
push str.Cannot_resume_thread__lx
lea ecx, [esp + 0x68]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x38], eax
mov byte [esp + 0xd8], 1
call fcn.005eae80
test eax, eax
je 0x5e1a6a
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x5e1a79
lea eax, [esp + 0x64]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0xc], eax
mov byte [esp + 0xd8], 2
call fcn.005c92f0
mov dword [esp + 0x10], eax
mov byte [esp + 0xd8], 3
call fcn.005c92f0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
push str.wx.sys_error
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 4
call fcn.00418040
push 0x721844
push str.wxThreadInternal::Resume
push 0x396
push str....._srcmsw_thread.cpp
push 1
lea ecx, [esp + 0x98]
call fcn.00439de0
mov esi, eax
push dword [edi + 4]
lea eax, [esp + 0x10]
mov byte [esp + 0xdc], 6
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
call fcn.004f1dc0
push dword [esp + 0xc4]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0xdc], 5
call esi
add esp, 4
cmp dword [esp + 0xc0], 8
jb 0x5e1b46
push dword [esp + 0xac]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
lea ecx, [esp + 0x8c]
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00439c40
push dword [esp + 0x5c]
call esi
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5e1b8e
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0xd8], 1
call fcn.00420020
push dword [esp + 0x38]
call esi
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x5e1bd2
push dword [esp + 0x20]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call esi
add esp, 4
cmp dword [esp + 0x78], 8
jb 0x5e1c05
push dword [esp + 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x5e1c18
cmp dword [edi + 8], 4
je 0x5e1c16
mov dword [edi + 8], 1
mov al, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xd0
ret
Function at 0x5e99d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x704e19
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], eax
push eax
call fcn.005d94a0
xor eax, eax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], 0
mov word [esi + 0x30], ax
mov dword [esi + 0x48], eax
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], eax
mov word [esi + 0x50], ax
mov dword [esi + 0x68], eax
push dword [esp + 0x28]
mov ecx, esi
mov byte [esp + 0x18], 3
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.005cb610
mov byte [esi + 0x72], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x5f0930
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
movzx ecx, word [edx]
test cx, cx
je 0x5f07fd
mov edi, edi
movzx ecx, cx
lea edx, [edx + 2]
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x5f07e0
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
jmp 0x5f07d0
Function at 0x5f3090
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x709529
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esi + 0x18], eax
push 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
push eax
push 0x1004
push dword [esp + 0x54]
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x5f3127
cmp word [esp + 0x10], 0x30
jne 0x5f311b
cmp word [esp + 0x12], 0
je 0x5f3127
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00429330
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x38
ret

Function at 0x5f5fd0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x40
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x44], 1
push esi
mov esi, ecx
jne 0x5f60ff
call fcn.004364a0
mov dword [esp + 4], eax
and eax, edx
mov dword [esp + 8], edx
cmp eax, 0xffffffff
je 0x5f607b
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
call fcn.0062b430
add esp, 8
test eax, eax
je 0x5f602b
mov eax, dword [eax + 0x20]
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x40
ret 4
cmp dword [0x82e960], 0
je 0x5f6066
push str.wxLocaltime_r___failed
push 0x7831f0
push str.wxDateTime::IsDST
push 0x811
push str....._srccommondatetime.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5f6066
mov byte [0x87c8e0], 0
int3
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x40
ret 4
push edi
call fcn.0062b370
neg eax
mov ecx, esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005f54c0
push 1
mov edi, dword [eax + 0x10]
push edi
call fcn.005f6160
add esp, 8
test al, al
jne 0x5f60c0
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x40
ret 4
push 1
lea eax, [esp + 0x14]
push edi
push eax
call fcn.005f4c50
add esp, 0xc
push eax
push 1
lea eax, [esp + 0x20]
push edi
push eax
call fcn.005f43f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.005f5f80
pop edi
movzx eax, al
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x40
ret 4
cmp dword [0x82e960], 0
je 0x5f6066
push str.country_support_not_implemented
push str.country__Country_Default
push str.wxDateTime::IsDST
push 0x808
push str....._srccommondatetime.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5f6066
mov byte [0x87c8e0], 0
int3
Function at 0x5f8a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70981b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [edi + 0x1c], 7
push 0xffffffffffffffff
lea esi, [edi + 8]
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
push dword [esp + 0x28]
mov word [esi], ax
call fcn.00419170
mov dword [esi + 0x18], 0
mov eax, dword [esp + 0x24]
push esi
mov dword [esp + 0x1c], 0
mov dword [edi + 0x28], eax
call fcn.005faf90
add esp, 4
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x82eac8]
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi], 0
mov dword [edi + 0x30], 0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x5fad00
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x709d82
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x104]
push 1
call fcn.005fc120
test al, al
je 0x5faf00
cmp dword [esi + 0x10], 0
jne 0x5fad5b
xor eax, eax
jmp 0x5fad67
cmp dword [esi + 0x14], 8
jb 0x5fad65
mov eax, dword [esi]
jmp 0x5fad67
mov eax, esi
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x5faf04
cmp eax, 2
je 0x5faf04
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5faf00
push str.Cant_delete_value__s_from_key__s
lea ecx, [esp + 0x4c]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov byte [esp + 0xfc], 1
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x34]
push eax
call fcn.0041fd90
push str.wx.sys_error
lea ecx, [esp + 0x6c]
mov byte [esp + 0x100], 2
call fcn.00418040
push 1
lea eax, [esp + 0x8c]
mov byte [esp + 0x100], 3
push eax
mov ecx, edi
call fcn.005fb3b0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, eax
call fcn.0041f670
sub esp, 0x20
mov byte [esp + 0x128], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push esi
call fcn.00418000
push 0x721844
push str.wxRegKey::DeleteValue
push 0x324
push str....._srcmsw_registry.cpp
push 1
lea ecx, [esp + 0xe8]
mov byte [esp + 0x13c], 6
call fcn.00439de0
mov esi, eax
mov byte [esp + 0x128], 7
lea eax, [esp + 0x60]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x130], 8
call fcn.005f8740
lea ecx, [esp + 0xa8]
mov byte [esp + 0xfc], 4
call fcn.0043f270
lea ecx, [esp + 0x88]
call fcn.00418210
lea ecx, [esp + 0x68]
call fcn.00418210
mov byte [esp + 0xfc], 1
lea ecx, [esp + 0x34]
call fcn.00420020
lea ecx, [esp + 0x14]
call fcn.00418210
lea ecx, [esp + 0x48]
call fcn.00418210
xor al, al
jmp 0x5faf06
mov al, 1
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xf4
ret 4