joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e54d0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x28]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5e54f4
xor al, al
ret 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e5502
mov edx, dword [esp + 8]
mov dword [eax], edx
mov al, 1
ret 0xc

Function at 0x5e55c0
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
mov esi, ecx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5e55d0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esi + 0xc]
call fcn.0040302e
mov ebx, dword [esp + 0x14]
movsx eax, bl
and eax, 2
or eax, 0xfffffffc
xor ecx, ecx
shl eax, 0x1d
cmp ebx, 1
setne cl
push 0
push 0x80
add ecx, 3
push ecx
push 0
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
jne 0x5e562f
pop edi
mov dword [esi + 0x28], 0
pop esi
xor al, al
pop ebx
ret 8
push 0
push eax
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop edi
mov dword [esi + 8], eax
pop esi
mov al, 1
pop ebx
ret 8

Function at 0x5e6180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61b7e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.005e5e60
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x719cd4
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x6837f8
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.005e7030
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5eb380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x5eb38f
mov eax, dword [eax + 4]
jmp 0x5eb392
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5eb424
push esi
mov esi, dword [0x719cf0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x5eb409
cmp eax, 3
je 0x5eb409
cmp eax, 0x7b
je 0x5eb409
cmp eax, 0xf
je 0x5eb409
cmp eax, 0x57
je 0x5eb409
cmp eax, 0xa1
je 0x5eb409
cmp eax, 0x35
je 0x5eb409
cmp eax, 0x20
jne 0x5eb3fe
mov eax, dword [0x719cf4]
mov dword [ecx], eax
mov edx, dword [0x719cf8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x719cf4]
mov dword [ecx], eax
mov edx, dword [0x719cf8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x719cf4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x719cf8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x5eb451
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x5eb540
Capabilities:
Delete directory

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x5eb55b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x5eb570
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x5eb58b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x5eb5c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x5eb5d3
mov ecx, dword [eax + 4]
jmp 0x5eb5d6
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x5eb5e4
mov eax, dword [eax + 4]
jmp 0x5eb5e7
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x5eb605
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x719cf0]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x719cf0]
mov dword [eax + 4], ecx
ret
Function at 0x5eb620
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x5eb633
mov ecx, dword [eax + 4]
jmp 0x5eb636
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x5eb644
mov eax, dword [eax + 4]
jmp 0x5eb647
add eax, 4
movzx edx, byte [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x5eb66b
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x719cf0]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x719cf0]
mov dword [eax + 4], ecx
ret

Function at 0x5eb7b0
Capabilities:
Create directory

