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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf120
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov al, byte [ebx + 0x548]
test al, al
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
jne 0x47abe4
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00447820
jmp 0x47b1a2
cmp dword [ebx + 0x384], 0
je 0x47b1a2
mov edx, dword [ebx + 0x460]
mov edi, edx
and edi, 4
je 0x47ac4b
cmp dword [ebx + 0x19c], 0
jne 0x47ac22
cmp dword [ebx + 0x1a4], 0
jne 0x47ac22
cmp dword [ebx + 0x1a0], 0
jne 0x47ac22
cmp dword [ebx + 0x1a8], 0
je 0x47ac4b
mov ecx, dword [ebx + 0x1a0]
mov eax, dword [ebx + 0x1a4]
mov esi, dword [ebx + 0x19c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x1a8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x47acfb
test dl, 2
je 0x47ac92
cmp dword [ebx + 0x18c], 0
jne 0x47ac74
cmp dword [ebx + 0x194], 0
jne 0x47ac74
cmp dword [ebx + 0x190], 0
jne 0x47ac74
cmp dword [ebx + 0x198], 0
je 0x47ac92
mov eax, dword [ebx + 0x190]
mov esi, dword [ebx + 0x18c]
mov ecx, dword [ebx + 0x194]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x198]
jmp 0x47acf3
test dl, 0x10
je 0x47aca8
lea ecx, [ebx + 0x17c]
mov eax, ecx
call fcn.00481b40
test al, al
je 0x47acbe
test dl, 8
je 0x47acd7
lea ecx, [ebx + 0x16c]
mov eax, ecx
call fcn.00481b40
test al, al
jne 0x47acd7
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x47acfb
mov eax, dword [ebx + 0x160]
mov esi, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x168]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp edi, ecx
je 0x47ad0b
mov eax, dword [ebx + 0x14c]
cmp eax, ecx
jne 0x47ad3e
test dl, 2
je 0x47ad1a
mov eax, dword [ebx + 0x148]
cmp eax, ecx
jne 0x47ad3e
test dl, 0x10
je 0x47ad29
mov eax, dword [ebx + 0x144]
cmp eax, ecx
jne 0x47ad3e
test dl, 8
je 0x47ad38
mov eax, dword [ebx + 0x140]
cmp eax, ecx
jne 0x47ad3e
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ecx
mov word [esp + 0xa8], cx
cmp edi, ecx
mov dword [esp + 0xd0], ecx
je 0x47ad7b
cmp dword [ebx + 0xa8], ecx
je 0x47ad7b
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x94]
push ecx
jmp 0x47adba
test dl, 2
je 0x47ad8d
cmp dword [ebx + 0x8c], ecx
je 0x47ad8d
lea edx, [ebx + 0x78]
jmp 0x47adb6
test dl, 0x10
je 0x47ada0
cmp dword [ebx + 0x70], ecx
je 0x47ada0
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x5c]
push eax
jmp 0x47adba
test dl, 8
je 0x47adb3
cmp dword [ebx + 0x54], ecx
je 0x47adb3
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x40]
push ecx
jmp 0x47adba
lea edx, [ebx + 0x24]
push 0xffffffffffffffff
push ecx
push edx
lea eax, [esp + 0xb0]
call fcn.00405240
mov edi, dword [ebx + 0x3f8]
mov eax, dword [ebx + 0x400]
add edi, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x3fc]
mov edx, dword [ebx + 0x3f4]
sub ecx, dword [esp + 0x20]
add edx, esi
xor esi, esi
sub ecx, edx
sub eax, edi
mov dword [esp + 0x94], edx
mov edx, eax
xor eax, eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xdc], 1
call fcn.00488420
mov edx, dword [esp + 0x10]
movzx eax, dl
mov dword [esp + 0x44], eax
mov ecx, edx
shl eax, 8
movzx edx, dh
shr ecx, 0x10
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x88]
cmp eax, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
je 0x47aebf
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
push eax
mov edi, 0x1000000
call fcn.00488820
mov ecx, dword [esp + 0x58]
add esp, 4
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0xbc], 8
mov ecx, dword [esp + 0xa8]
jae 0x47af02
lea ecx, [esp + 0xa8]
mov edx, dword [ebx + 0x44c]
mov esi, dword [esp + 0x54]
push edx
call fcn.0044e4d0
mov eax, dword [eax]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
cmp dword [ebx + 0x388], 8
mov edi, eax
jb 0x47af31
mov eax, dword [ebx + 0x374]
jmp 0x47af37
lea eax, [ebx + 0x374]
mov ecx, dword [ebx + 0x314]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x54]
push edi
push ecx
call esi
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x47af68
xor esi, esi
jmp 0x47af75
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
mov edi, eax
call fcn.00488510
test eax, eax
push edi
je 0x47af88
call fcn.004886a0
jmp 0x47af8f
mov eax, esi
call fcn.00488710
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
add esp, 4
test eax, eax
mov dword [esp + 0x3c], edi
jle 0x47b131
fld qword [0x4e4f38]
xor esi, esi
lea ecx, [edi*4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x3c], 0
jle 0x47b116
lea eax, [edx + 1]
mov ebx, edx
mov edi, edx
sub ebx, eax
sub edi, eax
lea ecx, [eax + esi]
mov eax, dword [esp + 0x3c]
add ebx, 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x40]
movzx ebx, byte [ebx + ecx]
xor eax, eax
mov ah, byte [edi + ecx]
mov al, byte [ecx]
shl eax, 8
or eax, ebx
mov ebx, dword [esp + 0x38]
cmp ebx, eax
je 0x47b0fd
cmp byte [edx + esi + 3], 0
je 0x47b0fd
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x47b02d
fadd dword [0x4e4f98]
test ebx, ebx
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
jge 0x47b03f
fadd dword [0x4e4f98]
fdivp st(1)
mov ebx, dword [esp + 0x40]
fstp dword [esp + 0x10]
fild dword [esp + 0x44]
fld dword [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fld st(0)
fmulp st(2)
or eax, 0xc00
mov dword [esp + 0x14], eax
fxch st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [edi + ecx], al
fldcw word [esp + 0x10]
fild dword [esp + 0x48]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [ecx], al
fldcw word [esp + 0x10]
fild dword [esp + 0x4c]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [ebx + ecx], al
fldcw word [esp + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov byte [edx + esi + 3], al
fldcw word [esp + 0x10]
add esi, 4
add ecx, 4
sub dword [esp + 0x28], 1
jne 0x47aff0
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
add esi, ecx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x34], esi
jne 0x47afc8
mov eax, dword [esp + 0x24]
fstp st(0)
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [esp + 0x11], cx
mov byte [esp + 0x13], cl
mov byte [esp + 0x10], 0
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 0xff
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
push edi
push 0
push 0
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x54]
call fcn.00488380
cmp dword [esp + 0xbc], 8
jb 0x47b1a2
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004a85e6
add esp, 4
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.004a85d7
mov esp, ebp
pop ebp
ret 8