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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4424c8
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 0x4200a4
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 0x41fdac
mov eax, dword [edi + 0xdc]
add eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jle 0x41fd75
cmp eax, dword [edi + 0xd4]
jge 0x41fd75
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
cmp eax, ecx
jge 0x41fd75
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 0x41fdcf
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 0x41fdcf
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 0x4200a4
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.004213e0
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.00405070
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 0x41fec4
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 0x41fffc
xor ecx, ecx
cmp dword [edi + 0x84], ecx
mov dword [esp + 0x10], ecx
jle 0x41fffc
jmp 0x41ff04
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x41ff1d
push 3
mov eax, 0x449838
lea esi, [esp + 0x78]
call fcn.00405160
jmp 0x41ffa8
lea eax, [edi + 0x70]
push eax
xor edx, edx
lea esi, [esp + 0x5c]
call fcn.0040dff0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 1
call fcn.00405070
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x70], 8
jb 0x41ff5d
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042867c
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov ebx, 0x449838
lea esi, [esp + 0x5c]
call fcn.00412d90
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 2
call fcn.00405070
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x70], 8
jb 0x41ffa4
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042867c
add esp, 4
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x41ffba
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 0x41fff8
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x84]
mov dword [esp + 0x10], eax
jl 0x41ff00
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 0x420047
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 0x4200a4
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0042867c
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.00428687
mov esp, ebp
pop ebp
ret 4