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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5718ea
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xc]
cmp cl, 3
jae 0x5714a4
mov ecx, dword [0x8c0f08]
mov edx, dword [0x8c0f0c]
jmp 0x5714bb
cmp cl, 5
jbe 0x5714b7
mov ecx, dword [0x8c0f10]
mov edx, dword [0x8c0f14]
jmp 0x5714bb
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x5715b9
mov word [esp + 0x17c], 0x29
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
lea edi, [esp + 0x7c]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.005719d0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x57154e
mov ebx, dword [esp + 0x18c]
mov eax, ebp
mov ebp, dword [esp + 0x188]
test ebx, ebx
je 0x57154a
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov edx, eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, edx
jmp 0x571794
mov edx, eax
jmp 0x5715cb
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], ebx
lea eax, [0x6a0320]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xe
lea ecx, [0x6c8602]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x571591
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
jmp 0x5715a1
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00463080
mov eax, ecx
lea ecx, [0x7398f0]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
add esp, 0x74
ret
mov dword [esp + 0x3c], edi
mov ebx, eax
sub eax, edx
cmp eax, 0xffff
jle 0x5715ec
mov ecx, dword [0x8c0f48]
mov edx, dword [0x8c0f4c]
mov eax, edx
mov edx, edi
jmp 0x57166b
cmp edi, ecx
jb 0x57176a
mov edx, edi
sub edi, ecx
mov ebp, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ecx, edi
add ecx, esi
cmp ebp, 2
jae 0x571652
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
lea eax, [0x68e6c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.0044b870
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov ebp, eax
shr ax, 8
mov byte [ecx], al
xchg ebp, eax
mov byte [ecx + 1], al
xchg ebp, eax
mov word [esp + 0x184], bp
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x571758
mov edi, dword [esp + 0x78]
movzx ecx, byte [edi + 0xc]
cmp cl, 3
ja 0x5716b6
cmp cl, 2
jne 0x571698
lea ecx, [edi + 0x12]
mov ebp, dword [0x8c0f90]
mov eax, esi
mov esi, dword [0x8c0f94]
jmp 0x5716fa
cmp cl, 3
jne 0x5716f2
lea ecx, [edi + 0x14]
mov ebp, dword [0x8c0f78]
mov edx, dword [0x8c0f7c]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x5716fa
cmp cl, 4
jne 0x5716d4
lea ecx, [edi + 0x16]
mov ebp, dword [0x8c0f80]
mov edx, dword [0x8c0f84]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x5716fa
cmp cl, 5
jne 0x5716f2
lea ecx, [edi + 0x18]
mov ebp, dword [0x8c0f70]
mov edx, dword [0x8c0f74]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
jmp 0x5716fa
mov eax, esi
xor ebp, ebp
xor esi, esi
xor ecx, ecx
movzx edx, word [ecx]
cmp dx, 0xffff
je 0x57170b
inc edx
mov word [ecx], dx
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x571746
mov dword [edi + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 8], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x571727
mov dword [edi], eax
jmp 0x57172c
call fcn.00463080
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x74
ret
mov dword [esp + 0x194], ebp
mov dword [esp + 0x198], esi
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x74
ret
mov edx, edi
call fcn.00463140
mov edx, dword [esp + 0x6c]
lea ebp, [edx + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x6c], ebp
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x68], edx
movzx ebp, word [ebp]
mov word [esp + 0x32], bp
lea ebx, [eax + 2]
cmp edi, ebx
jae 0x5717f8
mov dword [esp + 0x34], eax
lea ecx, [0x68e6c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0044b870
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
movzx ebp, word [esp + 0x32]
shr bp, 8
xchg ebp, ebx
mov byte [esi + eax], bl
xchg ebp, ebx
movzx ebp, word [esp + 0x32]
xchg ebp, ebx
mov byte [esi + eax + 1], bl
xchg ebp, ebx
nop
lea eax, [ebx + 2]
cmp edi, eax
jae 0x571855
mov dword [esp + 0x34], ebx
lea ecx, [0x68e6c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.0044b870
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, 2
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x34]
mov ebp, ecx
shr cx, 8
mov byte [esi + ebx], cl
xchg ebp, eax
mov byte [esi + ebx + 1], al
xchg ebp, eax
nop
lea ecx, [eax + ebp]
mov dword [esp + 0x34], ecx
cmp edi, ecx
jae 0x5718a6
mov dword [esp + 0x48], eax
lea edx, [0x68e6c0]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.0044b870
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], esi
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00463a10
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jg 0x571771
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
jmp 0x5715cb
call fcn.00461c70
jmp fcn.00571470