Function at 0x1005c3e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100707ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
push ebx
push ecx
mov ecx, dword [esp + 0x68]
mov ebp, 0xd
push ebx
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], ebp
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.1005da20
cmp dword [eax], 8
jne 0x1005c869
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x20]
push ebx
push edx
mov eax, dword [ecx]
push 0x10078078
call dword [eax + 0x3c]
mov ecx, eax
call fcn.1000bbe0
cmp dword [eax], 1
je 0x1005c46b
lea ecx, [esp + 0x20]
call fcn.10045c00
jmp 0x1005c869
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x20]
call fcn.10045c00
cmp dword [edi + 4], ebx
jle 0x1005c869
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x20]
push ebx
push edx
mov eax, dword [ecx]
push 0x100a9a50
call dword [eax + 0x3c]
mov ecx, eax
call fcn.1000bbe0
mov ecx, dword [eax]
cmp ecx, 1
lea ecx, [esp + 0x20]
je 0x1005c4b4
call fcn.10045c00
jmp 0x1005c869
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], esi
call fcn.10045c00
cmp esi, ebx
jl 0x1005c869
mov esi, dword [edi + 4]
cmp esi, 0xf4240
jle 0x1005c4ea
push 0x101e1174
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
jmp 0x1005c869
mov ecx, esi
shl ecx, 4
push ecx
call fcn.10060e1a
add esp, 4
cmp eax, ebx
je 0x1005c510
lea edx, [esi - 1]
mov ecx, eax
cmp edx, ebx
jl 0x1005c512
inc edx
mov dword [ecx], ebp
add ecx, 0x10
dec edx
jne 0x1005c506
jmp 0x1005c512
xor eax, eax
mov edx, dword [edi + 4]
push 4
push edx
mov dword [edi + 8], eax
call fcn.10032570
mov dword [edi + 0xc], eax
mov eax, dword [edi + 4]
push 4
push eax
call fcn.10032570
mov ecx, dword [esp + 0x48]
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
call dword [edx + 8]
push 0x28
mov dword [esp + 0x24], 5
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x64], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x58], ebp
je 0x1005c57e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x3c]
push 1
push edx
push ecx
mov ecx, eax
call fcn.1004f830
mov dword [esp + 0x64], eax
jmp 0x1005c582
mov dword [esp + 0x64], ebp
push 0x38
mov dword [esp + 0x5c], 0xffffffff
call fcn.10060e1a
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov dword [esp + 0x58], 1
je 0x1005c5ea
push 0xa0
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x58], 2
je 0x1005c5d3
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
push ecx
mov ecx, eax
call fcn.10043360
jmp 0x1005c5d5
xor eax, eax
mov edx, dword [esp + 0x60]
push ebp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.10048c90
mov ebp, eax
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x58], 0xffffffff
jle 0x1005c6a3
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
push 1
push eax
mov ecx, ebp
call fcn.10048d10
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push 1
push ecx
mov ecx, ebp
call fcn.10048d10
mov ecx, dword [esp + 0x20]
mov eax, 1
cmp ecx, eax
jne 0x1005c72e
cmp dword [esp + 0x40], eax
jne 0x1005c72e
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x28]
mov dword [edx + esi*4], eax
mov ecx, dword [esp + 0x48]
mov dword [ebx + esi*4], ecx
lea ecx, [esp + 0x20]
call fcn.10045c00
lea ecx, [esp + 0x40]
call fcn.10045c00
mov edx, dword [edi + 0xc]
cmp dword [edx + esi*4], 0
jl 0x1005c740
mov eax, dword [ebx + esi*4]
test eax, eax
jl 0x1005c740
test esi, esi
jle 0x1005c697
cmp eax, dword [ebx + esi*4 - 4]
jl 0x1005c740
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x1005c5ff
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x1005c6a3
test ebp, ebp
je 0x1005c6c5
mov ecx, ebp
call fcn.10048ce0
push ebp
call fcn.10060e0f
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
cmp esi, eax
jge 0x1005c6df
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebx]
inc esi
cmp esi, eax
jl 0x1005c6cf
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
jle 0x1005c855
mov dword [esp + 0x64], ebx
dec eax
mov dword [esp + 0x20], 5
cmp ebx, eax
push 0x28
jne 0x1005c75f
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x58], 3
je 0x1005c789
push 0
push 0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.1004f830
jmp 0x1005c78b
lea ecx, [esp + 0x20]
call fcn.10045c00
lea ecx, [esp + 0x40]
call fcn.10045c00
test ebp, ebp
je 0x1005c754
mov ecx, ebp
call fcn.10048ce0
push ebp
call fcn.10060e0f
add esp, 4
push ebx
call fcn.10032620
jmp 0x1005c866
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x58], 4
je 0x1005c789
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx*4 + 4]
mov esi, dword [ecx + ebx*4]
sub edx, esi
push edx
push 1
jmp 0x1005c71b
xor eax, eax
push 0x38
mov dword [esp + 0x5c], 0xffffffff
mov ebp, eax
call fcn.10060e1a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x58], 5
je 0x1005c7f4
push 0xa0
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x58], 6
je 0x1005c7da
mov ecx, dword [esp + 0x60]
push ebp
push ecx
mov ecx, eax
call fcn.10043360
jmp 0x1005c7dc
xor eax, eax
mov edx, dword [esp + 0x60]
push 0
push eax
push edx
mov ecx, esi
mov byte [esp + 0x64], 5
call fcn.10048c90
mov esi, eax
jmp 0x1005c7f6
xor esi, esi
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x64]
push 0
push 0
push 0
push 0
push 0
push 0
add eax, edx
push 0
push eax
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.10048d10
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x1005c81d
test esi, esi
je 0x1005c83e
mov ecx, esi
call fcn.10048ce0
push esi
call fcn.10060e0f
add esp, 4
mov edx, dword [esp + 0x64]
mov eax, dword [edi + 4]
inc ebx
add edx, 0x10
cmp ebx, eax
mov dword [esp + 0x64], edx
jl 0x1005c6f0
mov eax, dword [esp + 0x14]
push eax
call fcn.10032620
mov dword [edi + 0x10], 1
add esp, 4
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8