Disassembly:
sub esp, 8
push ebp
push esi
push edi
xor esi, esi
call fcn.005ebf90
mov ebp, eax
mov dword [esp + 0xc], esi
call fcn.005ebf90
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], eax
jb 0x5eb7db
mov eax, dword [edi + 4]
jmp 0x5eb7de
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x5eb7ff
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 1
pop ebp
add esp, 8
ret
mov ebp, dword [0x719cf0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x5eb84f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.005eb380
add esp, 0xc
cmp dword [esp + 0x1c], 3
jne 0x5eb84f
mov eax, dword [esp + 0x18]
mov edx, dword [0x719cf4]
mov ecx, dword [0x719cf8]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret

Function at 0x5ebb40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x61bb08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x5ebb7b
mov edi, 1
push edi
call fcn.005b3e2c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
push esi
push edi
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x5ebbaf
mov ebx, dword [0x719cf0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi + 4], ebx
jmp 0x5ebbda
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ebbb4
mov ecx, dword [esp + 0x28]
sub eax, edx
push eax
push esi
call fcn.00402853
mov edi, dword [esp + 0x24]
mov ecx, dword [0x719cf8]
mov eax, dword [0x719cf4]
mov dword [edi + 4], ecx
push esi
mov dword [edi], eax
call fcn.005b4dc6
mov eax, edi
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5ebc20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x61bb3b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6e377c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2ac]
mov eax, dword [esp + 0x29c]
mov edx, dword [esp + 0x2b0]
mov edi, dword [esp + 0x2a0]
mov ebp, dword [esp + 0x2a8]
mov dword [esp + 0x14], ecx
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2a8]
push ecx
mov word [esp + 0x28], cx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
call fcn.00403484
mov eax, dword [esp + 0x30]
mov dword [esp + 0x294], 0
test eax, eax
je 0x5ebcee
lea esi, [eax - 1]
cmp esi, eax
jbe 0x5ebcd3
call fcn.005b544b
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x5ebce2
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x5c
mov edx, 0x687028
je 0x5ebcf3
mov edx, 0x687020
mov eax, edx
lea esi, [eax + 2]
jmp 0x5ebd00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ebd00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.004021d3
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x5ebd2d
lea eax, [esp + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x5ebd7f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0
call esi
cmp eax, 2
jne 0x5ebd57
xor eax, eax
jmp 0x5ebd59
call esi
cmp dword [esp + 0x34], 8
mov esi, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [0x719cf0]
mov dword [esi + 4], eax
jb 0x5ebd7b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005b4dd1
add esp, 4
mov eax, esi
jmp 0x5ebdfd
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ebd86
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call fcn.0040302e
test byte [esp + 0x38], 0x10
je 0x5ebdbf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], 3
mov dword [ecx], 3
jmp 0x5ebdd3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx], 2
mov dword [eax], 2
mov ecx, dword [0x719cf4]
mov edi, dword [esp + 0x10]
mov dword [edi], ecx
mov edx, dword [0x719cf8]
mov dword [edi + 4], edx
cmp dword [esp + 0x34], esi
jb 0x5ebdfb
mov eax, dword [esp + 0x20]
push eax
call fcn.005b4dd1
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005bae23
add esp, 0x288
ret
Function at 0x5ecd40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x61bca8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x719d50]
test eax, eax
jne 0x5ecd72
xor esi, esi
jmp 0x5ecd7b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x5ecdbd
cmp dword [esi + 0x14], 0
jne 0x5ecdff
cmp dword [esi + 0x10], 0
jne 0x5ece05
push 0x5eca60
push 0x719d54
call fcn.005ecb50
mov eax, dword [0x719d50]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x5ecdeb
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5ecdeb
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x5ece45
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x5ece33
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
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 ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x5ece05
cmp dword [esi + 0x14], 0
je 0x5ecd97
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5ece6a
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x5ece9b
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5ece9b
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5ece9b
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x5ece4f
jmp 0x5ecd91
Function at 0x5ecf50
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x61bcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x5ecec0
push 0
push 0
call fcn.005bddf5
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x5ecfbc
lea ecx, [esp + 0x10]
call fcn.005b4ebe
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.0042d39a
mov eax, dword [edi + 8]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi + 8]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x5ecfe4
cmp eax, 0xffffffff
je 0x5ecfe4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x5f16d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
test eax, eax
jle 0x5f1781
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
sub edi, ecx
mov esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
jmp 0x5f1706
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x5f1713
add ecx, 4
add edi, 4
dec ebp
jne 0x5f1711
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.005f0540
add esp, 0xc
lea ebp, [esp + 0x20]
mov edx, 4
mov edi, dword [ebp]
xor eax, eax
mov ecx, 0x18
mov ebx, edi
sub ecx, eax
add eax, 8
shr ebx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], bl
jl 0x5f1755
add ebp, 4
dec edx
jne 0x5f1750
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x5f1702
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x5f1790
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], 0x12345678
cdq
and edx, 0xf
mov dword [esp + 4], 0x56785678
add eax, edx
mov dword [esp + 8], 0x9abc5678
sar eax, 4
test eax, eax
mov dword [esp + 0xc], 0xdeff5678
jle 0x5f1875
mov ecx, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
sub esi, ecx
mov edi, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
jmp 0x5f17e6
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x20]
add esi, edi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [esi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x5f17f3
add ecx, 4
add esi, 4
dec ebp
jne 0x5f17f1
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.005f0540
add esp, 0xc
xor esi, esi
mov eax, dword [esp + esi + 0x30]
mov ecx, dword [esp + esi + 0x10]
xor eax, ecx
mov ecx, dword [esp + esi + 0x20]
mov dword [esp + esi + 0x40], eax
mov ebp, eax
mov dword [esp + esi + 0x10], ecx
xor eax, eax
mov ecx, 0x18
mov edx, ebp
sub ecx, eax
add eax, 8
shr edx, cl
inc edi
cmp eax, 0x20
mov byte [edi - 1], dl
jl 0x5f1843
add esi, 4
cmp esi, 0x10
jl 0x5f1829
mov eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x58], eax
jne 0x5f17e2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x5f4150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61be70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], vtable.wxConvAuto.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.005345c0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00527980
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.005347f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00534600
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x61be70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], vtable.wxConvAuto.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.005345c0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00527980
fld qword [esi + 0x10]
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
call fcn.00534920
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00534600
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x5f4300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61be70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], vtable.wxConvAuto.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.005345c0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00527980
movzx eax, byte [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00534880
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00534600
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x5f43e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61be70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], vtable.wxConvAuto.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.005345c0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00527980
movzx eax, word [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.005349c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00534600
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x5f4470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61be70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 8], vtable.wxConvAuto.0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.005345c0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00527980
add esi, 0xc
push esi
lea ecx, [esp + 0x1c]
call fcn.00534da0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00534600
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x5f4870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61bed8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6e377c]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x63dcd0]
mov esi, dword [esp + 0x50]
push eax
push 0
mov edi, ecx
push 0x645548
lea ecx, [esp + 0x18]
call fcn.0050fcd0
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], vtable.wxConvAuto.0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call fcn.00534a70
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 3
call fcn.00527980
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x48], 4
cmp eax, 0xffffffff
je 0x5f491b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5f491b
call fcn.0050ec00
lea ecx, [esp + 0x24]
call fcn.00534fa0
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea ecx, [esp + 0x24]
fstp qword [edi + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.00534620
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005bae23
add esp, 0x40
ret 4