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

Disassembly:
sub esp, 0x74
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x54]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], ebp
push eax
push edi
mov esi, edx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x68]
mov ebx, eax
push dword [esp + 0x68]
mov dword [esp + 0x1c], ebx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x6357b0]
test eax, eax
jne 0x5417a4
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x6357b0], eax
push eax
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push dword [esi + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBoundsRect]
mov eax, dword [esi + 0x20]
mov ecx, 8
lea eax, [eax + eax*2]
cmp eax, ecx
cmovl eax, ecx
lea ebx, [eax*2 + 2]
mov dword [esp + 0x24], ebx
cmp dword [esi + 0x3c], ebx
jae 0x54181b
lfence
mov eax, dword [esi + 0x38]
test eax, eax
je 0x541806
push eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
cmp dword [esi], 0
mov ebp, dword [esi + 0x38]
mov dword [esp + 0x28], ebp
je 0x54205c
cmp byte [esi + 0x40], 0
je 0x541852
push dword ds:[esp + 0x14]
mov edx, esi
mov ecx, edi
push 1
call fcn.005415c0
mov edx, esi
mov byte [esi + 0x40], 0
mov ecx, edi
call fcn.005420c0
mov ebx, dword [esp + 0x68]
dec ebx
mov cl, byte [esi + 0x28]
add ebx, dword [esi + 0x30]
mov eax, ebx
cdq
idiv dword [esi + 0x30]
sub ebx, edx
mov dword [esp + 0x20], ebx
test cl, 1
je 0x54190e
movups xmm0, xmmword ds:[esp + 0x5c]
mov edi, dword [esi + 0xc]
test cl, 8
mov eax, 0
mov byte [esp + 0x4a], 0x10
setne al
mov dword [esp + 0x40], 0x40108
xor ebx, ebx
test cl, 8
movups xmmword [esp + 0x6c], xmm0
setne bl
lea eax, [eax*4 + 4]
mov word [esp + 0x46], ax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x6c], eax
lea ebx, [ebx*4 + 4]
xor eax, eax
mov dword [esp + 0x70], eax
cmp edi, dword [esi + 4]
jge 0x54190e
cmp eax, dword [esp + 0x20]
jge 0x54190e
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x48]
mov dword [esp + 0x58], edi
push ebp
push 1
push eax
call sym.SystemInformer.exe_Ordinal_1380
push 0x920
lea eax, [esp + 0x70]
push eax
push ebx
push ebp
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x70]
add eax, dword [esi + 0x30]
add edi, dword [esi + 0x20]
mov dword [esp + 0x70], eax
cmp edi, dword [esi + 4]
jl 0x5418c5
test byte [esi + 0x28], 4
je 0x541c93
movups xmm0, xmmword ds:[esp + 0x5c]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], eax
xor eax, eax
cmp dword [esi + 0x18], 0xffffffff
mov dword [esp + 0x70], eax
je 0x541bd2
mov eax, dword [esi + 0x14]
cmp eax, 2
je 0x5419a7
cmp eax, 3
je 0x5419a7
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
mov edx, ebx
mov ecx, ebx
shr edx, 8
shr ecx, 0x10
cmp bl, 0xbf
ja 0x541971
add bl, 0x40
jmp 0x541974
or bl, 0xff
cmp dl, 0xbf
ja 0x54197e
add dl, 0x40
jmp 0x541981
or dl, 0xff
cmp cl, 0xbf
ja 0x54198b
add cl, 0x40
jmp 0x54198e
or cl, 0xff
movzx ecx, cl
shl ecx, 8
movzx eax, dl
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x5419b3
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x18]
mov ebx, 0x20
mov edx, dword [esi + 0x1c]
mov edi, ecx
cmp ecx, edx
cmovle edi, edx
cmovle edx, ecx
mov ecx, dword [esi + 4]
cmp edx, ecx
lea eax, [ecx - 1]
cmovl eax, edx
cmp edi, ecx
mov dword [esp + 0x2c], eax
cmovle ecx, edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
cmp edi, eax
jge 0x541a5f
cmp ebp, dword [esp + 0x20]
jge 0x541a5f
mov eax, dword [esi]
mov edx, dword [esp + 0x28]
push 3
push edx
movzx ecx, byte [eax + edi]
mov eax, ecx
and ecx, 0xf
shr eax, 4
push ebp
push dword [esp + 0x28]
movsx eax, byte [eax + 0x61f460]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f460]
mov word [edx + 2], ax
mov word [edx + 4], bx
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
add eax, ecx
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541a58
xor eax, eax
add ebp, dword [esi + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x5419e7
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword ds:[esp + 0x30]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp edi, dword [esp + 0x24]
jge 0x541b0d
cmp edi, dword [esi + 4]
jge 0x541b0d
cmp ebp, dword [esp + 0x20]
jge 0x541b0d
mov eax, dword [esi]
mov edx, dword [esp + 0x28]
push 3
push edx
movzx ecx, byte [eax + edi]
mov eax, ecx
and ecx, 0xf
shr eax, 4
push ebp
push dword [esp + 0x28]
movsx eax, byte [eax + 0x61f460]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f460]
mov word [edx + 2], ax
mov word [edx + 4], bx
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
add eax, ecx
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541b06
xor eax, eax
add ebp, dword [esi + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x24]
jl 0x541a90
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
nop dword [eax]
cmp edi, dword [esi + 4]
jge 0x541c93
nop dword [eax]
mov edx, dword [esp + 0x20]
cmp ebp, edx
jge 0x541c97
mov eax, dword [esi]
mov edx, dword [esp + 0x28]
push 3
push edx
movzx ecx, byte [eax + edi]
mov eax, ecx
and ecx, 0xf
shr eax, 4
push ebp
push dword [esp + 0x28]
movsx eax, byte [eax + 0x61f460]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f460]
mov word [edx + 2], ax
mov word [edx + 4], bx
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
add eax, ecx
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541bc7
xor eax, eax
add ebp, dword [esi + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
inc edi
cmp edi, dword [esi + 4]
jl 0x541b50
jmp 0x541c93
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 4]
jge 0x541c93
mov ebp, dword [esp + 0x28]
mov ebx, 0x20
nop word [eax + eax]
mov edx, dword [esp + 0x20]
cmp eax, edx
jge 0x541c97
mov eax, dword [esi + 0x20]
xor edx, edx
mov ecx, ebp
test eax, eax
jle 0x541c44
cmp edi, dword [esi + 4]
jge 0x541c44
mov eax, dword ds:[esi]
inc edx
movzx eax, byte [eax + edi]
shr eax, 4
movsx eax, byte [eax + 0x61f460]
mov word [ecx], ax
mov eax, dword [esi]
movzx eax, byte [eax + edi]
inc edi
and eax, 0xf
movsx eax, byte [eax + 0x61f460]
mov word [ecx + 2], ax
mov word [ecx + 4], bx
add ecx, 6
mov eax, dword [esi + 0x20]
cmp edx, eax
jl 0x541c07
cmp edx, eax
jge 0x541c66
add ecx, 4
nop dword [eax + eax]
mov dword [ecx - 4], 0x200020
lea ecx, [ecx + 6]
mov word [ecx - 6], bx
inc edx
mov eax, dword [esi + 0x20]
cmp edx, eax
jl 0x541c50
push 0x920
lea ecx, [esp + 0x70]
push ecx
lea eax, [eax + eax*2]
push eax
push ebp
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x70]
add eax, dword [esi + 0x30]
mov dword [esp + 0x70], eax
cmp edi, dword [esi + 4]
jl 0x541bf0
mov edx, dword [esp + 0x20]
test byte ds:[esi + 0x28], 2
je 0x54205c
movups xmm0, xmmword [esp + 0x5c]
mov ebp, dword [esi + 0x48]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp dword [esi + 0x18], 0xffffffff
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], eax
je 0x541fae
cmp dword [esi + 0x14], 1
push 0xd
jne 0x541ce2
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword ds:[esp + 0x24], eax
jmp 0x541d38
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
cmp al, 0xbf
ja 0x541cfe
add al, 0x40
mov dword [esp + 0x24], eax
jmp 0x541d03
mov byte [esp + 0x24], 0xff
cmp cl, 0xbf
ja 0x541d0d
add cl, 0x40
jmp 0x541d10
or cl, 0xff
cmp dl, 0xbf
ja 0x541d1a
add dl, 0x40
jmp 0x541d1d
or dl, 0xff
movzx edx, dl
shl edx, 8
movzx eax, cl
or edx, eax
mov eax, dword [esp + 0x24]
shl edx, 8
movzx eax, al
or edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x18]
mov edx, eax
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
mov edi, dword [esi + 4]
cmovle edx, ecx
cmovle ecx, eax
cmp ecx, edi
lea eax, [edi - 1]
cmovl eax, ecx
cmp edx, edi
mov dword [esp + 0x28], eax
cmovle edi, edx
mov dword [esp + 0x30], edi
mov edi, dword [esi + 0xc]
cmp edi, eax
jge 0x541e0a
nop dword [eax + eax]
cmp ebx, dword [esp + 0x20]
jge 0x541e0a
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541da2
push 0x117
push ecx
call fcn.0058e79b
mov ecx, dword ds:[esp + 0x34]
add esp, 8
jmp 0x541db2
movzx eax, dl
mov edx, 0x5e
sub eax, 0x20
cmp edx, eax
sbb eax, eax
inc eax
movzx ecx, cx
test eax, eax
movzx eax, cx
jne 0x541dc1
mov eax, 0x2e
push 1
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x18]
add ebp, dword [esi + 0x34]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541df6
mov ebp, dword [esi + 0x48]
xor eax, eax
add ebx, dword [esi + 0x30]
mov dword [esp + 0x18], eax
inc edi
cmp edi, dword [esp + 0x28]
jl 0x541d70
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x24]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp edi, dword [esp + 0x30]
jge 0x541ecf
cmp edi, dword [esi + 4]
jge 0x541ecf
nop
cmp ebx, dword [esp + 0x20]
jge 0x541ecf
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541e70
push 0x117
push ecx
call fcn.0058e79b
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x541e80
movzx eax, dl
mov edx, 0x5e
sub eax, 0x20
cmp edx, eax
sbb eax, eax
inc eax
movzx ecx, cx
test eax, eax
movzx eax, cx
jne 0x541e8f
mov eax, 0x2e
push 1
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x18]
add ebp, dword [esi + 0x34]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541ec4
mov ebp, dword [esi + 0x48]
xor eax, eax
add ebx, dword [esi + 0x30]
mov dword [esp + 0x18], eax
inc edi
cmp edi, dword [esp + 0x30]
jl 0x541e35
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
nop dword [eax]
cmp edi, dword [esi + 4]
jge 0x54205c
nop dword [eax]
cmp ebx, dword [esp + 0x20]
jge 0x54205c
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541f42
push 0x117
push ecx
call fcn.0058e79b
mov ecx, dword ds:[esp + 0x34]
add esp, 8
jmp 0x541f52
movzx eax, dl
mov edx, 0x5e
sub eax, 0x20
cmp edx, eax
sbb eax, eax
inc eax
movzx ecx, cx
test eax, eax
movzx eax, cx
jne 0x541f61
mov eax, 0x2e
push 1
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x18]
add ebp, dword [esi + 0x34]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x20]
jne 0x541f96
mov ebp, dword [esi + 0x48]
xor eax, eax
add ebx, dword [esi + 0x30]
mov dword [esp + 0x18], eax
inc edi
cmp edi, dword [esi + 4]
jl 0x541f10
jmp 0x54205c
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 4]
jge 0x54205c
mov ecx, 0x5e
nop
cmp eax, edx
jge 0x54205c
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ebp, eax
cmp dword [esi + 0x20], ebx
jle 0x542029
cmp edi, dword [esi + 4]
jge 0x542025
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov al, byte [edi + eax]
movzx eax, al
jge 0x541ffd
push 0x117
push eax
call fcn.0058e79b
add esp, 8
mov ecx, 0x5e
jmp 0x542005
sub eax, 0x20
cmp ecx, eax
sbb eax, eax
inc eax
test eax, eax
je 0x542011
mov eax, dword [esi]
movzx eax, byte [eax + edi]
jmp 0x542016
mov eax, 0x2e
mov word ss:[ebp], ax
inc ebx
add ebp, 2
inc edi
cmp ebx, dword [esi + 0x20]
jl 0x541fd5
mov eax, dword [esp + 0x28]
push 0x920
lea ecx, [esp + 0x70]
push ecx
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x70]
mov ecx, 0x5e
add eax, dword [esi + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], eax
cmp edi, dword [esi + 4]
jl 0x541fc0
mov ebx, dword ds:[esp + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push dword [esp + 0x78]
push dword [esp + 0x78]
push 0
push 0
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x38]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x74
ret 8