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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e1697
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov al, byte [ebx + 0x544]
test al, al
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
jne 0x48b263
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.00474ea4
jmp 0x48b67f
cmp dword [ebx + 0x380], 0
je 0x48b67f
mov edx, dword [ebx + 0x45c]
mov dword [esp + 0x10], edx
and dword [esp + 0x10], 4
je 0x48b292
lea esi, [ebx + 0x198]
mov eax, esi
call fcn.004792f9
test al, al
je 0x48b2da
test dl, 2
je 0x48b2a8
lea esi, [ebx + 0x188]
mov eax, esi
call fcn.004792f9
test al, al
je 0x48b2da
test dl, 0x10
je 0x48b2be
lea esi, [ebx + 0x178]
mov eax, esi
call fcn.004792f9
test al, al
je 0x48b2da
test dl, 8
je 0x48b2d4
lea esi, [ebx + 0x168]
mov eax, esi
call fcn.004792f9
test al, al
je 0x48b2da
lea esi, [ebx + 0x158]
cmp dword [esp + 0x10], 0
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x48b2f3
mov eax, dword [ebx + 0x14c]
test eax, eax
jne 0x48b326
test dl, 2
je 0x48b302
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x48b326
test dl, 0x10
je 0x48b311
mov eax, dword [ebx + 0x144]
test eax, eax
jne 0x48b326
test dl, 8
je 0x48b320
mov eax, dword [ebx + 0x140]
test eax, eax
jne 0x48b326
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x14], eax
xor ecx, ecx
lea eax, [esp + 0xa4]
mov dword [esp + 0xbc], 7
call fcn.00401870
xor eax, eax
mov dword [esp + 0xd0], eax
mov ecx, dword [ebx + 0x45c]
test cl, 4
je 0x48b36a
cmp dword [ebx + 0xa8], eax
je 0x48b36a
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x94]
jmp 0x48b3a9
test cl, 2
je 0x48b37f
cmp dword [ebx + 0x8c], eax
je 0x48b37f
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x78]
jmp 0x48b3a9
test cl, 0x10
je 0x48b391
cmp dword [ebx + 0x70], eax
je 0x48b391
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x5c]
jmp 0x48b3a9
test cl, 8
je 0x48b3a3
cmp dword [ebx + 0x54], eax
je 0x48b3a3
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x40]
jmp 0x48b3a9
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x24]
push eax
lea eax, [esp + 0xb0]
call fcn.00401690
lea esi, [ebx + 0x3f0]
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x24]
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
sub ecx, edx
sub eax, esi
mov dword [esp + 0x44], esi
lea esi, [esp + 0x68]
mov dword [esp + 0x40], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.00479315
mov byte [esp + 0xd0], 1
push dword [esp + 0x24]
mov eax, esi
push dword [esp + 0x24]
push dword [esp + 0x44]
push eax
call fcn.004793a8
movzx eax, byte [esp + 0x14]
movzx edx, byte [esp + 0x15]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
shl eax, 8
shr ecx, 0x10
movzx ecx, cl
or eax, edx
shl eax, 8
or eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], eax
call fcn.00479394
push eax
push dword [esp + 0xa0]
call fcn.0047a15d
pop ecx
pop ecx
push 1
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0xbc], 8
mov ecx, dword [esp + 0xa8]
jae 0x48b4a1
lea ecx, [esp + 0xa8]
push dword [ebx + 0x448]
mov esi, dword [esp + 0x6c]
call fcn.0046875e
push dword [eax]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov edi, eax
lea eax, [ebx + 0x36c]
cmp dword [eax + 0x18], 8
jb 0x48b4ce
mov eax, dword [eax + 4]
jmp 0x48b4d1
add eax, 4
push dword [ebx + 0x310]
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push eax
push dword [esp + 0x78]
call dword [sym.imp.USER32.dll_DrawTextW]
push edi
push dword [esp + 0x6c]
call esi
lea ecx, [esp + 0x68]
call fcn.00479394
push eax
push dword [esp + 0xa0]
call fcn.0047a097
mov edx, dword [esp + 0x2c]
test edx, edx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xa4]
pop ecx
pop ecx
mov dword [esp + 0x54], eax
jle 0x48b624
and dword [esp + 0x30], 0
mov ecx, eax
shl ecx, 2
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x54]
test edx, edx
jle 0x48b616
mov esi, dword [esp + 0x30]
lea eax, [ebx + 1]
mov edi, ebx
mov dword [esp + 0x14], ebx
sub dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
sub edi, eax
add esi, eax
add edi, 2
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov ah, byte [esi + edx]
movzx edx, byte [edi + esi]
mov al, byte [esi]
shl eax, 8
or eax, edx
cmp dword [esp + 0x2c], eax
je 0x48b604
mov edx, dword [esp + 0x10]
cmp byte [edx + ebx + 3], 0
je 0x48b604
test eax, eax
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
jge 0x48b59c
fadd dword [0x4feee0]
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test eax, eax
jge 0x48b5ae
fadd dword [0x4feee0]
fdivp st(1)
fstp dword [esp + 0x28]
fild dword [esp + 0x50]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004d90a6
fild dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
fld st(1)
mov byte [esi + ecx], al
fmulp st(1)
call fcn.004d90a6
fild dword [esp + 0x58]
fld st(1)
mov byte [esi], al
fmulp st(1)
call fcn.004d90a6
fmul qword [0x4fee78]
mov byte [edi + esi], al
call fcn.004d90a6
mov ecx, dword [esp + 0x10]
mov byte [ecx + ebx + 3], al
mov ecx, dword [esp + 0x64]
add dword [esp + 0x10], 4
add esi, 4
dec dword [esp + 0x34]
jne 0x48b561
add dword [esp + 0x30], ecx
dec dword [esp + 0x38]
jne 0x48b535
mov byte [esp + 0x10], 0
xor eax, eax
lea edi, [esp + 0x11]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 0xff
push dword [esp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push 0
push dword [esp + 0x7c]
push dword [esp + 0x3c]
push dword [esp + 0x7c]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x68]
call fcn.0047933c
lea esi, [esp + 0xa4]
call fcn.00401650
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 8