Function at 0x401433
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
call dword [sym.imp.COMCTL32.DLL_InitCommonControls]
xor eax, eax
mov dword [section..bss], eax
mov dword [esp], 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push edx
lea edx, [ebp - 0x74]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
sub esp, 0xc
lea eax, [ebp - 0x58]
mov dword [esp + 0x34], eax
movzx eax, byte [ebp - 0x59]
mov dword [esp + 0x30], eax
movzx eax, byte [ebp - 0x5a]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebp - 0x5b]
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 0x5c]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp - 0x5d]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp - 0x5e]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x5f]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateFontW]
sub esp, 0x38
mov dword [0x406004], eax
mov dword [ebp - 0xa4], 0x30
mov dword [ebp - 0x9c], 0x401000
mov dword [ebp - 0x7c], str.MEMZPanel
mov dword [ebp - 0xa0], 3
xor ecx, ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], 0x10
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push esi
xor edi, edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], 0x280
xor eax, eax
mov dword [ebp - 0xcc], eax
mov ecx, 3
mov eax, dword [0x404370]
xor edx, edx
div ecx
mov eax, dword [0x404370]
add eax, edx
xor edx, edx
div ecx
lea edx, [eax + 1]
imul edx, edx, 0xa
imul eax, eax, 0x1e
lea eax, [edx + eax + 0x20]
mov dword [ebp - 0xc4], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0xca0000
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
sub esp, 0xc
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xcc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xd0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x32
mov dword [esp + 0x10], 0x32
mov dword [esp + 0xc], 0xca0000
mov dword [esp + 8], str.MEMZ_Clean_Version___Payload_Panel
mov dword [esp + 4], str.MEMZPanel
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [0x406008], eax
mov esi, 0x403040
xor ebx, ebx
mov eax, dword [0x406008]
cmp dword [0x404370], ebx
je 0x401742
mov dword [esp + 4], 0xfffffffa
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edx
push edx
mov ecx, eax
mov edi, 3
mov eax, ebx
cdq
idiv edi
lea edi, [eax + 1]
imul edi, edi, 0xa
imul eax, eax, 0x1e
add eax, edi
lea edi, [edx + 1]
imul edi, edi, 0xa
imul edx, edx, 0xc8
add edx, edi
cmp ebx, 1
sbb edi, edi
and edi, 0x20000
add edi, 0x50015003
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [0x406008]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.BUTTON
xor edi, edi
mov dword [esp], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [esi + 0x10], eax
mov dword [esp + 0xc], 1
mov edx, dword [0x406004]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esi]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
inc ebx
add esi, 0x24
jmp 0x40163b
mov dword [esp + 0xc], 1
mov edx, dword [0x406004]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x30
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], 5
mov eax, dword [0x406008]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push esi
mov eax, dword [0x406008]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40125d
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea ebx, [ebp - 0xc0]
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetMessageW]
sub esp, 0x10
test eax, eax
jle 0x40180f
mov eax, dword [section..bss]
test eax, eax
jne 0x4017fa
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ecx
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
jmp 0x4017b7
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
push edx
push edx
test eax, eax
je 0x4017e4
jmp 0x4017b7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret