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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push dword [0x682bb0]
push dword [0x682ba8]
call fcn.004c1470
add esp, 8
mov ebx, eax
cmp esi, 1
sete al
movzx eax, al
cmp eax, 0
je 0x572cf3
mov eax, dword [0x682c38]
cmp eax, 2
sete al
movzx eax, al
cmp eax, 0
je 0x572d0e
push dword [0x682bb0]
push dword [0x682bac]
call fcn.004c1470
add esp, 8
mov ebx, eax
push 1
push 1
push ebx
call fcn.0065650c
add esp, 0xc
mov edi, eax
cmp edi, 0x66dc40
sete al
movzx eax, al
cmp eax, 0
jne 0x572d42
push ebx
call fcn.00655b47
add esp, 4
cmp eax, 0x3e8
setl al
movzx eax, al
cmp eax, 0
je 0x572e62
push ebx
push 0x6a38fc
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
cmp esi, 1
jne 0x572e27
cmp dword [0x682c38], 2
jne 0x572d9b
push dword [0x682bb0]
push dword [0x682ba8]
call fcn.004c1470
add esp, 8
mov ebx, eax
push 1
push 1
push ebx
call fcn.0065650c
add esp, 0xc
mov edi, eax
jmp 0x572dc0
push dword [0x682bb0]
push dword [0x682ba8]
call fcn.004c1470
add esp, 8
mov ebx, eax
push 1
push 1
push ebx
call fcn.0065650c
add esp, 0xc
mov edi, eax
cmp edi, 0x66dc40
sete al
movzx eax, al
cmp eax, 0
jne 0x572de5
push ebx
call fcn.00655b47
add esp, 4
cmp eax, 0x3e8
setl al
movzx eax, al
cmp eax, 0
je 0x572e27
mov eax, dword [0x6825e0]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x572e0b
mov eax, dword [0x682fd8]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x572e1d
push 0x6a3984
call fcn.004e7d92
add esp, 4
mov eax, 0
jmp 0x5737fd
cmp dword [0x6812e8], 1
jle 0x572e44
mov dword [0x68291c], 0
mov dword [0x682a94], 0
mov dword [0x682c08], 0xffffffff
mov dword [0x682154], 0
mov eax, 0
jmp 0x5737fd
mov dword [ebp - 4], 0x66dc40
push edi
call fcn.00658d68
add esp, 4
mov edi, eax
push edi
call fcn.0065c877
add esp, 4
mov ebx, eax
push 0
push edi
call fcn.0065c800
add esp, 8
push 0x67863c
call fcn.004c2770
add esp, 4
mov dword [ebp - 4], eax
cmp ebx, 0x164
jle 0x572eb6
push 0x6a3a58
call fcn.004e7dbb
add esp, 4
mov ebx, 0x164
jmp 0x572ecb
cmp ebx, 0x164
jge 0x572ecb
push 0x6a3abc
call fcn.004e7dbb
add esp, 4
push ebx
mov eax, dword [ebp - 4]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
push edi
push ebx
push eax
call fcn.0056a19f
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [0x682a80], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [0x682a7c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [0x682a88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov dword [0x6812dc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [0x682aac], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov dword [0x682ab0], eax
cmp dword [0x682aac], 1
jle 0x572fb8
mov eax, dword [0x6812dc]
cmp dword [0x682aac], eax
jge 0x572fb8
push dword [0x6812dc]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3b24
push dword [0x682900]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3b4c
push dword [0x682aac]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3b78
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
jmp 0x572fb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [0x682900], eax
cmp dword [0x6812dc], 1
jge 0x572fe0
mov dword [0x6812dc], 1
mov dword [0x6812e0], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [0x682a8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [0x682a90], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [0x682c0c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [0x682c08], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov dword [0x682c9c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov dword [0x682a94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov dword [0x682be0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov dword [0x682be4], eax
push dword [0x682c0c]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3bcc
push dword [0x682a94]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3bf0
push dword [0x682c08]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3c20
push dword [0x682900]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3c4c
push dword [0x682aac]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3c80
push dword [0x6812dc]
call fcn.004c1310
add esp, 4
push eax
push 0x6a3cb4
push dword [0x682be4]
push dword [0x682be0]
call fcn.004c1250
add esp, 8
push eax
push 0x6a3cec
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dword [0x682ad4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [0x682ad8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov dword [0x682ab8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov dword [0x682adc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov dword [0x683354], eax
mov dword [0x683380], 0
mov dword [0x683384], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov dword [0x683388], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [0x682b0c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov dword [0x687180], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov dword [0x682b1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov dword [0x682b18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov dword [0x682b28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb0]
mov dword [0x682b94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
mov dword [0x682b10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
mov dword [0x682b14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
mov dword [0x682ae8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov dword [0x682aec], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x164]
mov dword [0x682a30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd0]
mov dword [0x682af4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
mov dword [0x682b04], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd8]
mov dword [0x682b08], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcc]
mov dword [0x682af0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dword [0x682afc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
mov dword [0x682af8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov dword [0x682b00], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov dword [0x682b30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
mov dword [0x682b34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov dword [0x682b38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov dword [0x682b3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf4]
mov dword [0x682b40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov dword [0x682b44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
mov dword [0x682b48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov dword [0x682b4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x104]
mov dword [0x682b50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov dword [0x682b54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
mov dword [0x682b58], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov dword [0x682b5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x104]
mov dword [0x682b60], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov dword [0x682acc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov dword [0x682b88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
mov dword [0x682038], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov dword [0x682c1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov dword [0x6812e0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov dword [0x682a6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov dword [0x682bfc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
mov dword [0x682c04], eax
push dword [0x682bdc]
push dword [0x682bd8]
call fcn.004c1250
add esp, 8
push eax
push 0x6a3d0c
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
push dword [0x682be4]
push dword [0x682be0]
call fcn.004c1250
add esp, 8
push eax
push 0x6a1ac0
call fcn.004c1470
add esp, 8
push eax
call fcn.004e7d92
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov dword [0x6828dc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dword [0x6834a0], eax
mov eax, dword [0x683050]
push dword [eax + 0x44]
call fcn.005927bc
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb0]
mov dword [0x682b94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [0x682b84], eax
mov eax, dword [ebp - 4]
fld dword [eax + 0xb8]
fstp dword [0x682b8c]
push dword [0x682b8c]
call fcn.005941c3
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
mov dword [0x682b64], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov dword [0x682ca4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
mov dword [0x682b9c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov dword [0x682ba0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov dword [0x682ba4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
mov dword [0x68291c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
mov dword [0x6834a4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x148]
mov dword [0x6834a8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dword [0x682b20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov dword [0x682b24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov dword [0x6833d8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
mov dword [0x6833dc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dword [0x682ae0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov dword [0x682a3c], eax
push 1
mov eax, dword [ebp - 4]
push dword [eax + 0x12c]
call fcn.004c1800
add esp, 8
mov esi, eax
cmp esi, 7
jl 0x573551
mov esi, 0
cmp esi, 0
jne 0x573579
mov ebx, 0x66dc40
inc dword [ebx + 4]
mov eax, dword [0x6870e8]
dec dword [eax + 4]
jne 0x573571
push eax
call fcn.004c1de0
add esp, 4
mov dword [0x6870e8], ebx
jmp 0x5735db
mov edx, dword [0x6870f8]
mov eax, esi
sub eax, 1
mov eax, dword [edx + eax*4 + 0x18]
inc dword [eax + 4]
mov ebx, eax
mov eax, dword [0x6870e8]
dec dword [eax + 4]
jne 0x5735a0
push eax
call fcn.004c1de0
add esp, 4
mov dword [0x6870e8], ebx
cmp dword [0x682a94], 0
jle 0x5735c6
mov edx, dword [0x6870e4]
mov eax, esi
sub eax, 1
push eax
push edx
mov eax, dword [edx]
call dword [eax + 0x3c]
add esp, 8
jmp 0x5735db
mov edx, dword [0x6870e4]
mov eax, esi
sub eax, 1
push eax
push edx
mov eax, dword [edx]
call dword [eax + 0x3c]
add esp, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dword [0x6870e0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x134], 0
jle 0x573603
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
mov dword [0x682a64], eax
mov eax, dword [0x683340]
push dword [eax + 0x10]
mov eax, dword [0x683340]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x683340]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
mov ebx, 0
jmp 0x57365c
push 0x6c
mov eax, dword [0x68337c]
mov eax, dword [eax + ebx*4 + 0x18]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
push edi
push 0x6c
push eax
call fcn.0056a19f
add esp, 0xc
add ebx, 1
cmp ebx, 0x3c
jl 0x573636
mov eax, dword [0x683348]
push dword [eax + 0x10]
mov eax, dword [0x683348]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x683348]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
mov ebx, 0
jmp 0x573703
push 0xc
mov eax, dword [0x687110]
mov eax, dword [eax + ebx*4 + 0x18]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
push edi
push 0xc
push eax
call fcn.0056a19f
add esp, 0xc
mov eax, dword [0x6870f8]
mov eax, dword [eax + ebx*4 + 0x18]
mov edx, dword [0x687110]
mov edx, dword [edx + ebx*4 + 0x18]
mov edx, dword [edx + 8]
mov dword [eax + 0xc], edx
mov eax, dword [0x6870f8]
mov edx, dword [eax + ebx*4 + 0x18]
mov eax, dword [0x687110]
mov eax, dword [eax + ebx*4 + 0x18]
fld dword [eax + 0xc]
fstp dword [edx + 0x10]
mov eax, dword [0x6870f8]
mov edx, dword [eax + ebx*4 + 0x18]
mov eax, dword [0x687110]
mov eax, dword [eax + ebx*4 + 0x18]
fld dword [eax + 0x10]
fstp dword [edx + 0x14]
add ebx, 1
cmp ebx, 7
jl 0x573694
mov eax, dword [0x683cd8]
push dword [eax + 0x10]
mov eax, dword [0x683cd8]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x683cd8]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
mov eax, dword [0x683c50]
push dword [eax + 0x10]
mov eax, dword [0x683c50]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x683c50]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
mov eax, dword [0x683490]
push dword [eax + 0x10]
mov eax, dword [0x683490]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x683490]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
mov ebx, 0
jmp 0x5737b9
push 0x14
mov eax, dword [0x6834c8]
mov eax, dword [eax + ebx*4 + 0x18]
lea eax, [eax + 8]
push eax
call fcn.0065a460
add esp, 8
push edi
push 0x14
push eax
call fcn.0056a19f
add esp, 0xc
add ebx, 1
cmp ebx, 0x96
jle 0x573793
mov eax, dword [0x686264]
push dword [eax + 0x10]
mov eax, dword [0x686264]
lea eax, [eax + 0x18]
push eax
call fcn.0065a460
add esp, 8
push edi
mov edx, dword [0x686264]
push dword [edx + 0x10]
push eax
call fcn.0056a19f
add esp, 0xc
push edi
call fcn.0065c833
add esp, 4
mov eax, 1
jmp 0x5737fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret