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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f50b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
push 0xa
lea ecx, [esp + 0x54]
call fcn.004a0474
mov dword [esp + 0x50], 0x504dc4
mov dword [esp + 0x6c], 0x504d60
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0xd8], ebx
je 0x465220
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x465220
lea ecx, [esp + 0x50]
push ecx
push eax
push edi
call dword [0x500904]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
add esp, 0xc
lea ecx, [esp + 0x6c]
call dword [edx]
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x464f09
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x54]
lea ecx, [esp + 0x6c]
call dword [eax + 0x2c]
mov eax, ebx
test esi, esi
mov dword [esp + 0x1c], eax
jle 0x464ef0
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], esi
jmp 0x464eae
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov esi, eax
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x70]
call dword [eax + 0x38]
mov eax, dword [esi + 8]
mov ecx, 6
mov edi, ebx
lea esi, [eax + 8]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x464ee2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add ebx, 0x18
dec eax
mov dword [esp + 0x10], eax
jne 0x464eaa
lea ecx, [esp + 0x50]
call fcn.004a0282
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x6c]
call dword [eax + 0x28]
jmp 0x465195
push 0x98
call fcn.004a021c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0xd8], 1
je 0x464f3e
mov ecx, esi
call dword [0x4fffcc]
mov ebx, esi
mov dword [esi], 0x50480c
mov dword [esp + 0x10], ebx
jmp 0x464f42
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x14]
mov byte [esp + 0xd8], 0
cmp eax, 1
je 0x464f7d
cmp eax, 0xb
je 0x464f7d
cmp eax, 0xc
je 0x464f7d
lea ecx, [esp + 0x88]
lea edx, [esp + 0xa0]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push 0x3ff00000
jmp 0x464f99
lea edx, [esp + 0x88]
lea eax, [esp + 0xa0]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push edi
call dword [0x500950]
add esp, 0x1c
lea eax, [esp + 0x48]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call dword [0x5009a0]
fld qword [esp + 0x44]
fmul qword [0x504f98]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
lea edx, [ebx + 0x68]
mov dword [esp + 0x90], ecx
fsubr qword [esp + 0x2c]
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, edx
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x7c]
fld qword [esp + 0x4c]
fmul qword [0x504f98]
add esp, 0xc
fsubr qword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x78]
lea edi, [ebx + 0x80]
mov ecx, 6
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx + 4]
cmp al, 2
jne 0x46503a
mov edx, dword [ebp + 0x10]
push edx
push ecx
push ebx
call dword [0x50099c]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x465188
cmp al, 3
je 0x4651c2
cmp al, 4
je 0x4651c2
cmp al, 0x10
jne 0x465220
push 0x98
call fcn.004a021c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0xd8], 2
je 0x465083
mov ecx, esi
call dword [0x4fffcc]
mov dword [esi], 0x50480c
mov ebx, esi
jmp 0x465085
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov byte [esp + 0xd8], 0
cmp eax, 0xb
je 0x4650c1
cmp eax, 0x15
je 0x4650c1
lea eax, [esp + 0x88]
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push edx
push eax
push 0x3ff00000
push 0
push ecx
jmp 0x4650e3
lea edx, [esp + 0x88]
lea eax, [esp + 0xa0]
push edx
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push eax
call dword [0x500950]
add esp, 0x1c
lea ecx, [esp + 0x48]
lea edx, [esp + 0x40]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call dword [0x5009a0]
fld qword [esp + 0x44]
fmul qword [0x504f98]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x8c], ecx
fsubr qword [esp + 0x2c]
lea edi, [ebx + 0x68]
mov ecx, 6
lea esi, [esp + 0x2c]
mov dword [esp + 0x90], edx
fstp qword [esp + 0x7c]
fld qword [esp + 0x4c]
fmul qword [0x504f98]
push eax
push ebx
fsubr qword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x8c]
lea edi, [ebx + 0x80]
mov ecx, 6
lea esi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x50099c]
add esp, 0x18
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x465184
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x465195
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004a0480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ecx + 0x68]
mov ecx, 6
lea edi, [esp + 0xb8]
cmp al, 4
mov eax, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xb0]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0xc4]
push ecx
push eax
lea eax, [ebx + 0x80]
push eax
push edx
call dword [0x500998]
add esp, 0x1c
mov dword [esp + 0x14], eax
jmp 0x465188
lea ecx, [esp + 0x50]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004a0480
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret