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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7270
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebx, ecx
mov al, byte [ebx + 0x540]
test al, al
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
jne 0x471c74
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00442d60
jmp 0x472229
cmp dword [ebx + 0x380], 0
je 0x472229
mov edx, dword [ebx + 0x45c]
mov edi, edx
and edi, 4
je 0x471cdb
cmp dword [ebx + 0x198], 0
jne 0x471cb2
cmp dword [ebx + 0x1a0], 0
jne 0x471cb2
cmp dword [ebx + 0x19c], 0
jne 0x471cb2
cmp dword [ebx + 0x1a4], 0
je 0x471cdb
mov ecx, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x1a0]
mov esi, dword [ebx + 0x198]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x1a4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x471d8b
test dl, 2
je 0x471d22
cmp dword [ebx + 0x188], 0
jne 0x471d04
cmp dword [ebx + 0x190], 0
jne 0x471d04
cmp dword [ebx + 0x18c], 0
jne 0x471d04
cmp dword [ebx + 0x194], 0
je 0x471d22
mov eax, dword [ebx + 0x18c]
mov esi, dword [ebx + 0x188]
mov ecx, dword [ebx + 0x190]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x194]
jmp 0x471d83
test dl, 0x10
je 0x471d38
lea ecx, [ebx + 0x178]
mov eax, ecx
call fcn.0044b0e0
test al, al
je 0x471d4e
test dl, 8
je 0x471d67
lea ecx, [ebx + 0x168]
mov eax, ecx
call fcn.0044b0e0
test al, al
jne 0x471d67
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 0x471d8b
mov eax, dword [ebx + 0x15c]
mov esi, dword [ebx + 0x158]
mov ecx, dword [ebx + 0x160]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp edi, ecx
je 0x471d9b
mov eax, dword [ebx + 0x14c]
cmp eax, ecx
jne 0x471dce
test dl, 2
je 0x471daa
mov eax, dword [ebx + 0x148]
cmp eax, ecx
jne 0x471dce
test dl, 0x10
je 0x471db9
mov eax, dword [ebx + 0x144]
cmp eax, ecx
jne 0x471dce
test dl, 8
je 0x471dc8
mov eax, dword [ebx + 0x140]
cmp eax, ecx
jne 0x471dce
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 0x471e0b
cmp dword [ebx + 0xa8], ecx
je 0x471e0b
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x94]
push ecx
jmp 0x471e4a
test dl, 2
je 0x471e1d
cmp dword [ebx + 0x8c], ecx
je 0x471e1d
lea edx, [ebx + 0x78]
jmp 0x471e46
test dl, 0x10
je 0x471e30
cmp dword [ebx + 0x70], ecx
je 0x471e30
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x5c]
push eax
jmp 0x471e4a
test dl, 8
je 0x471e43
cmp dword [ebx + 0x54], ecx
je 0x471e43
push 0xffffffffffffffff
push ecx
lea ecx, [ebx + 0x40]
push ecx
jmp 0x471e4a
lea edx, [ebx + 0x24]
push 0xffffffffffffffff
push ecx
push edx
lea eax, [esp + 0xb0]
call fcn.004017d0
mov edi, dword [ebx + 0x3f4]
mov eax, dword [ebx + 0x3fc]
add edi, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ebx + 0x3f0]
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.00461e80
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x88]
movzx eax, dl
mov ecx, edx
mov dword [esp + 0x44], eax
movzx edx, dh
shl eax, 8
shr ecx, 0x10
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
cmp edi, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
je 0x471f4f
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
call fcn.00463380
mov ecx, dword [esp + 0x54]
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 0x471f89
lea ecx, [esp + 0xa8]
mov edx, dword [ebx + 0x448]
mov esi, dword [esp + 0x54]
push edx
call fcn.004499c0
mov eax, dword [eax]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
cmp dword [ebx + 0x384], 8
mov edi, eax
jb 0x471fb8
mov eax, dword [ebx + 0x370]
jmp 0x471fbe
lea eax, [ebx + 0x370]
mov ecx, dword [ebx + 0x310]
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 0x471fef
xor esi, esi
jmp 0x471ffc
mov esi, dword [esp + 0x68]
imul esi, dword [esp + 0x64]
add esi, esi
add esi, esi
mov edi, eax
call fcn.00463130
test eax, eax
push edi
je 0x47200f
call fcn.004632c0
jmp 0x472016
mov eax, esi
call fcn.00463330
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 0x4721b8
fld qword [0x4da860]
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 0x47219d
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 0x472184
cmp byte [edx + esi + 3], 0
je 0x472184
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x4720b4
fadd dword [0x4da8b0]
test ebx, ebx
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
jge 0x4720c6
fadd dword [0x4da8b0]
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 0x472077
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
add esi, ecx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x34], esi
jne 0x47204f
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.00461de0
cmp dword [esp + 0xbc], 8
jb 0x472229
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004abbe4
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.004abc64
mov esp, ebp
pop ebp
ret 8