Function at 0x4b0ae0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6b0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov ecx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov eax, dword [ecx]
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], ebx
call dword [eax + 0x14]
mov edx, eax
mov dword [esp + 0x10], edx
fld qword [edx + 0xb8]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 1
je 0x4b0b71
lea ecx, [esp + 0x10]
push ecx
call dword [0x5009a8]
mov edx, dword [esp + 0x14]
add esp, 4
lea esi, [edx + 0x68]
mov ecx, 6
lea edi, [esp + 0x28]
lea eax, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x188]
push ecx
mov ecx, dword [esp + 0x14]
call dword [0x4ffde4]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, 6
lea edi, [esp + 0x70]
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x68], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xb8]
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
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
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0xc0]
mov edi, esp
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0xc0]
mov edi, esp
mov dword [esp + 0xd4], 0
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0xa8]
mov edi, esp
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
rep movsd dword es:[edi], dword [esi]
call fcn.004b1690
mov eax, dword [esp + 0x8c]
add esp, 0x80
cmp eax, ebx
je 0x4b0fd7
fld qword [0x5028a0]
fsub qword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x7c]
fmul qword [0x502630]
push ecx
mov ecx, dword [esp + 0x7c]
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
call fcn.0041c2e0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
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.0041ab80
mov ecx, dword [esp + 0x5c]
add esp, 0x50
fstp qword [esp + 0x1c]
lea eax, [esp + 0x88]
lea esi, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, 6
sub esp, 0x18
lea edx, [esp + 0x168]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.004b1560
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push ebx
push eax
push ecx
push edx
call fcn.0041b180
add esp, 0x4c
test eax, eax
jne 0x4b0e1d
mov eax, dword [esp + 0xc]
mov ecx, 6
lea esi, [esp + 0x58]
lea edi, [esp + 0x1a0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + eax*2]
lea esi, [esp + 0x88]
shl ecx, 3
mov eax, ecx
lea edi, [esp + 0x1b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov edx, dword [esp + 0x5c]
and ecx, 3
mov eax, dword [esp + 0x58]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push ebx
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
push ecx
push edx
push eax
call fcn.0041e750
add esp, 0x10
jmp 0x4b0ea1
cmp dword [esp + 0xc], 2
jl 0x4b0fd7
fld qword [esp + 0x150]
fsub qword [esp + 0x148]
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
sub esp, 8
fmul qword [0x502630]
fstp qword [esp]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.0041c2e0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call fcn.0041e750
add esp, 0x40
mov ebx, eax
mov eax, dword [esp + 0xc]
neg ebx
lea eax, [eax + eax*2]
sbb ebx, ebx
shl eax, 3
neg ebx
mov ecx, dword [esp + eax + 0x7c]
mov edx, dword [esp + eax + 0x78]
push ecx
mov ecx, dword [esp + eax + 0x78]
push edx
mov edx, dword [esp + eax + 0x78]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.0041b180
add esp, 0x20
test eax, eax
jne 0x4b0f20
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x70]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x14]
shl ecx, 3
lea edx, [eax + eax*2]
lea edi, [esp + edx*8 + 0x1a0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b0f24
mov eax, dword [esp + 0x14]
dec eax
cmp ebx, eax
jge 0x4b0fc8
sub eax, ebx
lea ecx, [ebx + ebx*2]
inc eax
shr eax, 1
lea edi, [esp + ecx*8 + 0x1a0]
mov ebx, eax
push 0xc0
call fcn.004a021c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x298], 0
je 0x4b0f98
mov edx, dword [0x500730]
mov ecx, dword [0x500798]
mov al, byte [edx]
mov dl, byte [ecx]
push eax
mov eax, dword [0x500794]
push edx
lea edx, [edi + 0x18]
mov cl, byte [eax]
lea eax, [esp + 0x30]
push ecx
push 0
push 0
push edx
push edi
push eax
mov ecx, esi
call dword [0x4fff28]
mov dword [esi], 0x504e38
jmp 0x4b0f9a
xor esi, esi
mov ecx, dword [ebp + 8]
push esi
push ecx
mov dword [esp + 0x2a0], 0xffffffff
call dword [0x50046c]
mov edx, dword [ebp + 0x2c]
push esi
push edx
call dword [0x500048]
add esp, 0x10
add edi, 0x30
dec ebx
jne 0x4b0f3e
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4b0fd7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x290]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret