Function at 0x401090
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push eax
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0x10
push 0x10
push 1
push 1
mov eax, dword [0x4d2e1c]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0xffffffffffffffde
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0
push 0x20
push 0x20
push 1
push 1
mov edx, dword [0x4d2e1c]
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0xfffffffffffffff2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [ebp - 4], 0
je 0x4014e8
xor ecx, ecx
mov word [ebp - 0x408], cx
push 0x1fe
push 0
lea edx, [ebp - 0x406]
push edx
call fcn.004677c0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0x100
lea edx, [ebp - 0x408]
push edx
push 0xc8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x401164
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor ecx, ecx
mov word [ebp - 0x208], cx
push 0x1fe
push 0
lea edx, [ebp - 0x206]
push edx
call fcn.004677c0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0x100
lea edx, [ebp - 0x208]
push edx
push 0xc9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x4011c3
lea edx, [ebp - 0x208]
push edx
push 0x3eb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 0x100
lea eax, [ebp - 0x208]
push eax
push 0xca
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x401203
lea eax, [ebp - 0x208]
push eax
push 0x3ec
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
push 0xcb
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x401243
lea ecx, [ebp - 0x208]
push ecx
push 0x1f5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0x100
lea edx, [ebp - 0x208]
push edx
push 0xcc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x401283
lea edx, [ebp - 0x208]
push edx
push 0x1f6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 0x100
lea eax, [ebp - 0x208]
push eax
push 0xcd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x4012c3
lea eax, [ebp - 0x208]
push eax
push 0x1f7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
push 0xce
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call fcn.00449970
add esp, 0x14
test eax, eax
je 0x401303
lea ecx, [ebp - 0x208]
push ecx
push 0x2c8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x236]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x236]
and ecx, 2
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x236]
and ecx, 4
je 0x401389
push 0xfffffffffffffff0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x4013ac
push 0
push 1
push 0xf1
push 0x1f5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4013c4
push 0
push 0
push 0xf1
push 0x1f5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x4013e7
push 0
push 1
push 0xf1
push 0x1f6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4013ff
push 0
push 0
push 0xf1
push 0x1f6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x401422
push 0
push 1
push 0xf1
push 0x1f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x40143a
push 0
push 0
push 0xf1
push 0x1f7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, dword [ebp - 4]
add edx, 0x2e
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4014ab
push 0x50
push 0
push 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x2e
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
push ecx
push str.AQTOOLBARDlg_InitDialog____hImageWizard_x
call fcn.00456a00
add esp, 8
cmp dword [ebp - 0x410], 0
je 0x4014a9
mov edx, dword [ebp - 0x410]
push edx
push 0
push 0x172
push 0x46c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4014c3
push 0
push 0x46c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call section..text
add esp, 8
push 0x2c8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00435ef0
cmp dword [0x4d19a9], 0
je 0x401508
cmp dword [0x4d0a14], 0
je 0x401508
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041fba0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret