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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x34], 0
je case.default.0x471a65
mov eax, dword [esi + 0x4c]
dec eax
cmp eax, 3
ja case.default.0x471a65
jmp dword [eax*4 + 0x471f1c]
mov al, byte [esi + 0x49]
cmp al, byte [esi + 0x48]
je 0x471a79
mov edx, dword [esi + 0x58]
jmp 0x471a7c
mov edx, dword [esi + 0x50]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov cl, byte [esi + 0x49]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp cl, byte [esi + 0x48]
je 0x471ab1
mov edx, dword [esi + 0x5c]
jmp 0x471ab4
mov edx, dword [esi + 0x54]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [ebp + 8]
mov dword [esp + 0x20], eax
call edi
push dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov ebx, eax
push ecx
call edi
push dword [esi + 0x28]
mov edi, eax
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov ecx, dword [ebp + 8]
push ebx
push ecx
call esi
push dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x1c]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00471f30
mov eax, dword [esi + 0x20]
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 8]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
cmp word [ecx + 0xe], 0x20
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 4]
jne 0x471bac
mov dword [esp + 0x10], 0x1ff0000
push dword [esp + 0x10]
push edx
push edi
push 0
push 0
push esi
push edx
push edi
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
jmp 0x471bc7
push 0xcc0020
push 0
push 0
push esi
push edx
push edi
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov cl, byte [esi + 0x49]
mov dword [esp + 0x2c], eax
cmp cl, byte [esi + 0x48]
je 0x471bff
mov ecx, dword [esi + 0x68]
jmp 0x471c02
mov ecx, dword [esi + 0x64]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov cl, byte [esi + 0x49]
mov dword [esp + 0x28], eax
cmp cl, byte [esi + 0x48]
je 0x471c1b
mov edx, dword [esi + 0x5c]
jmp 0x471c1e
mov edx, dword [esi + 0x54]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp byte [esi + 0x7c], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x6c]
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x10], eax
jne 0x471c6b
mov ecx, dword [esi + 0x94]
push eax
call fcn.004718f0
mov dword [esp + 0x10], eax
cmp byte [esi + 0x7d], 0
mov edi, eax
je 0x471de3
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471c80
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 0xa]
push eax
call fcn.004effff
mov edx, dword [esp + 0x18]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
sub eax, edx
mov dword [esp + 0x20], eax
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x471cb0
mov ebx, edi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x471cc5
sub ebx, ecx
mov eax, 0x66666667
sar ebx, 1
lea ecx, [ebx + ebx]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
nop
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471cf5
sub ecx, edx
lea eax, [esp + 0x30]
push eax
sar ecx, 1
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x471d36
cmp byte [eax + 0x34], 0
je 0x471d36
mov eax, dword [eax + 0x8c]
mov ecx, dword [esp + 0x30]
add eax, dword [esi + 0x78]
add ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x471d3a
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
cmp ecx, eax
jle 0x471de0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x471d56
cmp dword [esp + 0x14], ebx
je 0x471dc7
xor ecx, ecx
add eax, 0xffffffff
cmovns ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], ecx
cmp eax, ebx
lea edi, [ecx + ecx]
cmovge eax, ebx
push edi
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push dword [esp + 0x20]
call fcn.004e2360
mov ecx, dword [esp + 0x24]
mov eax, dword [0x54f694]
mov edx, dword [esp + 0x20]
mov dword [edi + ecx], eax
mov ax, word [0x54f698]
mov word [edi + ecx + 4], ax
mov eax, ebx
sub eax, edx
lea eax, [eax*2 + 2]
push eax
mov eax, dword [esp + 0x20]
lea eax, [eax + edx*2]
push eax
lea eax, [ecx + 6]
add eax, edi
push eax
call fcn.004e2360
mov edi, dword [esp + 0x30]
add esp, 0x18
jmp 0x471cf0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x471dd0
mov ebx, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471df0
sub ecx, edx
lea eax, [esp + 0x30]
push eax
sar ecx, 1
push ecx
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x471e2f
cmp byte [eax + 0x34], 0
je 0x471e2f
mov eax, dword [eax + 0x8c]
mov ecx, dword [esp + 0x30]
add eax, dword [esi + 0x78]
add ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x471e33
mov ecx, dword [esp + 0x30]
push dword [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00471f30
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471e44
sub ecx, edx
mov edx, dword [esi + 0x70]
sar ecx, 1
test edx, edx
je 0x471e6a
cmp byte [edx + 0x34], al
je 0x471e6a
mov edx, dword [edx + 0x8c]
add edx, dword [esi + 0x78]
jmp 0x471e6c
xor edx, edx
mov eax, dword [esi + 0x3c]
push ecx
push edi
inc eax
push eax
mov eax, dword [esi + 0x38]
add eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
cmp edi, dword [esp + 0x10]
je 0x471e8f
push edi
call fcn.004ef010
add esp, 4
push dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x28]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x90]
push dword [esi + 0x8c]
call fcn.00471f30
mov edi, dword [esi + 0x74]
test edi, edi
je 0x471ee9
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x38]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
jmp 0x471eef
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
push 3
push 0
push 0
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x80]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4