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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov eax, ecx
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
cmp edi, dword [esi + 0x48]
jl 0x5f979d
push dword [esp + 0x80]
lea esi, [esp + 0x60]
push edi
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov ecx, eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.005f531b
jmp 0x5f9eac
cmp byte [eax + 0x19], 0
lea ecx, [eax + 0x1c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
jne 0x5f97db
cmp dword [ecx], 2
je 0x5f97db
mov eax, dword [ebp]
lea esi, [esp + 0x5c]
sub esp, 0x20
mov byte [esp + 0x60], 1
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call dword [eax + 0xa8]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x7c]
jmp 0x5f97e4
mov byte [esp + 0x40], 0
mov dword [esp + 0x14], ecx
mov al, byte [esi + 0x29]
push dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov ecx, eax
mov bl, byte [eax + 0x220]
call fcn.005cce61
push dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x50]
mov ecx, ebx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005b87b3
mov ecx, dword [esp + 0x44]
push dword [esp + 0x50]
mov ecx, dword [ecx + 0x2ac]
add ecx, 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0
mov dword [esp + 0x1c], eax
mov ecx, esi
push edi
lea eax, [esp + 0x24]
push eax
call fcn.005f2f3e
push 1
push edi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.005f2f3e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x38]
movsd xmm0, qword [ecx + eax*8]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esi + 0x50]
ucomisd xmm0, qword [0x6b4480]
lahf
test ah, 0x44
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
jnp 0x5f98e2
test edi, edi
jle 0x5f98e2
mov edx, dword [esp + 0x58]
test al, 1
je 0x5f98d2
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x5c]
movzx eax, byte [eax + 0x220]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x60]
push dword [esp + 0x30]
push dword [esp + 0x30]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x80]
push esi
push ebx
push ebp
call fcn.005fab5a
mov edi, dword [esp + 0xbc]
add esp, 0x40
mov edx, dword [esp + 0x58]
cvttsd2si eax, qword [esi + 0x50]
add edx, eax
mov eax, dword [esp + 0x80]
jmp 0x5f98e6
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], edx
cmp dword [ecx], 0
je 0x5f9b0f
test al, 1
je 0x5f9a75
push dword [esp + 0x28]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push edx
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.005f57c9
movsd xmm0, qword [esp + 0x78]
lea esi, [esp + 0xa8]
add esp, 0x4c
push 1
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f77e6
movsd xmm0, qword [esp + 0x2c]
lea esi, [esp + 0x5c]
push 1
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f7025
push dword [esp + 0x28]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
mov eax, dword [esp + 0x88]
push ecx
push ecx
movsd qword [esp], xmm0
and eax, 0xfffffffe
push dword [esp + 0x30]
mov dword [esp + 0x5c], eax
push dword [esp + 0x90]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
push esi
push ebx
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x58]
push edi
push ebp
call fcn.005f6552
movzx eax, byte [esi + 0x29]
mov ecx, ebx
push eax
movzx eax, byte [edi + 0x220]
push eax
call fcn.005b8d34
test al, al
je 0x5f9a71
push dword [esp + 0x7c]
lea esi, [esp + 0x60]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebp
call fcn.005f5da3
add esp, 0x30
mov eax, dword [esp + 0x48]
shr eax, 1
test al, 1
je 0x5f9b0f
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x5c]
push dword [eax + 0x14]
push 1
push dword [esp + 0x40]
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f9209
add esp, 0x48
lea esi, [esp + 0x5c]
push dword [esp + 0x20]
push dword [esp + 0x20]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push ebp
call fcn.005f7656
add esp, 0x18
lea esi, [esp + 0x7c]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x6c]
push ebp
call fcn.005f9eb6
add esp, 0x30
mov eax, dword [esp + 0x48]
shr eax, 2
test al, 1
je 0x5f9bee
cmp byte [ebx + 0x78], 0
je 0x5f9b70
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x5c]
push 1
push dword [eax + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x8c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.005fa711
add esp, 0x4c
push 1
push dword [esp + 0x80]
lea esi, [esp + 0x64]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push ebp
call fcn.005fa4d6
add esp, 0x3c
lea esi, [esp + 0x5c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x68]
push dword [esp + 0x94]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x54]
mov ecx, esi
push ebx
push dword [esp + 0x8c]
push ebp
call fcn.005f7f9f
jmp 0x5f9bf2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
shr eax, 3
test al, 1
je 0x5f9c36
push dword [esp + 0x54]
lea esi, [esp + 0x60]
push dword [esp + 0x80]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov esi, dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x7c]
push ebx
push dword [esp + 0x7c]
push ebp
call fcn.005f8d7c
mov eax, dword [esp + 0x48]
shr eax, 4
test al, 1
je 0x5f9c85
push dword [esi + 0x14]
lea esi, [esp + 0x60]
push 0
push dword [esp + 0x40]
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f9209
add esp, 0x48
push dword [esp + 0x48]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f77e6
push dword [esp + 0x48]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov esi, dword [esp + 0x48]
mov ecx, esi
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.005f7025
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x5f9e09
push dword [esp + 0x28]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x30]
push dword [esp + 0x90]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
push esi
push ebx
push edi
push ebp
call fcn.005f6552
movzx eax, byte [esi + 0x29]
mov ecx, ebx
push eax
movzx eax, byte [edi + 0x220]
push eax
call fcn.005b8d34
test al, al
je 0x5f9dbd
push dword [esp + 0x7c]
lea esi, [esp + 0x60]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebp
call fcn.005f5da3
add esp, 0x30
push dword [esp + 0x20]
lea esi, [esp + 0x60]
push dword [esp + 0x20]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push ebp
call fcn.005f7656
add esp, 0x18
lea esi, [esp + 0x7c]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x6c]
push ebp
call fcn.005f9eb6
mov esi, dword [esp + 0x40]
add esp, 0x30
cmp byte [ebx + 0x78], 0
je 0x5f9e62
mov eax, dword [esp + 0x48]
shr eax, 5
test al, 1
je 0x5f9e62
push 2
push dword [esi + 0x14]
lea esi, [esp + 0x64]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x8c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.005fa711
add esp, 0x4c
mov eax, dword [esp + 0x48]
shr eax, 6
test al, 1
je 0x5f9e9a
push 2
push dword [esp + 0x80]
lea esi, [esp + 0x64]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push ebp
call fcn.005fa4d6
add esp, 0x3c
cmp byte [esp + 0x40], 0
je 0x5f9eac
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x44