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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x572c5a
sub esp, 0x8c
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x14], edx
call fcn.005343b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov byte [esp + 0x7c], 0
nop
xor eax, eax
test al, al
je 0x572933
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0x3a
mov eax, 2
lea ecx, [esp + 0x3c]
jmp 0x57294c
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 0x3a
mov eax, 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [0x5b0a60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f090
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
jmp 0x5729d1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], eax
lea ebp, [eax + 1]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00452920
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], eax
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ebx, [esp + 0x7c]
mov dword [esp], ebx
lea ebp, [esp + 0x5c]
mov dword [esp + 4], ebp
call fcn.0052aa00
mov eax, dword [esp + 8]
test eax, eax
jle 0x572b41
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 8], ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.0052a7d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
test eax, eax
jne 0x572a86
xor eax, eax
xor edx, edx
jmp 0x572a94
mov edx, dword [ecx]
cmp eax, 1
jle 0x572a92
mov eax, dword [ecx + 4]
jmp 0x572a94
xor eax, eax
movzx ecx, byte [esp + 0x4c]
test cl, cl
je 0x572aaa
xor ecx, ecx
sub ecx, edx
mov ebx, 0
sbb ebx, eax
jmp 0x572aae
mov ecx, edx
mov ebx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
lea eax, [0x5ae8e0]
mov dword [esp], eax
call fcn.0040a590
mov eax, dword [esp + 4]
mov ecx, dword [0x6b0a3c]
mov edx, dword [0x6b0a38]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x572c50
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
jae 0x572c49
movzx ecx, byte [edx + ebx]
mov byte [eax], cl
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
cmp edx, 1
ja 0x572b08
mov ebx, 1
jmp 0x5729a2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
lea eax, [0x5b0a60]
mov dword [esp + 0x10], eax
call fcn.0043f150
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x5729a2
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
xor esi, esi
jmp 0x572baf
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], eax
lea ebp, [eax + 1]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00452920
mov eax, dword [esp + 0x34]
lea esi, [eax + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
cmp ebx, esi
jle 0x572c2d
movzx edi, byte [esi + ebp]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x572c2d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], esi
lea eax, [0x5ae8e0]
mov dword [esp], eax
call fcn.0040a590
mov eax, dword [esp + 4]
mov byte [eax], 0x31
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
cmp edx, 1
ja 0x572bf4
mov ebx, 1
jmp 0x572b5f
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
lea eax, [0x5b0a60]
mov dword [esp + 0x10], eax
call fcn.0043f150
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x572b5f
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x8c
ret
mov eax, ebx
call fcn.004520a0
mov eax, dword [esp + 0x2c]
call fcn.00452150
nop
call fcn.00450c10
jmp fcn.00572860