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

Disassembly:
sub esp, 0xe0
fldz
push ebx
push ebp
mov ebp, dword [esp + 0xec]
mov ecx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebp + 4]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
call fcn.00474950
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul qword [esp + 0xf8]
fdiv qword [0x486830]
fst qword [esp + 0x58]
call fcn.00474bd0
fstp dword [esp + 0x50]
fld qword [esp + 0x58]
call fcn.00474aa0
fstp dword [esp + 0x54]
fild dword [esp + 0x30]
fld qword [0x486828]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x18]
fild dword [esp + 0x4c]
fsub st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x38]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x58]
fld dword [esp + 0x54]
fld st(0)
fld qword [0x486820]
fmul st(1), st(0)
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fld st(2)
fsub st(2)
fstp dword [esp + 0x6c]
fld st(1)
fadd st(3)
fstp dword [esp + 0x70]
fld dword [esp + 0x18]
fld st(0)
fmul st(5)
fsub st(3)
fstp dword [esp + 0x74]
fmul st(1)
fadd st(3)
fstp dword [esp + 0x78]
fld dword [esp + 0x38]
fld st(0)
fmul st(2)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x7c]
fld st(3)
fmulp st(3)
fxch st(2)
faddp st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x58]
fld st(0)
fmul st(3)
fld dword [esp + 0x5c]
fld st(0)
fmul st(4)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x84]
fmulp st(3)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x7c]
fld dword [esp + 0x84]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x45581a
fxch st(1)
fst dword [esp + 0x10]
jmp 0x455820
fst dword [esp + 0x10]
fxch st(1)
fld dword [esp + 0x6c]
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x455835
fstp st(0)
jmp 0x455837
fstp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x455850
fstp st(0)
jmp 0x455852
fstp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
fld dword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x455871
fstp st(0)
jmp 0x455873
fstp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x70]
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x455890
fstp st(0)
fst dword [esp + 0x24]
jmp 0x455894
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4558a9
fstp st(0)
jmp 0x4558ab
fstp st(1)
fstp dword [esp + 0x24]
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4558be
fstp st(2)
jmp 0x4558c0
fstp st(0)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x6c]
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4558db
fstp st(0)
jmp 0x4558dd
fstp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4558f6
fstp st(0)
jmp 0x4558f8
fstp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x80]
fld dword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x455917
fstp st(0)
jmp 0x455919
fstp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x45592e
fstp st(0)
jmp 0x455930
fstp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x455949
fstp st(0)
jmp 0x45594b
fstp st(1)
fstp dword [esp + 0x10]
sub esp, 8
fld dword [esp + 0x30]
fsub dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.004747e0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.00474730
fld dword [esp + 0x18]
fsub dword [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x34], ebx
fadd qword [0x486828]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.004747e0
fstp dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x20]
call fcn.00474730
fld dword [esp + 0x28]
mov edi, eax
fadd dword [esp + 0x14]
fild dword [esp + 0x2c]
mov eax, ebx
sub eax, dword [esp + 0x30]
mov dword [esp + 0x20], edi
cdq
fsub qword [0x486808]
sub eax, edx
sar eax, 1
neg eax
fsubp st(1)
add dword [esi], eax
mov eax, dword [esi]
fmul qword [0x486828]
add eax, ebx
mov dword [esi + 8], eax
mov eax, edi
sub eax, dword [esp + 0x4c]
fstp dword [esp + 0xac]
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, edi
lea edx, [esp + 0x6c]
push edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp]
push 0x18
push eax
lea esi, [ebx*4]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ebp, dword [esp + 0x80]
push 0x2c
xor ebx, ebx
lea ecx, [esp + 0xc8]
push ebx
push ecx
call fcn.00464db0
mov edx, dword [esp + 0x38]
add esp, 0xc
imul esi, edi
push ebx
mov dword [esp + 0xc8], 0x28
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edi
mov word [esp + 0xd4], 1
mov word [esp + 0xd6], 0x20
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0x2c], ebx
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
lea ecx, [esp + 0xd4]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
fld dword [esp + 0x10]
cmp edi, ebx
fadd dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x58], eax
fsub qword [0x486808]
fsubp st(1)
fmul qword [0x486828]
fstp dword [esp + 0x24]
jle 0x455f99
fldz
xor esi, esi
fld dword [esp + 0x54]
mov dword [esp + 0x64], esi
fld dword [esp + 0x50]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x2c], ebx
fld dword [esp + 0xac]
fstp dword [esp + 0x10]
jle 0x455f64
fld dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
fld st(0)
mov dword [esp + 0x68], edx
fmul st(2)
fstp qword [esp + 0xb0]
fmul st(2)
fstp qword [esp + 0xb8]
fld dword [esp + 0x10]
fld st(0)
fmul st(3)
fadd qword [esp + 0xb0]
fstp dword [esp + 0x10]
fld st(0)
fmul st(2)
fsubr qword [esp + 0xb8]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fld st(0)
call fcn.00474730
fcom st(4)
mov edi, eax
mov dword [esp + 0x10], eax
fnstsw ax
test ah, 5
jp 0x455b49
sub edi, 1
mov dword [esp + 0x10], edi
fld dword [esp + 0x14]
fld st(0)
call fcn.00474730
fcom st(5)
mov ecx, eax
mov dword [esp + 0x14], eax
fnstsw ax
test ah, 5
jp 0x455b6a
sub ecx, 1
mov dword [esp + 0x14], ecx
cmp edi, 0xffffffff
jl 0x455f1d
cmp edi, dword [esp + 0x30]
jge 0x455f1d
cmp ecx, 0xffffffff
jl 0x455f1d
cmp ecx, dword [esp + 0x4c]
jge 0x455f1d
fstp st(4)
lea eax, [edi + 1]
fstp st(2)
mov dword [esp + 0x90], ecx
fstp st(3)
mov dword [esp + 0x94], eax
fisub dword [esp + 0x10]
mov dword [esp + 0x98], ecx
add ecx, 1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xf4]
mov dl, byte [eax + 0xd]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], ecx
fstp dword [esp + 0x34]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x9c], edi
fisub dword [esp + 0x14]
xor ecx, ecx
mov byte [esp + 0x14], dl
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x34]
fld1
fsubrp st(1)
fld dword [esp + 0x34]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x10]
cmp dword [esp + ecx*8 + 0x8c], ebx
mov dl, 1
jge 0x455c48
xor dl, dl
mov dword [esp + ecx*8 + 0x8c], ebx
mov eax, dword [esp + 0x30]
cmp dword [esp + ecx*8 + 0x8c], eax
jl 0x455c61
xor dl, dl
add eax, 0xffffffff
mov dword [esp + ecx*8 + 0x8c], eax
cmp dword [esp + ecx*8 + 0x90], ebx
jge 0x455c73
xor dl, dl
mov dword [esp + ecx*8 + 0x90], ebx
mov edi, dword [esp + 0x4c]
cmp dword [esp + ecx*8 + 0x90], edi
jl 0x455c8c
lea eax, [edi - 1]
xor dl, dl
mov dword [esp + ecx*8 + 0x90], eax
mov eax, dword [esp + 0x30]
add eax, eax
add eax, eax
cmp byte [esp + 0x14], bl
je 0x455ca3
mov edi, dword [esp + ecx*8 + 0x90]
jmp 0x455cad
sub edi, dword [esp + ecx*8 + 0x90]
sub edi, 1
imul edi, eax
mov eax, dword [esp + ecx*8 + 0x8c]
lea eax, [edi + eax*4]
movzx ebx, byte [eax + ebp]
mov byte [esp + ecx*4 + 0x3c], bl
movzx ebx, byte [eax + ebp + 1]
mov byte [esp + ecx*4 + 0x3d], bl
movzx ebx, byte [eax + ebp + 2]
mov byte [esp + ecx*4 + 0x3e], bl
xor ebx, ebx
cmp dl, bl
je 0x455ce4
mov dl, byte [eax + ebp + 3]
mov byte [esp + ecx*4 + 0x3f], dl
jmp 0x455ce8
mov byte [esp + ecx*4 + 0x3f], bl
add ecx, 1
cmp ecx, 4
jl 0x455c34
movzx eax, byte [esp + 0x47]
fnstcw word [esp + 0x14]
movzx ecx, byte [esp + 0x3f]
movzx edx, byte [esp + 0x43]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x4b]
fild dword [esp + 0x34]
mov dword [esp + 0x34], ecx
fmul st(1)
fild dword [esp + 0x34]
mov dword [esp + 0x34], edx
fld dword [esp + 0x10]
mov edx, dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fild dword [esp + 0x34]
fld dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
fld st(0)
fmulp st(2)
or eax, 0xc00
fxch st(2)
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x3c]
fmul st(5)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx ecx, byte [esp + 0x18]
mov byte [esi + edx + 3], cl
movzx ecx, byte [esp + 0x44]
fldcw word [esp + 0x14]
movzx edx, byte [esp + 0x40]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x48]
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fnstcw word [esp + 0x14]
mov edi, dword [esp + 0x28]
fmul st(2)
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
movzx edx, byte [esi + edi + 3]
fmul st(4)
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
or eax, 0xc00
fmul st(2)
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, 0x80808081
fmul st(5)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx ecx, byte [esp + 0x18]
movzx ecx, cl
fldcw word [esp + 0x14]
imul ecx, edx
imul ecx
add edx, ecx
movzx ecx, byte [esp + 0x3d]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [esp + 0x45]
mov dword [esp + 0x18], ecx
mov byte [esi + edi], al
fild dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], edx
fmul st(2)
fild dword [esp + 0x18]
movzx eax, byte [esp + 0x41]
movzx ecx, byte [esp + 0x49]
fnstcw word [esp + 0x14]
fmul st(4)
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x14]
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
or eax, 0xc00
fmul st(2)
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + edi + 3]
fmul st(5)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov dl, byte [esp + 0x18]
movzx ecx, dl
imul ecx, eax
fldcw word [esp + 0x14]
fnstcw word [esp + 0x14]
mov eax, 0x80808081
imul ecx
movzx eax, byte [esp + 0x46]
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, byte [esp + 0x3e]
mov dword [esp + 0x18], edx
movzx edx, byte [esp + 0x4a]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmulp st(2)
movzx eax, word [esp + 0x14]
fild dword [esp + 0x18]
mov byte [esi + edi + 1], cl
movzx ecx, byte [esp + 0x42]
fmulp st(3)
fxch st(1)
faddp st(2)
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
or eax, 0xc00
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
movzx edx, byte [esi + edi + 3]
fmulp st(1)
faddp st(1)
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmulp st(2)
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov al, byte [esp + 0x18]
movzx ecx, al
mov eax, 0x80808081
fldcw word [esp + 0x14]
imul ecx, edx
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fldz
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esi + edi + 2], al
jmp 0x455f48
mov ecx, dword [esp + 0x28]
fstp st(1)
mov byte [esi + ecx], bl
fstp st(0)
mov edx, dword [esp + 0x28]
fxch st(3)
mov byte [esi + edx + 1], bl
fxch st(1)
mov eax, dword [esp + 0x28]
fxch st(2)
mov byte [esi + eax + 2], bl
fxch st(1)
mov ecx, dword [esp + 0x28]
mov byte [esi + ecx + 3], bl
fxch st(3)
add esi, 4
sub dword [esp + 0x68], 1
fadd qword [0x486808]
fstp dword [esp + 0x10]
fxch st(1)
jne 0x455b06
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x24]
mov esi, dword [esp + 0x64]
fadd qword [0x486808]
add eax, eax
add eax, eax
add esi, eax
fstp dword [esp + 0x24]
sub dword [esp + 0x20], 1
mov dword [esp + 0x64], esi
jne 0x455ad1
mov eax, dword [esp + 0x58]
fstp st(1)
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret