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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x5711ec
sub esp, 0x98
nop
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0xc], eax
mov edx, dword [0x78be40]
test edx, edx
jne 0x570553
mov edx, dword [esp + 0xb8]
jmp 0x570567
call fcn.0046fef0
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
mov dword [ecx + 0x10], edx
test eax, eax
je 0x570c6b
mov ebx, dword [eax + 8]
cmp ebx, 0x7caecac8
ja 0x5708c5
cmp ebx, 0x5fc84698
jne 0x5706cf
lea ebx, [0x622828]
cmp eax, ebx
jne 0x570c6b
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 0x12]
cmp ecx, 5
ja 0x5705cb
mov eax, dword [esp + 0xac]
mov ecx, 1
jmp 0x570619
cmp eax, 0x19
jne 0x570610
mov eax, dword [esp + 0xac]
cmp dword [0x74d0a8], eax
je 0x5705e3
xor ecx, ecx
jmp 0x570619
mov ecx, dword [0x74d0ac]
mov dword [esp], eax
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00408940
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xac]
jmp 0x570619
mov eax, dword [esp + 0xac]
xor ecx, ecx
test cl, cl
jne 0x570694
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
test eax, eax
je 0x57063c
mov ecx, dword [eax + 4]
jmp 0x57063e
mov ecx, eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
lea edx, [0x5e153e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x17
lea edx, [esp + 0x90]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0056ae90
jmp 0x570c6b
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.004af9f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0x691da1a5
jne 0x5707ce
lea ebx, [0x622800]
cmp eax, ebx
jne 0x570c6b
mov eax, dword [0x74d278]
mov ebp, dword [0x74d27c]
mov esi, dword [0x74d280]
mov dword [esp], ecx
mov edi, dword [esp + 0xa0]
mov dword [esp + 4], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 8], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
call fcn.0056e2f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0x7caecac8
jne 0x570c6b
lea ebx, [0x6228a0]
cmp eax, ebx
jne 0x570c6b
mov eax, dword [0x74d278]
mov ebx, dword [0x74d27c]
mov ebp, dword [0x74d280]
mov dword [esp], ecx
mov esi, dword [esp + 0xa0]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
call fcn.0056df20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0x9b5c9e8e
ja 0x570a13
cmp ebx, 0x98e882e7
jne 0x570992
lea ebx, [0x6228c8]
cmp eax, ebx
jne 0x570c6b
mov dword [esp], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0056cd60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0x9b5c9e8e
jne 0x570c6b
lea ebx, [0x6227b0]
cmp eax, ebx
jne 0x570c6b
mov dword [esp], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0xbc969fde
jne 0x570b0a
lea ebx, [0x6228f0]
cmp eax, ebx
jne 0x570c6b
mov eax, dword [0x74d278]
mov ebx, dword [0x74d27c]
mov ebp, dword [0x74d280]
mov dword [esp], ecx
mov esi, dword [esp + 0xa0]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
call fcn.0056dd10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp ebx, 0xe0a72a3b
jne 0x570c6b
lea ebx, [0x6227d8]
cmp eax, ebx
jne 0x570c6b
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov eax, dword [0x74d278]
mov dword [esp + 0x68], eax
mov ebp, dword [0x74d27c]
mov esi, dword [0x74d280]
mov dword [esp + 0x58], esi
nop
mov dword [ecx + 0xc], ebx
mov edi, dword [0x78be40]
test edi, edi
je 0x570b75
call fcn.0046fef0
mov dword [edi], edx
mov esi, dword [ecx + 0x10]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x64], ebp
mov dword [ecx + 0x10], edx
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov dword [esp + 0x54], ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
call fcn.0056e120
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.0056fec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
cmp eax, 0xe
ja 0x570e4b
cmp eax, 6
ja 0x570d6b
cmp eax, 1
je 0x570d08
cmp eax, 2
jb 0x5711de
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.005714a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.00571200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp eax, 0xc
ja 0x570de8
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.00571610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.00571780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp eax, 0x14
ja 0x570f59
cmp eax, 0x10
jbe 0x570ef6
cmp eax, 0x14
jne 0x5711d0
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x6c]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
jne 0x5711c2
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], eax
call fcn.00571a40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.005718f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
cmp eax, 0x18
je 0x57107b
cmp eax, 0x19
jne 0x5711b4
mov eax, dword [esp + 0xac]
cmp dword [0x74d0a8], eax
jne 0x5711a4
mov ecx, dword [0x74d0ac]
mov dword [esp], eax
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00408940
movzx eax, byte [esp + 0xc]
test al, al
je 0x5710f3
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], eax
call fcn.00571a40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
lea eax, [0x5d9a00]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.0040e660
mov eax, dword [esp + 8]
lea ecx, [0x5d9a00]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x571059
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x57105f
or edx, 0x80
jmp 0x57105f
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.00571350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0xb4]
test eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
je 0x571124
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x571141
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea eax, [0x5e5c72]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0056ae90
lea eax, [0x5b1e40]
mov dword [esp], eax
lea eax, [0x621b20]
mov dword [esp + 4], eax
call fcn.0043d570
mov ecx, dword [esp + 0xb4]
test ecx, ecx
mov eax, ecx
jmp 0x5710fc
mov eax, dword [esp + 0xb4]
test eax, eax
jmp 0x5710fc
mov eax, dword [esp + 0xb4]
test eax, eax
jmp 0x5710fc
mov eax, dword [esp + 0xb4]
test eax, eax
jmp 0x5710fc
mov eax, dword [esp + 0xb4]
test eax, eax
jmp 0x5710fc
call fcn.0046eae0
jmp fcn.00570510