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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x572526
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x571ded
lea eax, [0x647b80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [0xe996c0]
test eax, eax
jne 0x571bec
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x571bf5
mov eax, dword [esp + 0x68]
call fcn.0045efc0
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x571c39
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x571c0f
xor edx, edx
xor ebp, ebp
jmp 0x571c60
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
jmp 0x571c60
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edx
mov esi, dword [eax + 0x140]
mov ecx, dword [eax + 0x144]
cmp ecx, 4
jne 0x571c83
cmp dword [esi], 0x78696e75
je 0x571cd7
jmp 0x571cfc
cmp ecx, 8
jne 0x571c9b
cmp dword [esi], 0x78696e75
jne 0x571cfc
cmp dword [esi + 4], 0x6d617267
je 0x571cd7
jmp 0x571cfc
cmp ecx, 0xa
jne 0x571cfc
mov dword [esp], esi
lea eax, [0x6745fd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x571ce8
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
jmp 0x571d9a
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
movzx ebx, byte [esi + ecx - 1]
cmp bl, 0x34
je 0x571d9a
cmp bl, 0x36
je 0x571d9a
cmp dword [eax + 0x134], 2
jne 0x571d60
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x6d1390]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044ad20
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x571d9a
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x6d1394]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044ad20
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x84]
mov ebx, dword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
lea ecx, [0x6d4000]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x84]
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x572514
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x571dfb
xor ebp, ebp
xor esi, esi
jmp 0x571e74
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x572502
test ebp, ebp
je 0x571e74
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0048fc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x572497
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x571f3a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x571f28
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00564050
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x571f16
mov eax, dword [esp + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x571f62
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00563f40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x572485
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048fce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x57213b
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x571fc5
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x571fab
lea ebp, [0x68cac0]
jmp 0x572002
cmp ebp, 2
jne 0x571fb8
lea ebp, [0x68cab8]
jmp 0x572002
cmp ebp, 5
jne 0x571ffc
lea ebp, [0x68cabc]
jmp 0x572002
cmp ebp, 2
je 0x571fcf
cmp ebp, 0x17
jne 0x571ffc
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x571fe2
lea ebp, [0x68cab0]
jmp 0x572002
cmp ebp, 2
jne 0x571fef
lea ebp, [0x68cab4]
jmp 0x572002
cmp ebp, 3
jne 0x571ffc
lea ebp, [0x68caac]
jmp 0x572002
lea ebp, [0x68ca5c]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x57205c
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x572042
lea ecx, [0x68cac0]
jmp 0x572099
cmp ecx, 2
jne 0x57204f
lea ecx, [0x68cab8]
jmp 0x572099
cmp ecx, 5
jne 0x572093
lea ecx, [0x68cabc]
jmp 0x572099
cmp ecx, 2
je 0x572066
cmp ecx, 0x17
jne 0x572093
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x572079
lea ecx, [0x68cab0]
jmp 0x572099
cmp ecx, 2
jne 0x572086
lea ecx, [0x68cab4]
jmp 0x572099
cmp ecx, 3
jne 0x572093
lea ecx, [0x68caac]
jmp 0x572099
lea ecx, [0x68ca60]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x5720da
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x5720ed
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0045efc0
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x572105
mov dword [ebp + 0x154], eax
jmp 0x572110
lea edi, [ebp + 0x154]
call fcn.0045efc0
lea eax, [0x66d380]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x63b8e0]
mov dword [esp + 8], eax
lea eax, [0x68ca58]
mov dword [esp + 0xc], eax
call fcn.00414630
jmp 0x57246b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048fdc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x572325
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x5721aa
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x572190
lea edx, [0x68cac0]
jmp 0x5721e7
cmp ebp, 2
jne 0x57219d
lea edx, [0x68cab8]
jmp 0x5721e7
cmp ebp, 5
jne 0x5721e1
lea edx, [0x68cabc]
jmp 0x5721e7
cmp ebp, 2
je 0x5721b4
cmp ebp, 0x17
jne 0x5721e1
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5721c7
lea edx, [0x68cab0]
jmp 0x5721e7
cmp ebp, 2
jne 0x5721d4
lea edx, [0x68cab4]
jmp 0x5721e7
cmp ebp, 3
jne 0x5721e1
lea edx, [0x68caac]
jmp 0x5721e7
lea edx, [0x68ca64]
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x572246
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x57222c
lea ecx, [0x68cac0]
jmp 0x572283
cmp ecx, 2
jne 0x572239
lea ecx, [0x68cab8]
jmp 0x572283
cmp ecx, 5
jne 0x57227d
lea ecx, [0x68cabc]
jmp 0x572283
cmp ecx, 2
je 0x572250
cmp ecx, 0x17
jne 0x57227d
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x572263
lea ecx, [0x68cab0]
jmp 0x572283
cmp ecx, 2
jne 0x572270
lea ecx, [0x68cab4]
jmp 0x572283
cmp ecx, 3
jne 0x57227d
lea ecx, [0x68caac]
jmp 0x572283
lea ecx, [0x68ca68]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x5722c4
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x14c], edx
jmp 0x5722d7
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0045efc0
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5722ef
mov dword [ebp + 0x154], eax
jmp 0x5722fa
lea edi, [ebp + 0x154]
call fcn.0045efc0
lea eax, [0x66d380]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x63b8e0]
mov dword [esp + 8], eax
lea eax, [0x68ca58]
mov dword [esp + 0xc], eax
call fcn.00414630
jmp 0x57246b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x572361
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x572347
lea ecx, [0x68cac0]
jmp 0x57239e
cmp ecx, 2
jne 0x572354
lea ecx, [0x68cab8]
jmp 0x57239e
cmp ecx, 5
jne 0x572398
lea ecx, [0x68cabc]
jmp 0x57239e
cmp ecx, 2
je 0x57236b
cmp ecx, 0x17
jne 0x572398
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x57237e
lea ecx, [0x68cab0]
jmp 0x57239e
cmp ecx, 2
jne 0x57238b
lea ecx, [0x68cab4]
jmp 0x57239e
cmp ecx, 3
jne 0x572398
lea ecx, [0x68caac]
jmp 0x57239e
lea ecx, [0x68ca6c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea ebx, [0x648f00]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.00408a70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x572401
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x14c], ecx
jmp 0x572414
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045efc0
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x572433
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x154], eax
jmp 0x572445
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x80]
call fcn.0045efc0
lea eax, [0x66d380]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x63b8e0]
mov dword [esp + 8], eax
lea eax, [0x68ca58]
mov dword [esp + 0xc], eax
call fcn.00414630
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x64e2c0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x672fa6]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5724da
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
jmp 0x5724ea
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045efc0
mov eax, ecx
lea ecx, [0x6d31d4]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
call fcn.0045dbb0
jmp fcn.00571ba0