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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a34a3
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
test ecx, ecx
jne 0x5a314f
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
cmp ecx, 5
jne 0x5a3190
cmp dword [edx], 0x65732121
je 0x5a316f
cmp ecx, 5
jmp 0x5a317c
cmp byte [edx + 4], 0x71
je 0x5a322b
cmp ecx, 5
jne 0x5a3190
cmp dword [edx], 0x616d2121
jne 0x5a3190
cmp byte [edx + 4], 0x70
je 0x5a322b
cmp ebp, 0xa
jle 0x5a31db
mov dword [esp], 0
lea eax, [0x62dc8f]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 7
lea eax, [0x62dfbc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.0044acd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x5a321b
mov dword [esp], 0
lea eax, [0x62dc8f]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
lea eax, [0x62dc7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044acd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebp, ecx
mov ebx, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
cmp ecx, 0x12
jge 0x5a323c
xor esi, esi
jmp 0x5a3271
mov dword [esp], edx
lea eax, [0x632cd8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.004025c0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x70]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5a3301
mov eax, dword [0x7bf7b0]
lea ebx, [0x6083c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0040f130
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x5a32b1
mov ecx, eax
jmp 0x5a3301
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x12
jb 0x5a3498
mov dword [esp], 0
lea eax, [0x62dc91]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [ecx - 0x12]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x12
mov edx, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ac30
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0045eb78
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x48]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x606780]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5a33be
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
lea eax, [0x63bfb0]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c2d00
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea edi, [ecx + 1]
cmp ebx, edi
jae 0x5a3470
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebp
lea eax, [0x606f80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x10], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5a345c
mov dword [ebx + 8], eax
jmp 0x5a3464
lea edi, [ebx + 8]
call fcn.0045e950
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edx, eax
mov eax, ebx
lea ebx, [ecx + 1]
mov dword [eax + 0xc], ebx
lea ebx, [edx + ecx*8 + 4]
mov dword [ebx], esi
mov ebx, dword [0x7e77b0]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x5a348d
mov dword [edi], ebp
jmp 0x5a3494
mov eax, ebp
call fcn.0045e950
add esp, 0x68
ret
mov eax, 0x12
call fcn.0045ea30
nop
call fcn.0045d540
jmp fcn.005a3120