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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a393d
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ebx, dword [0x85afb0]
mov ebp, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
lea esi, [0x85afb0]
cmp dword [esi + 4], ebp
jne 0x5a3582
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00402620
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a3792
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x5a3752
movzx ebx, word [ecx + 0x80]
test bx, bx
jne 0x5a3712
movzx ecx, word [ecx + 0x54]
test cx, cx
je 0x5a36d2
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
movzx edx, word [esp + 4]
cmp word [ecx + 0x54], dx
jne 0x5a368e
movzx edx, byte [ecx + 0x64]
test dl, dl
je 0x5a367a
mov edx, dword [eax + 0x10]
movzx ecx, word [ecx + 0x66]
mov edx, dword [edx + 0xe4]
cmp edx, ecx
jle 0x5a3636
cmp edx, 1
jne 0x5a3611
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x5a3611
movzx ecx, word [ecx + 0xe]
mov edx, dword [0x85af50]
mov ebx, dword [0x85af54]
xor ebp, ebp
jmp 0x5a37d7
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x6991b0]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x69a4ec]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov dword [esp], edx
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x6998d1]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov dword [esp], edx
mov byte [esp + 4], 0x32
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x698c62]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov dword [esp], edx
mov byte [esp + 4], 0x6e
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x69d8f7]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x69cfe3]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
inc ebp
cmp ebp, ebx
jge 0x5a37e5
mov esi, dword [edx + ebp*4]
cmp word [esi], cx
jne 0x5a37d6
jmp 0x5a37e7
xor esi, esi
test esi, esi
je 0x5a3918
mov ecx, dword [eax + 0x40]
mov edx, dword [esi + 0xc]
cmp dword [ecx + 0xc], edx
jne 0x5a38d4
mov byte [eax + 0x3c], 1
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x30], 1
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [ecx + 0x50], ebp
mov dword [ecx + 0x54], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a382b
mov dword [ecx + 0x4c], ebx
jmp 0x5a3839
lea edi, [ecx + 0x4c]
mov edx, eax
mov eax, ebx
call fcn.0045f750
mov eax, edx
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + 0x28]
mov ebp, dword [edx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [ecx + 0x5c], ebp
mov dword [ecx + 0x60], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a385a
mov dword [ecx + 0x58], ebx
jmp 0x5a3868
lea edi, [ecx + 0x58]
mov edx, eax
mov eax, ebx
call fcn.0045f750
mov eax, edx
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + 0x48]
mov ebp, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
mov dword [ecx + 0x38], ebp
mov dword [ecx + 0x3c], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a3889
mov dword [ecx + 0x34], ebx
jmp 0x5a3897
lea edi, [ecx + 0x34]
mov edx, eax
mov eax, ebx
call fcn.0045f750
mov eax, edx
mov edx, dword [eax + 0x1c]
mov eax, dword [edx + 0x54]
mov ebx, dword [edx + 0x58]
mov edx, dword [edx + 0x5c]
mov dword [ecx + 0x44], ebx
mov dword [ecx + 0x48], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a38b8
mov dword [ecx + 0x40], eax
jmp 0x5a38c0
lea edi, [ecx + 0x40]
call fcn.0045f750
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x69ef4b]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
add esp, 0x14
ret
call fcn.0045e340
jmp fcn.005a3520