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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f4f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
push 0xa
lea ecx, [esp + 0x7c]
call fcn.004a0474
mov dword [esp + 0x78], 0x50142c
mov dword [esp + 0x94], 0x5013c8
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x150], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call dword [0x4ffc70]
mov eax, dword [0x500738]
mov ecx, 0x12
mov esi, eax
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov ecx, 0x12
mov edi, eax
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x7c]
lea ecx, [esp + 0x94]
call dword [edx + 0x2c]
mov eax, esi
test esi, esi
mov dword [esp + 0x60], eax
je 0x45facd
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x60]
mov esi, eax
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x64], eax
call dword [edx + 0x38]
mov ebx, dword [esi + 8]
mov dword [esp + 0x3c], 0
mov al, byte [ebx + 4]
cmp al, 2
jne 0x45f6e1
lea esi, [ebx + 0x68]
mov eax, dword [ebp + 0x2c]
mov ecx, 6
lea edi, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov edx, dword [ebp + 0x24]
rep movsd dword es:[edi], dword [esi]
add ebx, 0x80
mov ecx, 6
mov esi, ebx
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45f661
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.0041bb60
mov edi, dword [esp + 0x58]
mov ecx, 6
lea esi, [esp + 0x40]
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45fac1
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.0041bb60
mov ecx, 6
lea esi, [esp + 0x28]
mov edi, ebx
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
jmp 0x45fac1
cmp al, 4
jne 0x45fa29
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x24]
lea edx, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, ebx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xc]
lea eax, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call dword [0x4ffde4]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x48]
lea eax, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xb8]
mov edx, dword [ebx + 0xbc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x98]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.0041c330
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.0041c360
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
call fcn.0041ae70
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push esi
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
fstp qword [esp + 0xac]
push edx
push eax
call fcn.0041b3b0
add esp, 0x50
test eax, eax
je 0x45f890
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov dword [esp + 0x58], 1
call fcn.0041bb60
add esp, 0x1c
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push esi
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45f904
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x45f8da
mov dword [esp + 0x3c], 1
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.0041bb60
add esp, 0x1c
cmp dword [esp + 0x3c], 1
jne 0x45f94f
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0041c140
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x24]
lea edi, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
push edi
push eax
push ecx
push edx
push esi
call fcn.0041ad50
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
fstp qword [esp + 0x94]
push edx
push eax
call fcn.0041ae70
fstp qword [esp + 0xc4]
add esp, 0x60
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call dword [0x4fff2c]
fld qword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
fld st(0)
fabs
fcomp qword [0x502918]
mov dword [ebx + 0xb0], edx
mov dword [ebx + 0xb4], eax
fnstsw ax
test ah, 1
je 0x45fa1e
fstp st(0)
fld qword [0x5028a0]
fstp qword [ebx + 0xb8]
jmp 0x45fac1
cmp al, 3
jne 0x45faba
mov edx, dword [ebp + 0x28]
add ebx, 0x68
mov eax, dword [ebp + 0x24]
mov ecx, 6
mov esi, ebx
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45fac1
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.0041bb60
mov ecx, 6
lea esi, [esp + 0x40]
mov edi, ebx
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
jmp 0x45fac1
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x18]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x45f58f
mov edi, dword [0x500738]
mov ecx, 0x12
lea esi, [esp + 0xf8]
lea eax, [esp + 0x78]
push 0xfffffffffffffffd
push eax
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff3e8]
mov edx, dword [0x4ff8f8]
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [edx]
push eax
call dword [0x4ff3d4]
mov edx, dword [0x4ff8f8]
lea ecx, [esp + 0x88]
push 1
push ecx
mov eax, dword [edx]
push eax
call dword [0x4ff3b0]
add esp, 0x1c
lea ecx, [esp + 0x78]
mov dword [esp + 0x148], 0xffffffff
call fcn.004a0480
mov ecx, dword [esp + 0x140]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret