Function at 0x5a6fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x687e36
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push esi
push edi
mov eax, dword [0x9c48d0]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], ebx
call fcn.005b7100
mov edx, dword [eax]
mov edx, dword [edx + 4]
push esi
push edi
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x4e0], ebx
test eax, eax
je 0x5a705a
cmp dword [eax + 8], ebx
je 0x5a705a
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8c]
call fcn.005c88e0
mov eax, dword [eax]
mov ebx, 1
test eax, eax
je 0x5a705a
cmp dword [eax + 8], 0
mov byte [esp + 0x13], 0
jne 0x5a705f
mov byte [esp + 0x13], 1
test bl, 1
je 0x5a706d
lea ecx, [esp + 0x14]
call fcn.005935f0
cmp byte [esp + 0x13], 0
je 0x5a70d1
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [edi + 0x48]
call fcn.005cb2d0
push eax
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x4e8], 1
call fcn.005cab40
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x4e4], 2
call fcn.005cb170
lea ecx, [esp + 0x50]
mov byte [esp + 0x4e0], 1
call fcn.00593cf0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4e0], 0
call fcn.00593cf0
mov esi, dword [edi + 0x78]
add edi, 0x70
test esi, esi
je 0x5a71c4
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x5a70fa
push edi
lea ecx, [esp + 0x1c]
call fcn.005ba8d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
call fcn.0059bf90
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
mov byte [esp + 0x4e4], 3
call fcn.005c9cd0
mov bl, al
mov dword [esp + 0x50], 0x6941a0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x4e0], 5
mov dword [esp + 0x68], 0x690ac0
test eax, eax
je 0x5a7156
dec dword [eax + 4]
mov ecx, eax
jne 0x5a714e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x4e0], 4
mov dword [esp + 0x60], 0x690ac0
test eax, eax
je 0x5a7185
dec dword [eax + 4]
mov ecx, eax
jne 0x5a717d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x4e0], 0
call fcn.005935f0
test bl, bl
je 0x5a71b6
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
test esi, esi
je 0x5a71a8
mov esi, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.005baba0
jmp 0x5a71bc
test esi, esi
je 0x5a71c4
mov esi, dword [esi]
test esi, esi
jne 0x5a70df
lea ecx, [esp + 0x84]
mov dword [esp + 0x4e0], 0xffffffff
call fcn.00593cf0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x6c]
lea edx, [esp + 0x30]
push edx
call fcn.00593b90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x4e8], 6
call fcn.005cbec0
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x4ec], 7
call fcn.005929b0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x4f4], 8
call fcn.005cbec0
add esp, 0x14
mov edi, dword [esp + 0x34]
mov edx, dword [0x9c1588]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
push 0
push 0
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0x4ec], 0xa
call fcn.005cbf30
test eax, eax
je 0x5a7563
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5a727d
mov eax, dword [eax + 0xc]
jmp 0x5a7282
mov eax, dword [0x9c1588]
push 0
push eax
mov ecx, edi
call fcn.005cb800
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.005cbf30
test eax, eax
je 0x5a755c
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push str.INCL
push edx
call fcn.005c3a90
add esp, 0xc
test eax, eax
je 0x5a737a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5a72cd
mov eax, dword [eax + 0xc]
jmp 0x5a72d2
mov eax, dword [0x9c1588]
push 0
push eax
mov ecx, edi
call fcn.005cb800
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call fcn.005c7480
mov esi, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
mov byte [esp + 0x4e4], 0xb
call fcn.005c7480
mov ecx, dword [eax]
push 0
push esi
mov byte [esp + 0x4e8], 0xc
call fcn.00592560
mov esi, dword [esp + 0x48]
mov byte [esp + 0x4e0], 0xb
mov dword [esp + 0x48], 0
test esi, esi
je 0x5a733f
lea edx, [esi + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a733f
mov ecx, esi
call fcn.005c1030
mov esi, dword [esp + 0x44]
mov byte [esp + 0x4e0], 0xa
mov dword [esp + 0x44], 0
test esi, esi
je 0x5a736e
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a736e
mov ecx, esi
call fcn.005c1030
mov ecx, edi
call fcn.005cba10
jmp 0x5a753d
mov ecx, dword [0x9c1588]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x400
lea eax, [esp + 0xd0]
push eax
mov ecx, ebx
mov byte [esp + 0x4e8], 0xd
call edx
test eax, eax
je 0x5a7402
mov edi, edi
push eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x84]
call fcn.005c5b70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e4], 0xe
call fcn.005c5610
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4e0], 0xd
call fcn.005935f0
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x400
lea eax, [esp + 0xd0]
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x5a73b0
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5a74ae
cmp dword [edx + 8], 0
je 0x5a7453
mov eax, dword [edx + 0xc]
cmp byte [eax], 0xa
jne 0x5a7453
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x20]
call fcn.005c63e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e4], 0xf
call fcn.00592a60
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e0], 0xd
call fcn.005935f0
jmp 0x5a7402
test edx, edx
je 0x5a74ae
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x5a74ae
lea eax, [ecx - 1]
mov edi, edx
mov esi, eax
test eax, eax
je 0x5a747f
jns 0x5a7472
lea esi, [ecx + eax]
test esi, esi
js 0x5a7476
cmp esi, ecx
jle 0x5a747f
call fcn.005c18d0
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
cmp byte [eax + esi], 0xa
jne 0x5a74aa
test edx, edx
je 0x5a7491
mov edx, dword [edx + 8]
jmp 0x5a7493
xor edx, edx
push 0
dec edx
push edx
lea ecx, [esp + 0x1c]
call fcn.005c5870
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
jmp 0x5a7453
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.005c3a40
add esp, 0xc
test eax, eax
je 0x5a752c
push 0
push str.INCL
mov ecx, edi
call fcn.005cb800
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.005c7480
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov byte [esp + 0x4e4], 0x10
call fcn.00592480
mov esi, dword [esp + 0x28]
mov byte [esp + 0x4e0], 0xd
mov dword [esp + 0x28], 0
test esi, esi
je 0x5a7525
lea edx, [esi + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a7525
mov ecx, esi
call fcn.005c1030
mov ecx, edi
call fcn.005cba10
lea ecx, [esp + 0x14]
mov byte [esp + 0x4e0], 0xa
call fcn.005935f0
mov ecx, ebx
call fcn.005cba10
push 0
push 0
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.005cbf30
test eax, eax
jne 0x5a72a4
mov ecx, edi
call fcn.005cba10
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 0
push 0
push 0
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00596220
add esp, 8
mov edi, dword [esp + 0x40]
push eax
lea ecx, [edi + 0x6c]
mov byte [esp + 0x4e4], 0x11
call fcn.005c1190
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0x4e0], 0xa
mov dword [esp + 0x28], ebx
cmp esi, ebx
je 0x5a75c8
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a75c8
mov ecx, esi
call fcn.005c1030
push ebx
push 0x80
push ebx
lea ecx, [edi + 0x94]
push ebx
mov dword [edi + 0x8c], 0xffffffff
call fcn.005c6fa0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e0], 9
call fcn.005935f0
mov esi, dword [esp + 0x34]
mov byte [esp + 0x4e0], 8
mov dword [esp + 0x34], ebx
cmp esi, ebx
je 0x5a7621
lea ecx, [esi + 4]
push ecx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a7621
mov ecx, esi
call fcn.005c1030
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x4e0], 7
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0x5a764c
lea edx, [esi + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a764c
mov ecx, esi
call fcn.005c1030
mov esi, dword [esp + 0x38]
mov byte [esp + 0x4e0], 6
mov dword [esp + 0x38], ebx
cmp esi, ebx
je 0x5a7677
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a7677
mov ecx, esi
call fcn.005c1030
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4e0], 0xffffffff
mov dword [esp + 0x30], ebx
cmp esi, ebx
je 0x5a76a5
lea ecx, [esi + 4]
push ecx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5a76a5
mov ecx, esi
call fcn.005c1030
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret 4