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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a778d
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0xa17cb0]
mov dword [esp], eax
call fcn.00466c50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x66f1e0]
cmp ecx, edx
jne 0x5a776d
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x5a77a0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
xor ebx, ebx
jmp 0x5a73c7
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea ebx, [esi + ebp]
mov ecx, dword [esp + 0x48]
sub ecx, ebp
mov eax, dword [esp + 0x44]
sub eax, ebp
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, esi
mov esi, dword [esp + 0x4c]
lea edx, [esi + ebp]
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x5a75ae
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
movzx ecx, byte [esp + 0x74]
mov byte [esp + 4], cl
call fcn.005a6dc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jg 0x5a7402
mov eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
cmp ebx, 5
jge 0x5a7446
lea eax, [0x67e920]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
call fcn.004475f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, 5
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], ebx
movzx ebx, byte [esp + 0x74]
mov byte [edx], bl
mov edx, dword [esp + 0x70]
movzx ebp, word [edx + 0x24]
test bp, bp
jne 0x5a7471
mov ebp, 0x301
jmp 0x5a747d
cmp bp, 0x304
jne 0x5a747d
mov ebp, 0x303
mov esi, dword [esp + 0x50]
mov edi, ebp
shr bp, 8
xchg ebp, eax
mov byte [esi + 1], al
xchg ebp, eax
mov ebp, dword [esp + 0x50]
xchg edi, eax
mov byte [ebp + 2], al
xchg edi, eax
mov ebp, dword [esp + 0x50]
mov esi, eax
sar eax, 8
mov byte [ebp + 3], al
mov eax, dword [esp + 0x50]
xchg esi, ebx
mov byte [eax + 4], bl
xchg esi, ebx
mov eax, dword [edx + 0x28]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
test ebp, ebp
jne 0x5a74c4
mov ebp, dword [0xa1d2f0]
mov eax, dword [0xa1d2f4]
lea ecx, [edx + 0x120]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call fcn.005a32c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
test ebx, ebx
jne 0x5a7584
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005a7020
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5a739e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
movzx ecx, byte [esp + 0x74]
cmp cl, 0x14
jne 0x5a7729
mov ecx, dword [esp + 0x70]
cmp word [ecx + 0x24], 0x304
je 0x5a7729
mov ebp, dword [ecx + 0x15c]
mov eax, dword [ecx + 0x160]
test ebp, ebp
je 0x5a76bf
cmp word [ecx + 0x130], 0x304
je 0x5a76bf
mov dword [ecx + 0x134], ebp
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5a7607
mov dword [ecx + 0x138], eax
jmp 0x5a7612
lea edi, [ecx + 0x138]
call fcn.0045f670
mov eax, dword [ecx + 0x168]
mov edx, dword [ecx + 0x164]
mov dword [ecx + 0x13c], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5a7636
mov dword [ecx + 0x140], eax
jmp 0x5a7641
lea edi, [ecx + 0x140]
call fcn.0045f670
mov dword [ecx + 0x15c], 0
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5a7661
mov dword [ecx + 0x160], 0
jmp 0x5a766e
lea edi, [ecx + 0x160]
xor eax, eax
call fcn.0045f670
mov dword [ecx + 0x164], 0
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5a768e
mov dword [ecx + 0x168], 0
jmp 0x5a769b
lea edi, [ecx + 0x168]
xor eax, eax
call fcn.0045f670
lea eax, [ecx + 0x144]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0045fc90
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
xor edx, edx
xor eax, eax
jmp 0x5a76d4
mov eax, 0x50
lea ebp, [0x9f8b40]
lea eax, [ebp + eax*8]
lea edx, [0x8956c0]
test edx, edx
je 0x5a7729
mov ebp, dword [0x8956c4]
lea esi, [0x8956c0]
cmp edx, esi
jne 0x5a7757
movzx eax, byte [eax]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.005a6ae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov dword [esp + 4], ebp
lea eax, [0x685e40]
mov dword [esp + 8], eax
call fcn.00408690
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x67e020]
mov dword [esp + 8], eax
call fcn.004085f0
nop
call fcn.00432c40
add esp, 0x6c
ret
call fcn.0045e260
jmp fcn.005a72d0