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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442978
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4531a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x24], ebx
je 0x4202d4
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [edi + 0xf4]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [edi + 0xe0], 0
je 0x41ffdc
mov eax, dword [edi + 0xdc]
add eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jle 0x41ffa5
cmp eax, dword [edi + 0xd4]
jge 0x41ffa5
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
cmp eax, ecx
jge 0x41ffa5
mov edx, dword [edi + 0xd8]
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
push 0xff80ff
push edx
mov edx, dword [edi + 8]
push eax
push 0
push 0
push esi
push ecx
push eax
mov eax, dword [edi + 4]
push edx
push eax
push ebx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xd4]
mov eax, dword [edi + 0xdc]
push 0xff80ff
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 8]
push 0
push eax
push esi
push edx
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
sub edx, ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi + 4]
push ecx
add edx, eax
push edx
push ebx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xd4]
push 0xff80ff
push ecx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
push eax
push 0
sub edx, eax
push edx
mov edx, dword [edi + 8]
push esi
push ecx
mov ecx, dword [edi + 0xc]
push eax
push edx
sub ecx, eax
push ecx
push ebx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
jmp 0x41ffff
mov edx, dword [edi + 0xd8]
mov eax, dword [edi + 0xd4]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
push 0xff80ff
push edx
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
push eax
mov eax, dword [edi + 8]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
jmp 0x41ffff
mov edx, dword [edi + 0xd8]
mov eax, dword [edi + 0xd4]
push 0xcc0020
push 0
push 0
push esi
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [edi + 0x84], 0
jbe 0x4202d4
mov eax, dword [edi + 0xe4]
add eax, dword [edi + 4]
mov edx, dword [edi + 0xec]
mov ecx, dword [edi + 0xe8]
mov esi, dword [edi + 0xf0]
add ecx, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
sub eax, esi
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 1
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi + 0xb0]
push ecx
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, edi
mov dword [esp + 0x40], eax
call fcn.00421740
mov eax, dword [edi + 0xb4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
xor esi, esi
push 0xffffffffffffffff
mov dword [esp + 0x48], eax
xor edx, edx
lea eax, [edi + 0x70]
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], esi
mov word [esp + 0x80], dx
call fcn.00405100
mov dword [esp + 0xa0], esi
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
jae 0x4200f4
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 0x400
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x34], esi
mov edx, eax
jle 0x42022c
xor ecx, ecx
cmp dword [edi + 0x84], ecx
mov dword [esp + 0x10], ecx
jle 0x42022c
jmp 0x420134
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x42014d
push 3
mov eax, 0x4498d8
lea esi, [esp + 0x78]
call fcn.004051f0
jmp 0x4201d8
lea eax, [edi + 0x70]
push eax
xor edx, edx
lea esi, [esp + 0x5c]
call fcn.0040e1f0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 1
call fcn.00405100
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x70], 8
jb 0x42018d
mov eax, dword [esp + 0x5c]
push eax
call fcn.00428b9c
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov ebx, 0x4498d8
lea esi, [esp + 0x5c]
call fcn.00413280
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 2
call fcn.00405100
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x70], 8
jb 0x4201d4
mov edx, dword [esp + 0x5c]
push edx
call fcn.00428b9c
add esp, 4
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x4201ea
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 0x400
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, eax
mov eax, dword [esp + 0x34]
add eax, 0x10
cmp eax, dword [esp + 0x1c]
jg 0x420228
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x84]
mov dword [esp + 0x10], eax
jl 0x420130
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
sub eax, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x78]
mov esi, 8
cmp dword [esp + 0x8c], esi
jae 0x420277
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push 1
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x44]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x3c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x28]
push eax
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp dword [esp + 0x8c], esi
jb 0x4202d4
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00428b9c
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00428ba7
mov esp, ebp
pop ebp
ret 4