Function at 0x426160
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8531c0]
test al, 0x10
je 0x426170
test al, 0x80
jne 0x426170
ret 4
push ebp
push edi
xor eax, eax
push esi
push ebx
mov esi, ecx
mov ecx, 0xc
sub esp, 0xac
lea ebx, [esp + 0x70]
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x8532b0]
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x78], 0x429350
mov dword [esp + 4], 0xc8
mov dword [esp + 0x84], eax
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadIconW]
sub esp, 8
mov dword [esp + 0x88], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
sub esp, 8
mov edi, dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], str.classSDIMain
mov dword [esp + 0x90], 6
mov dword [esp], ebx
call edi
sub esp, 4
test ax, ax
jne 0x426240
mov eax, dword [esp + 0x98]
mov dword [esp + 4], str.ERROR_in_gui__:_failed_to_register__S_class_n
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041e920
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 0x78], 0x420d60
mov dword [esp + 0x98], str.classSDIPopup
mov dword [esp + 0x88], 0
mov dword [esp], ebx
call edi
sub esp, 4
test ax, ax
je 0x426300
mov dword [esp + 0x78], 0x424270
mov dword [esp + 0x98], str.classSDIField
mov dword [esp], ebx
call edi
sub esp, 4
test ax, ax
jne 0x426350
mov eax, dword [esp + 0x98]
mov dword [esp + 4], str.ERROR_in_gui__:_failed_to_register__S_class_n
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041e920
mov ecx, 0x8554b8
mov dword [esp + 8], str.classMain
mov dword [esp + 4], 0x721b54
mov dword [esp], str.classSDIMain
call fcn.0043f2a0
sub esp, 0xc
mov ecx, 0x8554b8
mov dword [esp + 8], str.classPopup
mov dword [esp + 4], 0x721b54
mov dword [esp], str.classSDIPopup
call fcn.0043f2a0
sub esp, 0xc
jmp 0x426229
mov eax, dword [esp + 0x98]
mov dword [esp + 4], str.ERROR_in_gui__:_failed_to_register__S_class_n
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041e920
mov dword [esp + 8], str.classMain
mov dword [esp + 4], 0x721b54
mov ecx, 0x8554b8
mov dword [esp], str.classSDIMain
call fcn.0043f2a0
sub esp, 0xc
jmp 0x426229
mov eax, dword [0x8532b0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0x28], eax
mov eax, dword [0x70c794]
mov dword [esp + 0xc], 0x2cf0000
mov dword [esp + 8], 0x721b74
mov dword [esp + 4], str.classSDIMain
mov dword [esp], 0x80000
mov dword [esp + 0x1c], eax
mov eax, dword [0x70c788]
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
mov dword [esi + 0x38], eax
je 0x42697a
mov eax, dword [0x8531d0]
test eax, eax
je 0x426911
cmp eax, 2
je 0x42694c
test eax, eax
je 0x4264d0
test byte [0x8531c0], 0x10
mov eax, 0
cmove eax, dword [esp + 0xc0]
mov dword [esp + 0xc0], eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x38]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
sub esp, 8
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
lea ebx, [esp + 0x54]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x4ff
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call ebp
sub esp, 0x14
cmp eax, 0xc0
je 0x426422
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call edi
sub esp, 0x14
test eax, eax
je 0x426422
mov eax, dword [esp + 0x58]
cmp eax, 0x12
je 0x4264d0
cmp eax, 0x100
je 0x426541
cmp eax, 0x101
je 0x4265b4
cmp eax, 0x104
jne 0x4264ae
cmp dword [esp + 0x5c], 0x12
je 0x426455
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
sub esp, 4
jmp 0x426455
mov ecx, 0x8554b8
mov dword [esp + 8], str.classMain
mov dword [esp + 4], 0x721b54
mov dword [esp], str.classSDIMain
call fcn.0043f2a0
sub esp, 0xc
mov ecx, 0x8554b8
mov dword [esp + 8], str.classPopup
mov dword [esp + 4], 0x721b54
mov dword [esp], str.classSDIPopup
call fcn.0043f2a0
sub esp, 0xc
mov ecx, 0x8554b8
mov dword [esp + 8], str.classField
mov dword [esp + 4], 0x721b54
mov dword [esp], str.classSDIField
call fcn.0043f2a0
sub esp, 0xc
jmp 0x426229
test byte [esp + 0x63], 0x40
mov eax, dword [esp + 0x5c]
je 0x426600
cmp eax, 0x20
je 0x426707
mov edx, eax
and edx, 0xfffffffd
cmp edx, 0x25
jne 0x42656d
cmp dword [esi + 0x58], 5
je 0x426862
cmp eax, 0x25
je 0x4266a0
cmp eax, 0x27
je 0x426642
cmp eax, 0x26
je 0x426890
cmp eax, 0x28
jne 0x4265a2
mov dword [esp], 1
mov ecx, esi
call fcn.00425f60
sub esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, 9
je 0x426780
mov eax, dword [esp + 0x58]
jmp 0x4264a0
mov edx, dword [esp + 0x5c]
cmp edx, 0x11
je 0x4267a1
cmp edx, 0x20
je 0x4267a1
cmp edx, 0x20
je 0x4265ea
lea ecx, [edx - 0xa0]
cmp ecx, 1
jbe 0x4265e3
cmp edx, 0x10
jne 0x4264a0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
jmp 0x4264a0
cmp eax, 0x11
je 0x426800
cmp eax, 0x20
je 0x426800
cmp eax, 0x20
je 0x426700
lea edx, [eax - 0xa0]
cmp edx, 1
jbe 0x42662f
cmp eax, 0x10
jne 0x426559
mov dword [esi + 0x54], 1
mov dword [esi + 0x50], 1
jmp 0x426559
cmp dword [esi + 0x58], 1
jne 0x4265ab
lea eax, [esp + 0x4c]
mov ecx, dword [0x70c368]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.0042e920
sub esp, 0x10
mov ecx, dword [0x70c368]
mov eax, dword [esp + 0x48]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0042f450
sub esp, 8
mov eax, dword [esp + 0x5c]
jmp 0x42657f
cmp dword [esi + 0x58], 1
jne 0x4265ab
lea eax, [esp + 0x4c]
mov ecx, dword [0x70c368]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.0042e920
sub esp, 0x10
mov ecx, dword [0x70c368]
mov eax, dword [esp + 0x48]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.0042f450
sub esp, 8
mov eax, dword [esp + 0x5c]
jmp 0x426576
mov dword [esi + 0x50], 1
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4265ab
cmp eax, 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x201
je 0x4268dc
mov eax, dword [esi + 0x38]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp], eax
mov dword [esp + 0x3c], edx
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x202
mov eax, dword [esi + 0x38]
mov dword [esp], eax
mov edx, dword [esp + 0x3c]
call edx
sub esp, 0x10
mov eax, dword [esp + 0x5c]
jmp 0x426559
mov edx, dword [esi + 0x54]
test edx, edx
jne 0x4268b0
mov dword [esp], 1
mov ecx, esi
call fcn.00425e50
sub esp, 4
jmp 0x4265ab
mov eax, dword [esi + 0x3c]
mov ecx, dword [0x853264]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
mov dword [esp], 0
call fcn.00407d00
sub esp, 0x18
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
cmp edx, 0x11
jne 0x4265ca
mov dword [esi + 0x4c], 0
jmp 0x4264a0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub esp, 4
mov edx, dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp], eax
call edx
sub esp, 8
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call edx
sub esp, 8
mov eax, dword [esp + 0x5c]
cmp eax, 0x11
jne 0x426612
mov dword [esi + 0x4c], 1
jmp 0x4265ab
cmp eax, 0x25
mov ecx, esi
sete al
movzx eax, al
neg eax
or eax, 1
mov dword [esp], eax
call fcn.00425f60
sub esp, 4
mov eax, dword [esp + 0x5c]
jmp 0x42656d
mov dword [esp], 0xffffffff
mov ecx, esi
call fcn.00425f60
sub esp, 4
mov eax, dword [esp + 0x5c]
jmp 0x4265a2
mov dword [esp], 0xffffffff
mov ecx, esi
call fcn.00425e50
sub esp, 4
cmp dword [esp + 0x5c], 9
jne 0x4265ab
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4264ae
jmp 0x42678b
mov eax, dword [esi + 0x3c]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp], eax
mov dword [esp + 0x3c], edx
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x202
mov eax, dword [esi + 0x3c]
jmp 0x426763
mov eax, dword [0x8532b0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4207d0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x12d
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [0x8531d0]
sub esp, 0x14
jmp 0x4263d3
mov ecx, dword [0x8575d0]
or dword [0x8531c0], 0x20
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x8532b4]
or dword [0x8554a8], 8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [0x8531d0]
jmp 0x4263dc
mov dword [esp + 8], str.classSDIMain
mov dword [esp + 4], str.ERROR_in_gui__:_failed_to_create__S_window_n
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x426229