Function at 0x46fd2e
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0c1e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x34], edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x78]
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.004334ae
and dword [esp + 0x140], 0
mov ebx, dword [esp + 0x58]
push ebx
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
call dword [edx + 0x38]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
call dword [edx + 0x90]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x50], eax
mov edx, dword [ecx]
call dword [edx + 0x94]
mov ecx, dword [0x520a3c]
mov dword [esp + 0x48], eax
mov edx, dword [ecx]
call dword [edx + 0x48]
mov esi, eax
lea eax, [esp + 0x78]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetClipBox]
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004c15bc
push dword [edi + 0x34]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.004333d1
mov esi, eax
lea edi, [esp + 0x78]
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x88], 0x48
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [0x520a3c]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004c15bc
and dword [esp + 0x8c], 0
mov dword [esp + 0x88], vtable.micro::utils::QString.0
xor cl, cl
mov byte [esp + 0x140], 1
mov byte [esp + 0x17], cl
xor edi, edi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
cmp dword [esi + 0x4c], ebx
jle 0x470142
test cl, cl
jne 0x470142
mov eax, dword [esi + 0x44]
cdq
add eax, edi
adc edx, ebx
shld edx, eax, 4
push edx
shl eax, 4
push eax
lea eax, [esp + 0x90]
push str._010I64X
push eax
call fcn.004ba5ae
add esp, 0x10
mov ecx, edi
shl ecx, 4
mov dword [esp + 0x34], ecx
lea eax, [ecx + 0x10]
push eax
push 0x48
push ecx
push 0
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x24
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x60]
call fcn.004c1534
mov eax, dword [esi + 0x44]
and dword [esp + 0x38], 0
cdq
add eax, edi
mov edi, eax
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x17]
adc edx, ebx
shld edx, edi, 4
xor esi, esi
shl edi, 4
xor ebx, ebx
mov dword [esp + 0x3c], edx
test al, al
jne 0x470022
mov ecx, esi
mov eax, ebx
add ecx, edi
adc eax, edx
cmp eax, dword [esp + 0x30]
jg 0x46fff4
jl 0x46ff69
cmp ecx, dword [esp + 0x18]
jae 0x46fff4
mov eax, dword [esp + 0x28]
mov al, byte [ecx + eax]
movzx eax, al
push eax
lea eax, [esp + 0x8c]
push str._02X
push eax
call fcn.004ba5ae
mov edx, dword [esp + 0x44]
add esp, 0xc
imul eax, esi, 0x14
add edx, 0x4e
add edx, eax
mov eax, dword [esp + 0x34]
add eax, 0x10
push eax
lea eax, [esp + 0x7c]
lea ecx, [edx + 0x14]
push ecx
push dword [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 2
push ebx
push esi
call fcn.00401b40
or eax, edx
mov eax, dword [esp + 0x48]
cmove eax, dword [esp + 0x50]
push eax
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x24
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x60]
call fcn.004c1534
mov edx, dword [esp + 0x3c]
mov al, byte [esp + 0x17]
jmp 0x46fffa
mov al, 1
mov byte [esp + 0x17], al
cmp esi, 7
jne 0x47000b
test ebx, ebx
jne 0x47000b
mov dword [esp + 0x38], 6
add esi, 1
adc ebx, 0
js 0x46ff43
jg 0x470022
cmp esi, 0x10
jb 0x46ff43
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x44]
mov eax, esi
cdq
add eax, edi
mov dword [esp + 0x78], 0x19a
mov dword [esp + 0x80], 0x23a
adc edx, ebx
shld edx, eax, 4
shl eax, 4
sub ecx, eax
mov eax, dword [esp + 0x30]
sbb eax, edx
mov dword [esp + 0x40], eax
js 0x470070
jg 0x47006b
cmp ecx, 0x10
jbe 0x470070
push 0x10
pop ecx
jmp 0x47007c
mov ecx, dword [esp + 0x18]
lea eax, [esi + edi]
shl eax, 4
sub ecx, eax
lea eax, [esi + edi]
shl eax, 4
add eax, dword [esp + 0x28]
test ecx, ecx
je 0x4700bb
lea esi, [esp + 0x98]
mov ebx, ecx
sub esi, eax
mov dl, byte [eax]
test dl, dl
je 0x4700af
cmp dl, 0xa
je 0x4700af
cmp dl, 0xd
je 0x4700af
cmp dl, 0x20
je 0x4700af
mov byte [esi + eax], dl
jmp 0x4700b3
mov byte [esi + eax], 0x2e
inc eax
dec ebx
jne 0x470095
mov ebx, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov byte [esp + ecx + 0x9c], 0
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x40
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
inc eax
push eax
lea eax, [esp + 0xa4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0x24
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x60]
call fcn.004c1569
mov esi, dword [esp + 0x20]
add edi, 1
mov cl, byte [esp + 0x17]
adc ebx, 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x4c]
cdq
cmp ebx, edx
jl 0x46fea9
jg 0x470142
cmp edi, eax
jb 0x46fea9
push dword [esp + 0x4c]
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov byte [esp + 0x140], 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], vtable.micro::utils::QString.0
call fcn.004b9e50
lea ecx, [esp + 0x54]
call fcn.004333f6
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 4