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

Disassembly:
push 0xffffffffffffffff
push 0x6223d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x50], eax
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x18], edx
mov dx, word [esi + 0x20]
and dx, 0xfff9
cmp dword [esp + 0x88], 0
movzx edx, dx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
jne 0x5720d2
cmp dword [esp + 0x84], 0
je 0x572076
cmp eax, dword [esp + 0x18]
jge 0x57203a
cmp dx, 1
jne 0x572006
mov ecx, edi
call fcn.0051b2a0
mov esi, dword [esp + 0x1c]
lea eax, [edi + 4]
push eax
mov ecx, esi
call fcn.0051b680
push esi
mov ecx, ebx
call fcn.00519c60
push edi
lea ecx, [ebx + 0x24]
call fcn.00519c60
mov eax, 2
jmp 0x5722e2
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.0051b2a0
add edi, 0x28
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0051b680
push edi
mov ecx, ebx
call fcn.00519c60
push esi
lea ecx, [ebx + 0x24]
call fcn.00519c60
mov eax, 2
jmp 0x5722e2
cmp dx, 1
jne 0x57204e
lea edx, [edi + 0x30]
push edx
call fcn.0051b550
add edi, 0x24
jmp 0x572057
lea edx, [edi + 0xc]
push edx
call fcn.0051b550
push edi
mov ecx, ebx
call fcn.00519c60
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [ebx + 0x24]
call fcn.00519c60
mov eax, 2
jmp 0x5722e2
cmp eax, dword [esp + 0x18]
jge 0x5720b7
cmp dx, 1
jne 0x57209b
mov ecx, edi
call fcn.0051b2a0
push edi
mov ecx, ebx
call fcn.00519c60
mov eax, 1
jmp 0x5722e2
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.0051b2a0
push esi
mov ecx, ebx
call fcn.00519c60
mov eax, 1
jmp 0x5722e2
cmp dx, 1
jne 0x5720c0
add edi, 0x24
push edi
mov ecx, ebx
call fcn.00519c60
mov eax, 1
jmp 0x5722e2
lea ecx, [esp + 0x3c]
call fcn.00517e90
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x84], eax
je 0x572270
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
jge 0x5721c0
cmp word [esp + 0x20], 1
jne 0x572122
mov edx, dword [esp + 0x10]
add edx, 0x24
push edx
jmp 0x572127
mov eax, dword [esp + 0x10]
push eax
call fcn.00519c60
lea ecx, [esp + 0x3c]
call fcn.0051b2a0
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 4]
lea edi, [ebp + 4]
jne 0x572148
mov edx, dword [ebp + 0x10]
cmp edx, dword [edi + 4]
je 0x572193
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.00529d70
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.0051b680
mov ecx, ebp
call fcn.0051b430
fstp qword [esp + 0x24]
mov ecx, esi
call fcn.0051b430
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x57218c
push edi
mov ecx, ebp
call fcn.0051b680
lea eax, [esp + 0x2c]
push eax
jmp 0x572194
push edi
lea ecx, [esp + 0x40]
call fcn.0051b550
mov esi, dword [esp + 0x14]
push ebp
mov ecx, esi
call fcn.00519c60
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x24]
call fcn.00519c60
mov esi, 2
jmp 0x5722cf
cmp word [esp + 0x20], 1
jne 0x5721cf
mov edx, dword [esp + 0x10]
push edx
jmp 0x5721d7
mov eax, dword [esp + 0x10]
add eax, 0x24
push eax
call fcn.00519c60
mov ecx, dword [ebp + 0xc]
lea edi, [ebp + 0xc]
cmp ecx, dword [ebp + 4]
lea eax, [ebp + 4]
jne 0x5721f2
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
je 0x572246
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.00529d70
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call fcn.0051b680
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.0051b550
mov ecx, ebp
call fcn.0051b430
fstp qword [esp + 0x24]
mov ecx, esi
call fcn.0051b430
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x572250
push edi
mov ecx, ebp
call fcn.0051b550
jmp 0x572250
push eax
lea ecx, [esp + 0x40]
call fcn.0051b680
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00519c60
push ebp
lea ecx, [esi + 0x24]
call fcn.00519c60
mov esi, 2
jmp 0x5722cf
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x24], edx
jge 0x5722aa
cmp word [esp + 0x20], 1
jne 0x57228c
mov eax, dword [esp + 0x10]
add eax, 0x24
push eax
jmp 0x572291
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.00519c60
lea ecx, [esp + 0x3c]
call fcn.0051b2a0
lea edx, [esp + 0x3c]
push edx
jmp 0x5722c1
cmp word [esp + 0x20], 1
jne 0x5722b9
mov eax, dword [esp + 0x10]
push eax
jmp 0x5722c1
mov ecx, dword [esp + 0x10]
add ecx, 0x24
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00519c60
mov esi, 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00518980
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005f617e
add esp, 0x60
ret