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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4b1120]
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 [0x4b569c]
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 [0x4b569c]
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 0x401489
xor ecx, ecx
mov word [ebp - 0x408], cx
push 0x1fe
push 0
lea edx, [ebp - 0x406]
push edx
call fcn.00447660
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.0042a700
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.00447660
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.0042a700
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.0042a700
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.0042a700
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.0042a700
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.0042a700
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.0042a700
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]
cmp dword [eax + 8], 0
je 0x40134d
push 0
push 1
push 0xf1
push 0x1f5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x401365
push 0
push 0
push 0xf1
push 0x1f5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x401388
push 0
push 1
push 0xf1
push 0x1f6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4013a0
push 0
push 0
push 0xf1
push 0x1f6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x4013c3
push 0
push 1
push 0xf1
push 0x1f7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4013db
push 0
push 0
push 0xf1
push 0x1f7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebp - 4]
add eax, 0x2e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40144c
push 0x50
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x2e
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x40c], eax
mov edx, dword [ebp - 0x40c]
push edx
push str.AQTOOLBARDlg_InitDialog____hImageWizard_x
call fcn.00437970
add esp, 8
cmp dword [ebp - 0x40c], 0
je 0x40144a
mov eax, dword [ebp - 0x40c]
push eax
push 0
push 0x172
push 0x46c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401464
push 0
push 0x46c
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]
push eax
mov ecx, dword [ebp + 8]
push ecx
call section..text
add esp, 8
push 0x2c8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.004185e0
cmp dword [0x4b5269], 0
je 0x4014a9
cmp dword [0x4b42cc], 0
je 0x4014a9
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004144e0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret