Function at 0x402770
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
call fcn.00401780
lea edx, [ebp - 0x40]
xor eax, eax
mov ecx, 9
mov edi, edx
mov dword [ebp - 0x1c], str.LHCalc
rep stosd dword es:[edi], eax
mov dword [esp], edx
mov dword [ebp - 0x3c], 0x4015c0
call dword [sym.imp.USER32.dll_RegisterClassA]
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x1e0
mov dword [esp + 0x18], 0x168
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xc80000
mov dword [esp + 8], str.LHCalc
mov dword [esp + 4], str.LHCalc
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [0x4063f0], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x7d
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0xa
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], str.Enter_1st_number:
mov dword [esp + 4], str.static
mov dword [esp], 0
call ebx
mov eax, dword [0x4063f0]
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x55
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0x91
mov dword [esp + 0xc], 0x50800000
mov dword [esp + 8], 0
mov dword [esp + 4], str.edit
mov dword [esp], 0
call ebx
mov dword [0x4063ec], eax
mov eax, dword [0x4063f0]
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x7d
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x10], 0xa
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], str.Enter_2nd_number:
mov dword [esp + 4], str.static
mov dword [esp], 0
call ebx
mov eax, dword [0x4063f0]
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x55
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x10], 0x91
mov dword [esp + 0xc], 0x50800000
mov dword [esp + 8], 0
mov dword [esp + 4], str.edit
mov dword [esp], 0
call ebx
mov dword [0x4063e4], eax
mov eax, dword [0x4063f0]
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x14], 0x96
mov dword [esp + 0x10], 0xa
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x404087
mov dword [esp + 4], str.button
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x5c]
mov dword [0x4063e8], eax
mov eax, dword [0x4063f0]
sub esp, 0x30
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
sub esp, 8
jmp 0x402a64
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
jne 0x402a50
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret