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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x50069c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push ebx
push esi
cmp ecx, 1
push edi
jne 0x45e48a
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x80]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov eax, dword [0x500640]
mov esi, dword [0x4ff3b8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500644]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500648]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call esi
mov edx, dword [ebp + 0x30]
lea eax, [esp + 0xd0]
lea ecx, [esp + 0xc8]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [0x500640]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500644]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500648]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call esi
fld qword [esp + 0x100]
fsub qword [esp + 0xe8]
add esp, 0x60
sub esp, 8
fstp qword [esp]
fld qword [esp + 0xa0]
fsub qword [esp + 0x88]
sub esp, 8
fstp qword [esp]
push 0x52b96c
call dword [0x500bd8]
add esp, 0x14
fld qword [ebp + 0x2c]
fsub qword [ebp + 0x14]
lea eax, [esp + 0xb0]
push eax
sub esp, 8
fstp qword [esp]
fld qword [ebp + 0x24]
fsub qword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0041b640
mov eax, dword [0x500738]
mov ecx, 0x12
mov esi, eax
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x12
lea esi, [esp + 0xc4]
mov edi, eax
mov eax, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 4]
lea edi, [eax + 0x1c]
add esp, 0x14
mov ecx, edi
mov dword [esp + 0x3c], edi
call dword [edx + 0x2c]
mov eax, esi
test esi, esi
mov dword [esp + 0x14], eax
je 0x45e984
jmp 0x45e500
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
mov esi, eax
mov eax, dword [eax]
mov ecx, edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call dword [edx + 0x38]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov al, byte [ebx + 4]
cmp al, 2
jne 0x45e649
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [ebp + 0xc]
mov edx, dword [ebp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x80]
mov ebx, dword [ebp + 0x50]
mov ecx, 6
lea edi, [ebp + 0x24]
mov eax, dword [ebp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x4c]
push esi
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x40]
push edx
mov edx, dword [ebp + 0x3c]
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 [ebp + 0xc]
push ecx
push edx
push eax
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45e5b3
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xb4]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
mov dword [esp + 0x2c], 1
call fcn.0041bb60
add esp, 0x1c
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
push esi
push edi
push ebx
push edx
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
push eax
push ecx
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45e610
lea edx, [ebp + 0x2c]
lea eax, [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x30]
lea ecx, [esp + 0xb4]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
push ecx
push edx
call fcn.0041bb60
add esp, 0x1c
jmp 0x45e61b
cmp dword [esp + 0x10], 1
jne 0x45e978
push 0xfffffffffffffffb
mov ecx, 6
sub esp, 0x18
lea esi, [ebp + 0x24]
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [ebp + 0xc]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff38c]
add esp, 0x34
jmp 0x45e978
cmp al, 4
jne 0x45e8be
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [ebp + 0xc]
lea eax, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [ebp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call dword [0x4ffde4]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0xb8]
mov eax, dword [ebx + 0xbc]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
push eax
push ecx
call fcn.0041c330
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x80]
lea eax, [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0041c360
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
add esp, 0x58
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call fcn.0041ae70
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
mov ebx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x44]
push esi
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x40]
push edx
mov edx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
fstp qword [esp + 0x90]
push edx
push eax
call fcn.0041b3b0
add esp, 0x50
test eax, eax
je 0x45e7cc
lea ecx, [ebp + 0x2c]
lea edx, [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x30]
lea eax, [esp + 0xb4]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
push eax
push ecx
mov dword [esp + 0x2c], 1
call fcn.0041bb60
add esp, 0x1c
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
push esi
push edi
push ebx
push edx
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45e833
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.0041bb60
add esp, 0x1c
jmp 0x45e83e
cmp dword [esp + 0x10], 1
jne 0x45e978
mov edx, dword [esp + 0x4c]
lea eax, [ebp + 0x14]
lea ecx, [ebp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
push ecx
push edx
call fcn.0041c140
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x18]
push 0xfffffffffffffffb
push 0
push 0
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [ebp + 0x24]
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [ebp + 0xc]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff364]
add esp, 0x54
jmp 0x45e978
cmp al, 3
jne 0x45e971
mov edx, dword [ebp + 0x58]
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x50]
push edx
mov edx, dword [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x48]
push ecx
mov ecx, dword [ebp + 0x44]
push edx
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0041b3b0
add esp, 0x30
test eax, eax
je 0x45e978
lea edx, [ebp + 0x14]
lea eax, [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0xb4]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.0041bb60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
lea esi, [ebp + 0xc]
push 0xfffffffffffffffb
push eax
push ecx
mov ecx, 6
sub esp, 0x18
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff368]
add esp, 0x24
jmp 0x45e978
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45e4fc
mov edi, dword [0x500738]
mov ecx, 0x12
lea esi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret