Function at 0x1005d540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b5d00
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
cmp byte [edx], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x1005d5d5
xor ecx, ecx
jmp 0x1005d5e9
mov ecx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d5e0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.10007fc0
mov byte [esp + 0x44], 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x10]
push 0x2c
push eax
call fcn.10018900
add esp, 0xc
mov byte [esp + 0x44], 0
cmp dword [esp + 0x20], 0x10
jb 0x1005d625
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x2c]
sub ecx, esi
imul ecx
mov dword [esp + 0x20], 0xf
sar edx, 2
mov eax, edx
mov dword [esp + 0x1c], 0
shr eax, 0x1f
add eax, edx
mov byte [esp + 0xc], 0
cmp eax, 2
jb 0x1005d79d
cmp dword [esi + 0x14], 0x10
jb 0x1005d666
mov esi, dword [esi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp byte [esi], 0
jne 0x1005d694
xor ecx, ecx
jmp 0x1005d6a9
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d6a0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.10007fc0
mov byte [esp + 0x44], 2
lea eax, [esp + 0xc]
push 0xa
push 0
push eax
call fcn.1005dbd0
add esp, 0xc
mov dword [edi + 0x148], eax
mov byte [esp + 0x44], 0
cmp dword [esp + 0x20], 0x10
jb 0x1005d6e8
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
mov edx, dword [esp + 0x2c]
add edx, 0x18
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp dword [edx + 0x14], 0x10
jb 0x1005d70c
mov edx, dword [edx]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp byte [edx], 0
jne 0x1005d73a
xor ecx, ecx
jmp 0x1005d749
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d740
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.10007fc0
mov byte [esp + 0x44], 3
lea eax, [esp + 0xc]
push 0xa
push 0
push eax
call fcn.1005dbd0
add esp, 0xc
mov dword [edi + 0x14c], eax
mov byte [esp + 0x44], 0
cmp dword [esp + 0x20], 0x10
jb 0x1005d788
push dword [esp + 0xc]
call fcn.10034183
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1005d7e4
push dword [esp + 0x28]
lea ecx, [esp + 0x2b]
push ecx
push dword [esp + 0x38]
push eax
call fcn.10018ea0
push dword [esp + 0x3c]
call fcn.10034183
add esp, 0x14
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10033901
add esp, 0x3c
ret 8