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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x570631
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00570740
mov eax, dword [esp + 4]
test eax, eax
jg 0x5705ed
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], edx
lea ebx, [0x5fc640]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c430
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0056d790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
je 0x57053b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
jmp 0x5701b9
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
lea ebx, [0x6270d8]
mov dword [esp + 4], ebx
call fcn.0056f670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test ebp, ebp
je 0x570527
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
nop
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov byte [esp + 0xc], 0x3a
call fcn.004028f0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x5704c7
mov edx, dword [esp + 0x38]
cmp ecx, edx
ja 0x570624
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00570990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x57026e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
jmp 0x5701b3
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
jmp 0x57027e
inc edx
cmp edx, ebx
jge 0x57029d
jae 0x57061b
movzx esi, byte [ebp + edx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x57027d
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x57027d
cmp edx, ebx
ja 0x570612
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x38]
sub eax, edx
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebp
mov dword [esp + 4], eax
sub ebx, edx
mov dword [esp + 8], ebx
call fcn.00448630
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
lea edx, [0x5fc640]
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
call fcn.0040f4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x570420
lea ebx, [edx + 1]
cmp eax, ebx
jb 0x5703e4
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
lea ebp, [ecx + edx*8 + 4]
mov esi, dword [esp + 0x44]
mov dword [ebp], esi
mov ebp, dword [0x7a0970]
lea edi, [ecx + edx*8]
test ebp, ebp
jne 0x5703d6
mov edx, dword [esp + 0x60]
mov dword [edi], edx
lea eax, [0x5fc640]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.0040fbb0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x7a0970]
test eax, eax
jne 0x5703cb
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x5701b3
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x58]
call fcn.0045de10
jmp 0x57039b
mov eax, dword [esp + 0x60]
call fcn.0045de10
jmp 0x570353
mov dword [esp + 0x20], edx
lea ebp, [0x5db180]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov edx, dword [esp + 0x20]
jmp 0x570325
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x57031a
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x24], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x58], ecx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x5704bc
mov eax, dword [esp + 0x60]
mov dword [edi], eax
lea eax, [0x5fc640]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.0040fbb0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x7a0970]
test eax, eax
jne 0x5704b1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
jmp 0x5703a3
mov eax, dword [esp + 0x4c]
call fcn.0045de10
jmp 0x5704a4
mov eax, dword [esp + 0x60]
call fcn.0045de10
jmp 0x57045c
mov dword [esp], 0
lea eax, [0x61726f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
call fcn.004484b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409130
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
lea ecx, [0x65ef50]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
test ecx, ecx
jbe 0x570629
movzx eax, byte [edx]
cmp al, 0x20
jne 0x5705df
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0056f440
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x570587
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x61a422]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004484b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409130
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
lea ecx, [0x65ef50]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
cmp al, 9
je 0x57054f
jmp 0x5701a9
mov dword [esp + 0x28], eax
lea ecx, [0x5db180]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004450a0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov ecx, eax
jmp 0x570155
mov eax, edx
mov ecx, ebx
call fcn.0045def0
mov eax, edx
mov ecx, ebx
call fcn.0045de90
call fcn.0045ded0
xor eax, eax
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.00570120