Function at 0x40101b
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x462568]
mov dword [ebp - 0x7c], eax
mov ecx, dword [0x46256c]
mov dword [ebp - 0x78], ecx
mov edx, dword [0x462570]
mov dword [ebp - 0x74], edx
mov eax, dword [0x462574]
mov dword [ebp - 0x70], eax
mov cx, word [0x462578]
mov word [ebp - 0x6c], cx
mov dl, byte [0x46257a]
mov byte [ebp - 0x6a], dl
mov ecx, 5
mov esi, 0x46257c
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.user32.dll_FindWindowA]
test eax, eax
je 0x401080
xor eax, eax
jmp 0x401307
push 0x43
call dword [sym.imp.user32.dll_GetSystemMetrics]
test eax, eax
je 0x4010aa
push 0x1000
push 0x462594
push 0x46259c
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
jmp 0x401307
cmp dword [ebp + 0xc], 0
jne 0x40113e
mov dword [ebp - 0x44], 0x1023
mov dword [ebp - 0x40], 0x40325d
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
push 0x4625bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [0x469f8c], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x48], 0x30
push 0x4625c8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.user32.dll_RegisterClassExA]
and eax, 0xffff
test eax, eax
jne 0x40113e
xor eax, eax
jmp 0x401307
xor ecx, ecx
mov cx, word [0x594ab8]
test ecx, ecx
jne 0x401161
push 0x4625d4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.user32.dll_LoadMenuA]
mov dword [0x5918d8], eax
jmp 0x401175
push 0x4625ec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.user32.dll_LoadMenuA]
mov dword [0x5918d8], eax
push 0
call fcn.004250b1
add esp, 4
push 0
call fcn.00425146
add esp, 4
push 3
push 0x3e6
mov ecx, dword [0x5918d8]
push ecx
call dword [sym.imp.user32.dll_EnableMenuItem]
mov edx, dword [ebp + 8]
mov dword [0x48fb4c], edx
push 8
push 0x190
mov eax, dword [0x5918d8]
push eax
call dword [sym.imp.user32.dll_CheckMenuItem]
push 0
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [0x58fd4c], eax
push 1
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [0x58fd38], eax
cmp dword [0x58fd4c], 0x320
jg 0x401243
cmp dword [0x58fd38], 0x258
jg 0x401243
mov dword [ebp - 0x68], 0x82000000
mov dword [0x46fd28], 0
mov dword [0x467968], 0
push 8
push 0x1f5
mov ecx, dword [0x5918d8]
push ecx
call dword [sym.imp.user32.dll_CheckMenuItem]
push 3
push 0x1f5
mov edx, dword [0x5918d8]
push edx
call dword [sym.imp.user32.dll_EnableMenuItem]
push 3
push 0x1f6
mov eax, dword [0x5918d8]
push eax
call dword [sym.imp.user32.dll_EnableMenuItem]
jmp 0x401272
mov dword [ebp - 0x68], 0x2ca0000
mov dword [0x46fd28], 1
mov dword [0x467968], 1
push 8
push 0x1f6
mov ecx, dword [0x5918d8]
push ecx
call dword [sym.imp.user32.dll_CheckMenuItem]
push 0x48fb08
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x592820], eax
push 1
mov eax, dword [0x592820]
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [0x592820]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push 0
push 0
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.user32.dll_GetMessageA]
test eax, eax
je 0x4012f9
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4012cf
push 0x48fb08
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10