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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a9819
sub esp, 0x5c
movzx eax, word [esp + 0x68]
cmp ax, 0x1d
jne 0x5a96be
lea eax, [0x634640]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x20
call fcn.00472140
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x5a96a2
mov eax, dword [0x8274e8]
mov dword [esp + 0x40], eax
mov ecx, dword [0x8274ec]
mov dword [esp + 0x30], ecx
mov edx, dword [0x8274f0]
mov dword [esp + 0x34], edx
lea ebx, [0x630820]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [esp + 0xc], 0x20
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
call fcn.0057e5a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x5a9686
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x58], ebx
lea eax, [0x641420]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov dword [edi + 8], 0x20
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5a9628
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
jmp 0x5a9631
mov eax, dword [esp + 0x54]
call fcn.0045f3a0
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5a9652
mov eax, dword [esp + 0x58]
mov dword [edi + 0xc], eax
jmp 0x5a9664
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x58]
mov edx, edi
mov edi, ecx
call fcn.0045f3a0
mov edi, edx
lea eax, [0x6d03d8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x5c
ret
mov word [esp], ax
call fcn.005a9830
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test al, al
je 0x5a97d6
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x64a360]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
movzx ecx, word [esp + 0x68]
mov word [eax + 0x14], cx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
call fcn.00518e20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x44]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov ebx, dword [0x84e4b0]
test ebx, ebx
jne 0x5a976d
mov dword [edi], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
jmp 0x5a978c
call fcn.0045f3a0
lea ebx, [edi + 0xc]
mov eax, ecx
mov ecx, edi
mov edi, ebx
call fcn.0045f3a0
lea edi, [ecx + 0x10]
mov eax, edx
call fcn.0045f3a0
mov edi, ecx
test esi, esi
je 0x5a97b4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0x6d03bc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x67084f]
mov dword [eax], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6cf47c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
call fcn.0045df90
jmp fcn.005a94d0