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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x84]
push edi
cmp word [ecx + 8], 0
jne 0x4b8178
push 0
push 0
call fcn.00412a30
mov ecx, dword [ebx + 0x84]
lea eax, [esp + 0x1c]
push eax
call fcn.00412b30
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
call fcn.00412b60
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x84]
mov edx, dword [eax + 8]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], edx
call fcn.00412b90
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
call fcn.00412bc0
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x84]
mov edx, dword [eax + 8]
lea eax, [esp + 0x138]
push eax
mov dword [esp + 0x60], edx
call fcn.00412cd0
mov ecx, 0x36
mov esi, eax
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x84]
call fcn.00412db0
movsx ecx, ax
lea edx, [esp + 0x38]
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
lea esi, [ebx + 0x48]
call fcn.0041e7a0
add esp, 0xc
mov ecx, esi
push eax
call fcn.0041e610
mov ecx, esi
call fcn.0041e2c0
lea edx, [esp + 0x38]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
lea esi, [ebx + 0x54]
call fcn.0041e7a0
add esp, 0xc
mov ecx, esi
push eax
call fcn.0041e610
mov ecx, esi
call fcn.0041e2c0
mov eax, 0x3f800000
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0041e7a0
add esp, 0xc
mov ecx, eax
call fcn.0041e2e0
fmul dword [0x5d35cc]
xor ecx, ecx
mov edx, 0x6154a4
fstp dword [esp + 0x34]
fld dword [edx]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x4b82df
add edx, 4
inc ecx
cmp edx, 0x6154d0
jb 0x4b82c6
mov edx, dword [ecx*4 + 0x6154a4]
lea esi, [ebx + 0x54]
mov dword [ebx + 0x68], edx
mov eax, dword [ecx*4 + 0x6154d4]
mov ecx, edx
push esi
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [ebx + 0x6c], eax
lea ebp, [ebx + 0x18]
call fcn.0041e7f0
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0041e7a0
add esp, 0x18
mov ecx, ebp
push eax
call fcn.0041e610
mov edx, dword [ebx + 0x68]
push esi
lea eax, [esp + 0x14]
push edx
push eax
lea ebp, [ebx + 0x24]
call fcn.0041e7f0
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0041e7a0
add esp, 0x18
mov ecx, ebp
push eax
call fcn.0041e610
mov eax, dword [ebx + 0x68]
lea esi, [ebx + 0x48]
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
lea edi, [ebx + 0x30]
call fcn.0041e7f0
push eax
lea edx, [esp + 0x38]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0041e750
add esp, 0x18
mov ecx, edi
push eax
call fcn.0041e610
mov ecx, dword [ebx + 0x68]
push esi
lea edx, [esp + 0x14]
push ecx
push edx
lea edi, [ebx + 0x3c]
call fcn.0041e7f0
push eax
lea eax, [esp + 0x64]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0041e750
add esp, 0x18
mov ecx, edi
push eax
call fcn.0041e610
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4b8514
mov edi, 0x61555c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x18]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x68]
call fcn.0043e010
push eax
mov ecx, esi
call fcn.0041e610
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x68]
call fcn.0043e010
push eax
mov ecx, ebp
call fcn.0041e610
fld dword [ebp]
fdiv dword [ebx + 0x68]
sub esp, 8
mov dword [esi], 0
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebp]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push esi
push eax
call fcn.0043dfb0
push eax
mov ecx, esi
call fcn.0041e610
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x68]
call fcn.0043dfb0
push eax
mov ecx, ebp
call fcn.0041e610
mov edi, 0x615554
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x60], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x7e]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x30]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x68]
call fcn.0043e010
push eax
mov ecx, esi
call fcn.0041e610
lea edi, [ebx + 0x3c]
lea edx, [esp + 0x10]
push edi
push edx
lea ecx, [esp + 0x68]
call fcn.0043e010
push eax
mov ecx, edi
call fcn.0041e610
xor ebp, ebp
sub esp, 8
mov dword [ebx + 0x34], ebp
fld dword [ebx + 0x40]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x40]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push esi
push eax
call fcn.0043dfb0
push eax
mov ecx, esi
call fcn.0041e610
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x68]
call fcn.0043dfb0
push eax
mov ecx, edi
call fcn.0041e610
mov dword [ebx + 0x64], ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [ebx + 0x4c]
fabs
fcomp qword [0x5cb320]
mov ecx, 1
fnstsw ax
test ah, 0x41
jne 0x4b8530
mov ecx, 2
fld dword [ebx + 0x50]
fabs
fcomp qword [0x5cb320]
fnstsw ax
test ah, 0x41
jne 0x4b8547
mov ecx, 3
mov eax, ecx
dec eax
je 0x4b86a2
dec eax
je 0x4b8600
dec eax
jne 0x4b873c
mov edi, 0x61554c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x50]
fcomp dword [0x5cad98]
fld dword [ebx + 0x20]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b85c9
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x20]
fld dword [ebx + 0x2c]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x2c]
fld dword [ebx + 0x20]
add esp, 8
jmp 0x4b8739
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x20]
fld dword [ebx + 0x2c]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x2c]
mov dword [ebx + 0x70], 0xbf800000
add esp, 8
fld dword [ebx + 0x20]
jmp 0x4b8739
mov edi, 0x615544
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x4c]
fcomp dword [0x5cad98]
fld dword [ebx + 0x1c]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b866b
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x1c]
fld dword [ebx + 0x28]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x28]
fld dword [ebx + 0x1c]
add esp, 8
jmp 0x4b8739
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x1c]
fld dword [ebx + 0x28]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x28]
mov dword [ebx + 0x70], 0xbf800000
add esp, 8
fld dword [ebx + 0x1c]
jmp 0x4b8739
mov edi, 0x61553c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x48]
fcomp dword [0x5cad98]
fld dword [ebx + 0x18]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b8707
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x18]
fld dword [ebp]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebp]
add esp, 8
jmp 0x4b8736
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x18]
fld dword [ebp]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebp]
add esp, 8
mov dword [ebx + 0x70], 0xbf800000
fld dword [ebx + 0x18]
fstp dword [ebx + 0x60]
fld dword [ebx + 0x58]
fabs
fcomp qword [0x5cb320]
mov ecx, 1
fnstsw ax
test ah, 0x41
jne 0x4b8758
mov ecx, 2
fld dword [ebx + 0x5c]
fabs
fcomp qword [0x5cb320]
fnstsw ax
test ah, 0x41
jne 0x4b876f
mov ecx, 3
dec ecx
je 0x4b88e0
dec ecx
je 0x4b8832
dec ecx
jne 0x4b8986
mov edi, 0x61554c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x7e]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x5c]
fcomp dword [0x5cad98]
fld dword [ebx + 0x38]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b87f5
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x38]
fld dword [ebx + 0x44]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x44]
fld dword [ebx + 0x38]
fstp dword [ebx + 0x64]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x38]
fld dword [ebx + 0x44]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x44]
mov dword [ebx + 0x74], 0xbf800000
add esp, 8
fld dword [ebx + 0x38]
fstp dword [ebx + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x615544
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x7e]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x58]
fcomp dword [0x5cad98]
fld dword [ebx + 0x34]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b88a3
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x34]
fld dword [ebx + 0x40]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x40]
fld dword [ebx + 0x34]
fstp dword [ebx + 0x64]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x34]
fld dword [ebx + 0x40]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x40]
mov dword [ebx + 0x74], 0xbf800000
add esp, 8
fld dword [ebx + 0x34]
fstp dword [ebx + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x61553c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x7e]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebx + 0x54]
fcomp dword [0x5cad98]
fld dword [ebx + 0x30]
fdiv dword [ebx + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4b8951
sub esp, 8
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x30]
fld dword [ebx + 0x3c]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x3c]
fld dword [ebx + 0x30]
fstp dword [ebx + 0x64]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 8
fstp qword [esp]
call fcn.0056c41b
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x30]
fld dword [ebx + 0x3c]
fdiv dword [ebx + 0x68]
fstp qword [esp]
call fcn.0056c5d5
fmul dword [ebx + 0x68]
fstp dword [ebx + 0x3c]
fld dword [ebx + 0x30]
fstp dword [ebx + 0x64]
add esp, 8
mov dword [ebx + 0x74], 0xbf800000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret