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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0ddc
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 8]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0xd0]
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.004334ae
and dword [esp + 0xf0], 0
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call fcn.004333d1
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x48]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x74]
call fcn.004c15bc
push 1
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SetBkMode]
and dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.micro::utils::QString.0
mov byte [esp + 0xf0], 1
lea esi, [esp + 0xb0]
lea edi, [esp + 0x90]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x6c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00472921
mov ecx, eax
mov eax, dword [ebx + 0x60]
add eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x471af4
mov edi, dword [ebx + 0x54]
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.00470e78
mov ecx, dword [ebx + 0x20]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x3c]
push dword [ebx + 0xd8]
mov dword [esp + 0x4c], eax
lea ecx, [esi + 1]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x74]
dec eax
cmp ecx, eax
cmovl eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x9c]
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov byte [esp + 0xf0], 2
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x40], eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
call dword [eax + 0x74]
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 1
push 0
call esi
mov dword [esp + 0x28], eax
mov byte [esp + 0xf0], 3
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call ebx
mov dword [esp + 0x30], eax
mov byte [esp + 0xf0], 4
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x84]
push eax
push 1
push 0
call esi
mov dword [esp + 0x38], eax
mov byte [esp + 0xf0], 5
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x80]
push eax
call ebx
mov edi, eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0xf0], 6
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x7c]
push eax
push 1
push 0
call esi
mov esi, eax
mov dword [esp + 0x2c], esi
mov byte [esp + 0xf0], 7
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
call ebx
mov ebx, eax
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf0], 8
cmp ecx, dword [esp + 0x34]
jg 0x471aa2
mov eax, dword [esp + 0x20]
cmp ecx, dword [esp + 0x48]
jne 0x47174e
cmp byte [eax + 0x6a], 0
jne 0x47172e
cmp ecx, dword [eax + 0x84]
je 0x47172e
push dword [esp + 0x38]
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [esp + 0x74]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
call edi
mov esi, eax
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x90]
push eax
call fcn.004c14f4
push esi
push dword [esp + 0x74]
call edi
push dword [esp + 0x24]
push dword [esp + 0x74]
call edi
jmp 0x4717be
push dword [esp + 0x28]
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x30]
mov edi, eax
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x47176c
cmp ecx, dword [eax + 0x84]
jne 0x471795
push esi
push dword [esp + 0x74]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
push ebx
push dword [esp + 0x74]
mov edi, eax
call esi
mov esi, eax
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x90]
push eax
call fcn.004c14f4
push esi
push dword [esp + 0x74]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
push edi
push dword [esp + 0x74]
call esi
jmp 0x4717be
mov eax, ecx
and eax, reloc.d2d1.dll_Ordinal_1
jns 0x4717a3
dec eax
or eax, 0xfffffffe
inc eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x6c]
cmovne eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004c15bc
push dword [esp + 0x44]
lea esi, [esp + 0x94]
lea edi, [esp + 0xc4]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc4]
push 2
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x124]
mov ecx, dword [esi + 0x20]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [ecx]
push edi
call dword [eax + pe_nt_image_headers32]
push eax
lea eax, [esp + 0x78]
mov ecx, 0x520aa0
push eax
call fcn.0046d8c3
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x90]
lea edi, [esp + 0x5c]
and dword [esp + 0x24], 0
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
lea esi, [esp + 0x5c]
lea edi, [esp + 0xa0]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
add eax, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
push edi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x94]
test al, al
je 0x471890
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x54]
push eax
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x20]
push edi
mov eax, dword [ecx]
call dword [eax + 0x9c]
lea edx, [esp + 0x14]
push edx
push edi
test al, al
je 0x4718e8
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + 4]
add ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x471967
mov eax, dword [esi + 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0xa4]
jmp 0x471958
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x47191b
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c1534
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x5c], ecx
push edx
mov eax, dword [eax + 4]
push edi
add ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x110]
test al, al
je 0x471967
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
call fcn.004c1534
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
push edx
mov eax, dword [eax + 8]
push edi
add ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x4719b3
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c1534
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
dec ecx
push edx
mov eax, dword [eax + 0xc]
push edi
mov eax, dword [eax + 8]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
call dword [eax + 0x118]
test al, al
je 0x471a02
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c1534
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
dec ecx
push edx
mov eax, dword [eax + 0x10]
push edi
mov eax, dword [eax + 8]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
test al, al
je 0x471a51
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
or eax, 0x8824
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c1534
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x94], eax
add eax, dword [esi + 0x60]
mov dword [esp + 0x9c], eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x94]
test al, al
je 0x471a87
push dword [esp + 0x24]
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
jle 0x4716ce
test ebx, ebx
je 0x471ab1
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
jmp 0x471ab7
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x471abe
push esi
call ebx
test edi, edi
je 0x471ac5
push edi
call ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x471ad0
push eax
call ebx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x471adb
push eax
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x471ae6
push eax
call ebx
push dword [esp + 0x54]
push dword [esp + 0x74]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0xf0], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.micro::utils::QString.0
call fcn.004b9e50
lea ecx, [esp + 0x6c]
call fcn.004333f6
mov al, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 4