Function at 0x402a00
Capabilities:
Create thread

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, dword [esp + 0x68]
push edi
lea eax, [esp + 0x14]
push eax
mov dword [0x426140], esi
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 7
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
xor edi, edi
test eax, eax
jne 0x402a46
push 0x10
push str.Sigma
push str.Unable_to_load_Common_Controls_
push edi
call ebx
mov ecx, dword [0x426140]
push 0x68
push ecx
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 0x4026a0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], str.SigmaMdiFrame
mov dword [esp + 0x68], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x402ad9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10
push str.Sigma
push str.This_program_requires_Windows_NT_
push edi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x10
mov ebx, dword [sym.imp.USER32.dll_LoadMenuA]
push ebp
push 0x65
push esi
call ebx
push 0x6c
push esi
mov dword [0x42614c], eax
call ebx
mov dword [0x426158], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x42614c]
push edi
push esi
push eax
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x2cf0000
push str.Sigma
push str.SigmaMdiFrame
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push eax
mov dword [0x426148], eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00401cf0
mov dword [esp + 0x14], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x10], edi
mov dword [0x426120], 0x402200
mov dword [0x426124], 0x402220
mov esi, 0x402240
call fcn.00402260
cmp eax, 3
jne 0x402b7e
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
cmp word [edx + 0x40], 0x12
jbe 0x402bd3
mov ebx, 0x1629
mov ebp, 0x162a
mov dword [0x425018], edi
mov dword [0x42501c], edi
mov dword [0x425020], edi
mov dword [0x425028], edi
mov dword [0x425024], edi
mov dword [0x42502c], edi
mov dword [0x426124], 0x401df0
mov dword [0x426120], 0x401db0
mov esi, 0x401f30
lea eax, [esp + 0x10]
push eax
push ebx
call esi
lea ecx, [esp + 0x78]
push ecx
push ebp
call esi
mov edx, dword [esp + 0x80]
xor eax, eax
add esp, 0x10
mov dword [0x426128], eax
mov dword [0x42612c], eax
mov dword [0x426130], eax
push 0x426128
mov dword [0x426134], eax
mov dword [0x426138], eax
mov dword [0x42613c], eax
mov dword [0x426128], edi
mov dword [0x42612c], 1
mov dword [0x426130], edx
call dword [esp + 0x14]
mov eax, dword [0x426148]
push edi
push edi
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x426148]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004022d0
call fcn.004023f0
call fcn.00402510
push edi
push edi
push edi
push 0x402550
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
mov dword [0x426168], eax
call esi
test eax, eax
je 0x402cac
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ecx]
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
call ebp
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
call esi
test eax, eax
jne 0x402c90
call fcn.00402480
mov eax, dword [0x426164]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x10