Function at 0x405e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x45d81c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x6b
cmp eax, 0x195
jl 0x405e3e
call 0xe844c8ee
xchg esp, eax
and al, 0
add byte [ebx - 0x3f7afb3c], al
push 4
call fcn.004082d9
add esp, 4
test eax, eax
je 0x405e54
mov dword [eax], 0x402b00
jmp 0x405e56
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push 0x401830
push 0
push 0
call fcn.0040ed66
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x406086
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.GDI32.dll_RoundRect]
cmp dword [ebp - 0x30], 0
je 0x406094
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
je 0x40609b
push 0
push ecx
push dword [ebp - 0x34]
call fcn.00406325
add esp, 0xc
test eax, eax
jne 0x4060a2
push ebx
push esi
push edi
push eax
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_PhysicalToLogicalPoint]
mov ax, word [0x4263a0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
push ecx
movq xmm0, qword [str.lalauciyYUA]
mov dword [esp], 0x45436000
mov word [ebp - 0x20], ax
mov al, byte [0x4263a2]
push str.duigbxYUAgxyusa
mov byte [ebp - 0x28], 0
push 0x45ea18
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x2c], 0x270f
mov dword [ebp - 0x18], 0xb
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0x45436000
mov dword [ebp - 0xc], 0x4783f880
mov dword [ebp - 8], 0x4efe7282
call fcn.00401100
add esp, 8
mov ecx, eax
call fcn.004026a0
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 0x44], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.004019f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
call dword [edx + 0x30]
movzx ebx, ax
test esi, esi
je 0x405fa5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x405fa5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
mov ecx, edi
call fcn.004050e0
mov ecx, edi
call fcn.00404c90
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00401600
mov edi, dword [ebp - 0x3c]
mov eax, 0x66666667
mov esi, dword [ebp - 0x40]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x405fe7
push 0
call dword [sym.imp.GDI32.dll_GetTextCharacterExtra]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40601b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406011
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060a9
push ecx
push edx
call fcn.00408309
add esp, 8
test esi, esi
je 0x40606d
lea ecx, [ebp - 0x40]
push ecx
push edi
push esi
call fcn.00401590
mov ecx, dword [ebp - 0x38]
mov eax, 0x66666667
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406063
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060a9
push ecx
push esi
call fcn.00408309
add esp, 8
cmp dword [ebp - 0x30], 0
pop edi
pop esi
pop ebx
jne 0x4060ae
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00408317
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x30], 0
call fcn.00406465
push 1
call fcn.00406465
push 5
call fcn.00406465
push 2
call fcn.00406465
call fcn.0040cd6f
call fcn.0040eba6
int3