joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dfa20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
lea eax, [esp + 0xc]
push eax
call fcn.00525fc0
push 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.005284b0
push esi
lea edx, [esp + 0x30]
push edx
push edi
mov dword [esp + 0x54], 0
call fcn.005dbfd0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
mov dword [esi], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ecx
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00528dc0
mov eax, edi
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.005fb9ce
add esp, 0x40
ret

Function at 0x5dfae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f208
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00523190
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00523dd0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.005da1d0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
mov dword [esi], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ecx
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00523230
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x5dfb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f208
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00523190
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00523dd0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.005dabd0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
mov dword [esi], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ecx
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00523230
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x5dfc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f208
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00523190
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00523dd0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.005db530
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
mov dword [esi], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ecx
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00523230
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x5dfcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f208
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00523190
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00523dd0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.005dbf20
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
mov dword [esi], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ecx
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00523230
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x5eabb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x62fc78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
push eax
call fcn.005ea8d0
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xc]
call fcn.005f3af0
mov ecx, dword [esi + 0x64]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
mov edx, dword [ecx + 8]
push edx
mov edx, dword [esp + 0x2c]
add edx, edi
push edx
mov edx, dword [esp + 0x28]
sub edx, edi
push edx
mov edx, dword [esp + 0x30]
add edx, edi
sub eax, edi
push edx
push eax
mov dword [esp + 0x48], 0
call fcn.005e8fe0
lea eax, [esp + 0xc]
push eax
push edi
push esi
call fcn.005ea880
add esp, 0xc
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.005f3b00
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8
Function at 0x5f1120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx]
push esi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5f114c
test al, 0x10
je 0x5f113c
mov eax, 1
pop esi
ret
and eax, 0x106
neg eax
sbb eax, eax
neg eax
add eax, 2
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x5f3d80
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
lea eax, [esp + 4]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x5f3ddc
push 0
push str.Zuken_error
push str.Can_not_use_Network.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005fb9ce
add esp, 0x194
ret
mov ecx, dword [esp + 0x1a0]
push ecx
push esi
call sub.WSOCK32.dll_gethostname
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
xor eax, eax
call fcn.005fb9ce
add esp, 0x194
ret

Function at 0x5f3e10
Capabilities:
Get session user name

Disassembly:
push ecx
push 0x100
push 0
push 0x6a00a8
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
push 0x6a00a8
mov dword [esp + 8], 0xff
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
neg eax
sbb eax, eax
and eax, 0x6a00a8
pop ecx
ret

Function at 0x5f3e50
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call sub.WSOCK32.dll_select
ret

Function at 0x5f3e90
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, eax
push esi
push edi
test ebx, ebx
jne 0x5f3ebc
mov eax, dword [0x6a01a8]
test eax, eax
je 0x5f3eb7
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [0x6a01a8], ebx
mov ebx, 0x6a01a8
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 2
lea eax, [esp + 0x14]
push eax
push ebp
call edi
mov esi, eax
test esi, esi
jbe 0x5f3ef1
lea ecx, [esi + 1]
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
push esi
push eax
push ebp
mov dword [ebx], eax
call edi
test eax, eax
jbe 0x5f3ef1
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x5f6ca0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x630945
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.005ed1b0
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.005ed1b0
lea ebx, [esi + 0x18]
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.005ed1b0
lea ebp, [esi + 0x24]
mov ecx, ebp
mov byte [esp + 0x20], 2
call fcn.005ed1b0
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 3
call fcn.005ed1b0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 4
call fcn.005ed1b0
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 5
call fcn.005ed1b0
lea ecx, [esi + 0x54]
mov byte [esp + 0x20], 6
call fcn.005ed1b0
push str.V15.000D3
mov ecx, esi
mov byte [esp + 0x24], 7
call fcn.005edbf0
push str.12_08_28
mov ecx, edi
call fcn.005edbf0
push str.V15.000D3
mov ecx, ebx
call fcn.005edbf0
push str.12_08_28
mov ecx, ebp
call fcn.005edbf0
push str.V5.1_SP3
lea ecx, [esi + 0x30]
call fcn.005edbf0
push 0
lea ecx, [esi + 0x3c]
call fcn.005edbf0
push str.V15.000D3
lea ecx, [esi + 0x48]
call fcn.005edbf0
push str.12_08_28
lea ecx, [esi + 0x54]
call fcn.005edbf0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x5f6db0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6309aa
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x54]
mov dword [esp + 0x14], 6
call fcn.005ed430
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 5
call fcn.005ed430
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 4
call fcn.005ed430
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 3
call fcn.005ed430
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.005ed430
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.005ed430
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 0
call fcn.005ed430
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005ed430
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5f70e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x630a33
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebp, [esi + 0x14]
mov ecx, ebp
mov dword [esi], vtable.ZcamDbReadBase.0
call fcn.005f3af0
push fcn.005f3b00
push fcn.005f3af0
push 0x1f
push 0xc
lea ebx, [esi + 0x80]
xor edi, edi
push ebx
mov dword [esp + 0x4c], edi
call fcn.005fbaa7
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x200], edi
mov dword [esi + 8], ecx
push edi
mov ecx, ebp
mov byte [esp + 0x3c], 1
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.005f3cc0
mov dword [ebp], edi
xor eax, eax
mov dword [esi + 0x20], 0x10
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
xor edx, edx
mov word [esi + 0x38], dx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
push 1
push str.ZBD_USE_VIRTUAL_PAD
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
call fcn.005f3f00
add esp, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.005edd80
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.005f0b20
lea eax, [esp + 0x18]
push 0x63708c
push eax
call fcn.005edad0
add esp, 8
test eax, eax
jne 0x5f721d
lea ecx, [esp + 0x18]
push 0x63476c
push ecx
call fcn.005edad0
add esp, 8
test eax, eax
jne 0x5f721d
mov dword [esi + 0x78], 1
jmp 0x5f7220
mov dword [esi + 0x78], edi
mov ebp, ebx
mov dword [esi + 0x7c], edi
mov ebx, 0x1f
lea ebx, [ebx]
push edi
lea ecx, [esp + 0x28]
call fcn.005f3bd0
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
mov byte [esp + 0x3c], 3
call fcn.005f3b90
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.005f3b00
add ebp, 0xc
sub ebx, 1
jne 0x5f7230
lea ecx, [esp + 0x18]
mov dword [esi + 0x204], edi
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x210], 1
mov byte [esp + 0x38], 1
call fcn.005ed430
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x5fb9ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x685e38]
jne 0x5fb9d8
repz ret
jmp fcn.005fc038

Function at 0x5fe950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6310d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.005fe300
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call fcn.005fe660
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
mov dword [0x6a48f4], eax
call fcn.005fe0e0
lea ecx, [esp + 8]
mov esi, eax
mov dword [0x6a48f4], 0
mov dword [esp + 0x20], 0xffffffff
call fcn.005fe5f0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x5fe9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6310d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.005fe300
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call fcn.005fe660
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
call fcn.005fe6e0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.005fe5f0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x622a38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push esi
lea ebp, [ebx + 4]
push ebp
call fcn.0052d1b0
mov edi, eax
sub edi, dword [ebx + 0xc]
test edi, edi
jle 0x602d2f
push esi
push ebp
lea ecx, [esp + 0x24]
call fcn.00520ec0
mov eax, dword [ebx + 0xc]
neg eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.00521790
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00520f30
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esi]
mov dword [esi + 8], edx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x603150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x622a38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x40]
push esi
lea ebp, [ebx + 4]
push ebp
mov dword [esp + 0x4c], eax
call fcn.00527ac0
mov edi, eax
sub edi, dword [esp + 0x44]
test edi, edi
jle 0x6031f7
push ebp
push esi
lea ecx, [esp + 0x24]
call fcn.00520ec0
mov eax, dword [ebx + 0xc]
neg eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.005217d0
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00520f30
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi]
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ecx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x622a38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x40]
push esi
lea ebp, [ebx + 4]
push ebp
mov dword [esp + 0x4c], eax
call fcn.00526d70
mov edi, eax
sub edi, dword [esp + 0x44]
test edi, edi
jle 0x6035b7
push esi
push ebp
lea ecx, [esp + 0x24]
call fcn.00520ec0
mov eax, dword [ebx + 0xc]
neg eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.00521790
mov edx, dword [eax]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00520f30
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi]
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ecx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x607b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6316bb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1c], ecx
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea eax, [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], ecx
lea eax, [esi + 0x20]
mov dword [eax + 8], eax
lea eax, [esi + 0x30]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], eax
mov dword [eax + 0xc], ecx
push 0x14
mov dword [esi + 0x44], ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x607bb6
mov ecx, dword [esi + 0x44]
push 0xf
push ecx
mov ecx, eax
call fcn.0060ec90
jmp 0x607bb8
xor eax, eax
push 0x20
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x40], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x607bea
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
jmp 0x607bec
xor eax, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x609940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x631799
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x609a6a
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
call edx
mov esi, dword [esi]
test eax, eax
je 0x609a26
push 0x40
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 0
test eax, eax
je 0x6099a9
mov ecx, eax
call fcn.005331a0
mov edi, eax
jmp 0x6099ab
xor edi, edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005386a0
fld qword [esp + 0x20]
fld qword [0x644fb0]
mov ebx, dword [esi + 0x38]
fmul st(1), st(0)
mov dword [esp + 0x38], 1
fmul qword [esp + 0x18]
call fcn.005fbb60
mov dword [esp + 0x10], eax
call fcn.005fbb60
xor ecx, ecx
test ebx, ebx
sete cl
lea edx, [esi + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
add esi, 4
push ecx
push edx
push eax
push esi
mov ecx, edi
call fcn.00533500
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004f2200
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 2
test eax, eax
je 0x609aae
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov esi, dword [esi + 4]
push ecx
push edx
push edi
push esi
mov ecx, eax
call fcn.00532c70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 3
test eax, eax
je 0x609aae
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov esi, dword [esi + 8]
push edx
push edi
push ebx
push esi
mov ecx, eax
call fcn.00532c70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret