Function at 0x5417a0
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 [0x635790]
test eax, eax
jne 0x541824
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x635790], 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 0x54189b
lfence
mov eax, dword [esi + 0x38]
test eax, eax
je 0x541886
push eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push 4
push dword [0x633a54]
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 0x5420dc
cmp byte [esi + 0x40], 0
je 0x5418d2
push dword ds:[esp + 0x14]
mov edx, esi
mov ecx, edi
push 1
call fcn.00541640
mov edx, esi
mov byte [esi + 0x40], 0
mov ecx, edi
call fcn.00542140
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 0x54198e
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 0x54198e
cmp eax, dword [esp + 0x20]
jge 0x54198e
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 0x541945
test byte [esi + 0x28], 4
je 0x541d13
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 0x541c52
mov eax, dword [esi + 0x14]
cmp eax, 2
je 0x541a27
cmp eax, 3
je 0x541a27
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 0x5419f1
add bl, 0x40
jmp 0x5419f4
or bl, 0xff
cmp dl, 0xbf
ja 0x5419fe
add dl, 0x40
jmp 0x541a01
or dl, 0xff
cmp cl, 0xbf
ja 0x541a0b
add cl, 0x40
jmp 0x541a0e
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 0x541a33
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 0x541adf
cmp ebp, dword [esp + 0x20]
jge 0x541adf
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 + 0x61f470]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f470]
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 0x541ad8
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 0x541a67
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 0x541b8d
cmp edi, dword [esi + 4]
jge 0x541b8d
cmp ebp, dword [esp + 0x20]
jge 0x541b8d
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 + 0x61f470]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f470]
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 0x541b86
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 0x541b10
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 0x541d13
nop dword [eax]
mov edx, dword [esp + 0x20]
cmp ebp, edx
jge 0x541d17
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 + 0x61f470]
push dword [esp + 0x24]
mov word [edx], ax
movsx eax, byte [ecx + 0x61f470]
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 0x541c47
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 0x541bd0
jmp 0x541d13
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 4]
jge 0x541d13
mov ebp, dword [esp + 0x28]
mov ebx, 0x20
nop word [eax + eax]
mov edx, dword [esp + 0x20]
cmp eax, edx
jge 0x541d17
mov eax, dword [esi + 0x20]
xor edx, edx
mov ecx, ebp
test eax, eax
jle 0x541cc4
cmp edi, dword [esi + 4]
jge 0x541cc4
mov eax, dword ds:[esi]
inc edx
movzx eax, byte [eax + edi]
shr eax, 4
movsx eax, byte [eax + 0x61f470]
mov word [ecx], ax
mov eax, dword [esi]
movzx eax, byte [eax + edi]
inc edi
and eax, 0xf
movsx eax, byte [eax + 0x61f470]
mov word [ecx + 2], ax
mov word [ecx + 4], bx
add ecx, 6
mov eax, dword [esi + 0x20]
cmp edx, eax
jl 0x541c87
cmp edx, eax
jge 0x541ce6
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 0x541cd0
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 0x541c70
mov edx, dword [esp + 0x20]
test byte ds:[esi + 0x28], 2
je 0x5420dc
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 0x54202e
cmp dword [esi + 0x14], 1
push 0xd
jne 0x541d62
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword ds:[esp + 0x24], eax
jmp 0x541db8
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
cmp al, 0xbf
ja 0x541d7e
add al, 0x40
mov dword [esp + 0x24], eax
jmp 0x541d83
mov byte [esp + 0x24], 0xff
cmp cl, 0xbf
ja 0x541d8d
add cl, 0x40
jmp 0x541d90
or cl, 0xff
cmp dl, 0xbf
ja 0x541d9a
add dl, 0x40
jmp 0x541d9d
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 0x541e8a
nop dword [eax + eax]
cmp ebx, dword [esp + 0x20]
jge 0x541e8a
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541e22
push 0x117
push ecx
call fcn.0058e7bb
mov ecx, dword ds:[esp + 0x34]
add esp, 8
jmp 0x541e32
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 0x541e41
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 0x541e76
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 0x541df0
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 0x541f4f
cmp edi, dword [esi + 4]
jge 0x541f4f
nop
cmp ebx, dword [esp + 0x20]
jge 0x541f4f
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541ef0
push 0x117
push ecx
call fcn.0058e7bb
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x541f00
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 0x541f0f
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 0x541f44
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 0x541eb5
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 0x5420dc
nop dword [eax]
cmp ebx, dword [esp + 0x20]
jge 0x5420dc
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov dl, byte [edi + eax]
movzx ecx, dl
mov dword [esp + 0x2c], ecx
jge 0x541fc2
push 0x117
push ecx
call fcn.0058e7bb
mov ecx, dword ds:[esp + 0x34]
add esp, 8
jmp 0x541fd2
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 0x541fe1
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 0x542016
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 0x541f90
jmp 0x5420dc
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 4]
jge 0x5420dc
mov ecx, 0x5e
nop
cmp eax, edx
jge 0x5420dc
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ebp, eax
cmp dword [esi + 0x20], ebx
jle 0x5420a9
cmp edi, dword [esi + 4]
jge 0x5420a5
cmp byte [esi + 0x28], 0
mov eax, dword [esi]
mov al, byte [edi + eax]
movzx eax, al
jge 0x54207d
push 0x117
push eax
call fcn.0058e7bb
add esp, 8
mov ecx, 0x5e
jmp 0x542085
sub eax, 0x20
cmp ecx, eax
sbb eax, eax
inc eax
test eax, eax
je 0x542091
mov eax, dword [esi]
movzx eax, byte [eax + edi]
jmp 0x542096
mov eax, 0x2e
mov word ss:[ebp], ax
inc ebx
add ebp, 2
inc edi
cmp ebx, dword [esi + 0x20]
jl 0x542055
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 0x542040
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.00583f9f
add esp, 0x74
ret 8