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

Disassembly:
push 0xffffffffffffffff
push 0x62971e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x6e0ea0]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x65329c]
mov dword [esp + 0x2c], ebx
push ecx
push ebx
push str.path
lea ecx, [esp + 0x20]
call fcn.004e9b90
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.00530df0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.004ea610
mov eax, dword [0x6e0ea0]
lea ecx, [esp + 0x10]
push eax
call fcn.004eb1b0
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll_free]
test eax, eax
lea eax, [ecx - 0xc]
setne byte [esp + 0xf]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x530fa2
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x530fa2
push eax
call ebp
add esp, 4
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2c], 0
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x530fc3
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x530fc3
push eax
call ebp
add esp, 4
mov al, byte [esp + 0xf]
test al, al
je 0x530ff6
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004698b0
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x531177
dec ecx
cmp ecx, ebx
jmp 0x53116d
mov edx, dword [0x65329c]
mov eax, dword [esi + 0x20]
push edx
push eax
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.004eabd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.004ea610
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x2c], 0
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x53103e
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x53103e
push eax
call ebp
add esp, 4
cmp dword [esi + 0x44], 2
je 0x531060
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004698b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
jmp 0x531163
mov eax, dword [esi + 0x48]
add eax, 0x168
cmp byte [eax], 0
je 0x5310c9
mov ecx, dword [0x65329c]
mov esi, dword [esi + 0x20]
push ecx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.004eabd0
mov dword [esp + 0x14], 2
push 0x6d1da4
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 4
call fcn.004eafd0
mov dword [esp + 0x20], 6
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x44], 5
call fcn.004eada0
add esp, 0x18
mov ebx, 0xe
jmp 0x5310cd
lea eax, [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5310e3
mov eax, dword [0x6e0ea0]
mov dword [esi], eax
jmp 0x5310f1
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x5310f1
inc ecx
mov dword [eax - 0xc], ecx
or ebx, 1
test bl, 8
je 0x531118
mov ecx, dword [esp + 0x18]
and ebx, 0xfffffff7
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x531118
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x531118
push eax
call ebp
add esp, 4
test bl, 4
je 0x53113c
mov edx, dword [esp + 0x1c]
and ebx, 0xfffffffb
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x53113c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x53113c
push eax
call ebp
add esp, 4
test bl, 2
je 0x53115c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x53115c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x53115c
push eax
call ebp
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x531177
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x531177
push eax
call ebp
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4