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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xc0
push 1
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x88]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
fld qword [esp + 0x18]
fsub qword [esp + 0x30]
fmul qword [0x550f80]
fstp qword [esp + 0x60]
call fcn.00547150
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b793a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
mov eax, dword [esp + 0x2c]
fld qword [esp + 0x28]
fcomp qword [esp + 0x10]
mov edx, dword [esp + 0x28]
and ecx, 0xfffffffe
or ecx, 2
mov dword [ebx + 0x38], 1
mov dword [ebx], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x34], 0
fnstsw ax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test ah, 1
je 0x4b8245
fld qword [esp + 0x18]
fadd st(0), st(0)
fst qword [esp + 0x38]
fadd qword [esp + 0x80]
fstp qword [esp + 0xf0]
fld qword [esp + 0x10]
fsub qword [esp + 0x18]
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 1
je 0x4b79d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
fld qword [esp + 0xf0]
fadd qword [esp + 0x80]
push 0x14
lea edx, [esp + 0x84]
push edi
push edx
fmul qword [0x550f68]
fstp qword [esp + 0x19c]
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
push 0x14
lea eax, [esp + 0x194]
push edi
push eax
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
push 0x14
lea ecx, [esp + 0xf4]
push edi
push ecx
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
lea edx, [esp + 0x1b0]
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.00418ad0
fstp qword [esp + 0x50]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x1b8]
push ecx
push edx
call fcn.00418ad0
fld qword [esp + 0x1c0]
fcomp qword [0x550f20]
add esp, 0x10
fnstsw ax
test ah, 0x40
je 0x4b7aa7
fld qword [esp + 0x1b8]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7aa7
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0x4b7ac1
fld qword [esp + 0x1b8]
fld qword [esp + 0x1b0]
fpatan
fmul qword [0x550f60]
fstp qword [esp + 0x28]
fld qword [esp + 0x48]
fcomp qword [0x550f20]
fnstsw ax
test ah, 1
je 0x4b7bd3
fcom qword [0x550f20]
fnstsw ax
test ah, 1
je 0x4b7bd3
fstp st(0)
fld qword [esp + 0x110]
fcomp qword [0x550f20]
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x160]
mov dword [esp + 0x48], 1
rep movsd dword es:[edi], dword [esi]
fnstsw ax
mov ecx, 6
lea esi, [esp + 0x88]
lea edi, [esp + 0x178]
test ah, 0x40
rep movsd dword es:[edi], dword [esi]
je 0x4b7b4b
fld qword [esp + 0x118]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7b4b
fld qword [0x550f20]
jmp 0x4b7b61
fld qword [esp + 0x118]
fld qword [esp + 0x110]
fpatan
fmul qword [0x550f60]
fadd qword [0x550f10]
fstp qword [esp + 0x50]
fld qword [esp + 0x28]
fadd qword [0x550f10]
fstp qword [esp + 0x28]
fld qword [esp + 0xa0]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7bb2
fld qword [esp + 0xa8]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7bb2
fld qword [0x550f20]
fadd qword [0x550f10]
jmp 0x4b7ccf
fld qword [esp + 0xa8]
fld qword [esp + 0xa0]
fpatan
fmul qword [0x550f60]
fadd qword [0x550f10]
jmp 0x4b7ccf
fld qword [esp + 0x48]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x4b80b6
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x4b80bd
fld qword [esp + 0xa0]
fcomp qword [0x550f20]
mov ecx, 6
lea esi, [esp + 0x88]
lea edi, [esp + 0x160]
mov dword [esp + 0x48], 0
rep movsd dword es:[edi], dword [esi]
fnstsw ax
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x178]
test ah, 0x40
rep movsd dword es:[edi], dword [esi]
je 0x4b7c65
fld qword [esp + 0xa8]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7c65
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x4b7c7f
fld qword [esp + 0xa8]
fld qword [esp + 0xa0]
fpatan
fmul qword [0x550f60]
fstp qword [esp + 0x50]
fld qword [esp + 0x110]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7cb9
fld qword [esp + 0x118]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x4b7cb9
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x4b7cd3
fld qword [esp + 0x118]
fld qword [esp + 0x110]
fpatan
fmul qword [0x550f60]
fstp qword [esp + 0x40]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x174]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x198]
push edx
push eax
call fcn.00409250
add esp, 0x28
cmp eax, 1
je 0x4b8230
cmp eax, 2
je 0x4b80ba
mov ecx, dword [esp + 0x24]
fld qword [ecx + 0x40]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4b7d4b
mov edx, dword [esp + 0xc]
fld qword [edx + 0x40]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4b80ba
lea eax, [esp + 0x60]
push eax
push 0x412e8480
push 0
push ecx
lea ecx, [esp + 0x1a8]
push ecx
call fcn.0049e4c0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x74]
fstp qword [esp + 0x8c]
push edx
push 0x412e8480
push 0
lea ecx, [esp + 0x1b8]
push eax
push ecx
call fcn.0049e4c0
fstp qword [esp + 0x98]
fld qword [esp + 0xa0]
fcomp qword [ebp + 0xc]
add esp, 0x28
fnstsw ax
test ah, 0x41
jne 0x4b7db7
fld qword [esp + 0x70]
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4b7f3a
mov edx, dword [esp + 0x24]
fld qword [edx + 0x40]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4b7f3a
mov eax, dword [esp + 0xc]
fld qword [eax + 0x40]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4b7f3a
fld qword [esp + 0x18]
fmul qword [0x550f68]
fadd qword [esp + 0x80]
fst qword [esp + 0x200]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4b7e1a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x200], ecx
mov dword [esp + 0x204], edx
mov esi, dword [ebp + 8]
push 0x14
lea eax, [esp + 0x204]
push esi
push eax
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x60]
push ecx
push 0x412e8480
push eax
lea eax, [esp + 0x214]
push edx
push eax
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
jne 0x4b7e91
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push 0x412e8480
push 0
lea eax, [esp + 0x214]
push edx
push eax
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x4b7f3a
fld qword [esp + 0x18]
fmul qword [0x555b68]
fadd qword [esp + 0x80]
fst qword [esp + 0x270]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4b7eca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x270], ecx
mov dword [esp + 0x274], edx
push 0x14
lea eax, [esp + 0x274]
push esi
push eax
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x60]
push ecx
push 0x412e8480
push eax
lea eax, [esp + 0x284]
push edx
push eax
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
jne 0x4b7f67
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push 0x412e8480
push 0
lea eax, [esp + 0x284]
push edx
push eax
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
jne 0x4b7f67
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00488710
mov edx, dword [esp + 0x10]
push edx
call fcn.00488710
fld qword [esp + 0x20]
fmul qword [0x550f68]
mov edi, dword [ebp + 8]
add esp, 8
fstp qword [esp + 0x18]
jmp 0x4b8077
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp eax, 4
jge 0x4b8005
fld qword [esp + 0x18]
fcomp qword [0x550f40]
fnstsw ax
test ah, 1
je 0x4b8005
fld qword [ebp + 0xc]
fmul qword [0x550f68]
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4b8003
fld qword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x4b8005
fld qword [ecx + 0x68]
fcomp qword [0x550fe0]
fnstsw ax
test ah, 1
je 0x4b8005
mov eax, dword [esp + 0xc]
fld qword [eax + 0x68]
fcomp qword [0x550fe0]
fnstsw ax
test ah, 1
je 0x4b8005
mov eax, dword [esp + 0x34]
push ecx
inc eax
mov dword [esp + 0x38], eax
call fcn.00488710
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00488710
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [ebp + 8]
add esp, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x4b8077
fstp st(0)
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b809b
push ebx
push ecx
call fcn.00488e40
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.00488e40
mov edx, dword [esp + 0x1c]
push 0
push ebx
push edx
call fcn.0043f8b0
mov eax, dword [esp + 0x40]
push 0
push ebx
push eax
call fcn.0043f8b0
add esp, 0x28
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
fld qword [esp + 0x80]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x4b798c
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ebx
push ecx
call fcn.0043f8b0
mov ecx, dword [esp + 0x18]
push 0
push ebx
push ecx
call fcn.0043f8b0
add esp, 0x18
jmp 0x4b8040
fstp st(0)
jmp 0x4b80bd
mov edi, dword [ebp + 8]
lea edx, [esp + 0xf8]
push 0
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.0043f9f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4b8230
fld qword [esp + 0x18]
fmul qword [0x550f68]
fst qword [esp + 0x38]
fadd qword [esp + 0x80]
fst qword [esp + 0x200]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4b811e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x200], ecx
mov dword [esp + 0x204], edx
push 0x14
lea eax, [esp + 0x204]
push edi
push eax
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
fld qword [esp + 0x18]
fmul qword [0x555b68]
fadd qword [esp + 0x80]
fst qword [esp + 0x270]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4b8172
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x270], ecx
mov dword [esp + 0x274], edx
push 0x14
lea eax, [esp + 0x274]
push edi
push eax
call fcn.004c0150
add esp, 0xc
test eax, eax
jne 0x4b8239
lea ecx, [esp + 0x60]
lea edx, [esp + 0x198]
push ecx
push 0x412e8480
push eax
push esi
push edx
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x4b8212
lea eax, [esp + 0x60]
lea ecx, [esp + 0x208]
push eax
push 0x412e8480
push 0
push esi
push ecx
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x4b8212
lea edx, [esp + 0x60]
lea eax, [esp + 0x278]
push edx
push 0x412e8480
push 0
push esi
push eax
call fcn.0049e4c0
fcomp qword [ebp + 0xc]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x4b8212
push 0
push ebx
push esi
call fcn.0043f8b0
add esp, 0xc
jmp 0x4b8043
push esi
call fcn.00488710
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x4b8077
push ebx
call fcn.004888a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x1c]
pop edi
pop esi
xor eax, eax
mov dword [ecx], ebx
pop ebx
mov esp, ebp
pop ebp
ret