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

Disassembly:
push 0xffffffffffffffff
push 0x628268
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x685e38]
xor eax, esp
mov dword [esp + 0x50], eax
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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 0x576c42
cmp dword [esp + 0x84], 0
je 0x576be6
cmp eax, dword [esp + 0x18]
jge 0x576baa
cmp dx, 1
jne 0x576b76
mov ecx, edi
call fcn.0051ef10
mov esi, dword [esp + 0x1c]
lea eax, [edi + 4]
push eax
mov ecx, esi
call fcn.0051f2f0
push esi
mov ecx, ebx
call fcn.0051d8c0
push edi
lea ecx, [ebx + 0x24]
call fcn.0051d8c0
mov eax, 2
jmp 0x576e52
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.0051ef10
add edi, 0x28
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0051f2f0
push edi
mov ecx, ebx
call fcn.0051d8c0
push esi
lea ecx, [ebx + 0x24]
call fcn.0051d8c0
mov eax, 2
jmp 0x576e52
cmp dx, 1
jne 0x576bbe
lea edx, [edi + 0x30]
push edx
call fcn.0051f1c0
add edi, 0x24
jmp 0x576bc7
lea edx, [edi + 0xc]
push edx
call fcn.0051f1c0
push edi
mov ecx, ebx
call fcn.0051d8c0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [ebx + 0x24]
call fcn.0051d8c0
mov eax, 2
jmp 0x576e52
cmp eax, dword [esp + 0x18]
jge 0x576c27
cmp dx, 1
jne 0x576c0b
mov ecx, edi
call fcn.0051ef10
push edi
mov ecx, ebx
call fcn.0051d8c0
mov eax, 1
jmp 0x576e52
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.0051ef10
push esi
mov ecx, ebx
call fcn.0051d8c0
mov eax, 1
jmp 0x576e52
cmp dx, 1
jne 0x576c30
add edi, 0x24
push edi
mov ecx, ebx
call fcn.0051d8c0
mov eax, 1
jmp 0x576e52
lea ecx, [esp + 0x3c]
call fcn.0051b930
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 0x576de0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
jge 0x576d30
cmp word [esp + 0x20], 1
jne 0x576c92
mov edx, dword [esp + 0x10]
add edx, 0x24
push edx
jmp 0x576c97
mov eax, dword [esp + 0x10]
push eax
call fcn.0051d8c0
lea ecx, [esp + 0x3c]
call fcn.0051ef10
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 4]
lea edi, [ebp + 4]
jne 0x576cb8
mov edx, dword [ebp + 0x10]
cmp edx, dword [edi + 4]
je 0x576d03
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.0052daf0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.0051f2f0
mov ecx, ebp
call fcn.0051f0a0
fstp qword [esp + 0x24]
mov ecx, esi
call fcn.0051f0a0
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x576cfc
push edi
mov ecx, ebp
call fcn.0051f2f0
lea eax, [esp + 0x2c]
push eax
jmp 0x576d04
push edi
lea ecx, [esp + 0x40]
call fcn.0051f1c0
mov esi, dword [esp + 0x14]
push ebp
mov ecx, esi
call fcn.0051d8c0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x24]
call fcn.0051d8c0
mov esi, 2
jmp 0x576e3f
cmp word [esp + 0x20], 1
jne 0x576d3f
mov edx, dword [esp + 0x10]
push edx
jmp 0x576d47
mov eax, dword [esp + 0x10]
add eax, 0x24
push eax
call fcn.0051d8c0
mov ecx, dword [ebp + 0xc]
lea edi, [ebp + 0xc]
cmp ecx, dword [ebp + 4]
lea eax, [ebp + 4]
jne 0x576d62
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
je 0x576db6
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.0052daf0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call fcn.0051f2f0
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.0051f1c0
mov ecx, ebp
call fcn.0051f0a0
fstp qword [esp + 0x24]
mov ecx, esi
call fcn.0051f0a0
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x576dc0
push edi
mov ecx, ebp
call fcn.0051f1c0
jmp 0x576dc0
push eax
lea ecx, [esp + 0x40]
call fcn.0051f2f0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0051d8c0
push ebp
lea ecx, [esi + 0x24]
call fcn.0051d8c0
mov esi, 2
jmp 0x576e3f
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x24], edx
jge 0x576e1a
cmp word [esp + 0x20], 1
jne 0x576dfc
mov eax, dword [esp + 0x10]
add eax, 0x24
push eax
jmp 0x576e01
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.0051d8c0
lea ecx, [esp + 0x3c]
call fcn.0051ef10
lea edx, [esp + 0x3c]
push edx
jmp 0x576e31
cmp word [esp + 0x20], 1
jne 0x576e29
mov eax, dword [esp + 0x10]
push eax
jmp 0x576e31
mov ecx, dword [esp + 0x10]
add ecx, 0x24
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0051d8c0
mov esi, 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0051c420
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.005fb9ce
add esp, 0x60
ret