Function at 0x49f880
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa4c
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebp
push esi
mov esi, dword [esp + 0xa58]
call fcn.00481a60
push 0x1018
push 0
push 0x51b928
call fcn.004a53a0
add esp, 0xc
push 0
push 0xf
push str.WizardLogo.bmp
mov ecx, 0x4f23e0
call fcn.0046d1f0
mov dword [0x51c940], eax
mov eax, dword [0x4d76b0]
push 1
mov ecx, 0x4f23e0
mov dword [esp + 0x50], str.WIZARDCMD
mov dword [esp + 0x5c], 0x49edc0
mov dword [esp + 0x80], str.WIZARDARC
mov dword [esp + 0x8c], 0x49f380
mov dword [esp + 0xb0], str.WIZARDEXTR
mov dword [esp + 0xbc], 0x49eb80
mov dword [esp + 0xe0], str.WIZARDADDOPT
mov dword [esp + 0xec], 0x49f120
mov dword [esp + 0x10], 0x34
mov dword [esp + 0x14], 0x22a
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.0046c5c0
cmp byte [0x4e9b89], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ecx
mov ebp, 2
je 0x49f99d
push 0x400
push 0x51b92c
mov ecx, 0x4f0dd0
call fcn.004130a0
mov dword [0x51b928], 0
mov dword [esp + 0x28], ebp
mov eax, dword [0x4d76b0]
mov edx, 0x30
mov ecx, 0x20
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xd0], edx
push 4
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xdc], eax
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xdc], ecx
push eax
mov ecx, 0x4d76c0
call fcn.00461020
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
push 4
lea edx, [esp + 0x44]
test eax, eax
push edx
mov ecx, 0x4d76c0
setg byte [esp + 0x13]
call fcn.00460110
mov cl, byte [esp + 0xb]
test cl, cl
je 0x49fcac
mov eax, dword [0x51b928]
test eax, eax
je 0x49fbca
jle 0x49fcac
cmp eax, ebp
jg 0x49fcac
mov eax, 0x4f907c
mov ecx, 0x51b92c
call fcn.0049ed50
cmp byte [0x51c92f], 0
mov al, byte [0x51c92d]
mov dword [0x4f661c], 3
mov dword [0x4f6618], ebp
mov byte [0x4f6652], al
je 0x49fa86
mov dword [0x4f65f8], ebp
mov ecx, dword [0x51c930]
mov edx, dword [0x51c934]
mov dword [0x4f6620], ecx
mov dword [0x4f6624], edx
cmp dword [0x51b928], ebp
jne 0x49fadf
push 0x4f907c
call fcn.004317d0
test al, al
je 0x49fadf
push 0
push 1
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x49fba9
mov eax, dword [0x4f0fdc]
mov dword [0x4f701c], eax
jmp 0x49fba9
cmp byte [0x51c92e], 0
je 0x49fb47
push 0x4badc8
push 0x4f907c
call fcn.00452020
test al, al
jne 0x49fb2a
mov eax, 0x4f907c
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, ebp
test cx, cx
jne 0x49fb03
mov ecx, dword [0x4bae0c]
mov edx, dword [0x4bae10]
mov dword [eax], ecx
mov cx, word [0x4bae14]
mov dword [eax + 4], edx
mov word [eax + 8], cx
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4baefc]
mov word [eax + 0x4f34e0], cx
add eax, ebp
test cx, cx
jne 0x49fb30
jmp 0x49fba9
cmp dword [0x4f701c], 0
mov esi, 0x4bc548
je 0x49fb5a
mov esi, 0x4baaa0
lea edx, [esi + 2]
push edx
push 0x4f907c
call fcn.00452020
test al, al
jne 0x49fba1
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, ebp
test cx, cx
jne 0x49fb70
push edi
mov edi, 0x4f907c
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, ebp
test cx, cx
jne 0x49fb85
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
xor eax, eax
mov word [0x4f34e0], ax
push 1
push 0x4f907c
call fcn.00451710
push 0
mov ecx, 0x4f0dd0
call fcn.00417250
mov al, byte [esp + 0xb]
jmp 0x49fcae
push 0
push 1
push 0x51b92c
mov ecx, 0x4f0dd0
call fcn.004162e0
cmp eax, 1
jne 0x49fbc1
push 0x400
lea ecx, [esp + 0x254]
push ecx
call fcn.00485d40
push 0
push 0x51c12c
call fcn.00432280
push 0x51c12c
call fcn.00485d20
lea edx, [esp + 0x100]
push edx
mov ecx, 0x4f0dd0
call fcn.004130d0
call fcn.00481910
push 0x400
push 0x4f907c
mov ecx, 0x4f0dd0
call fcn.004130a0
mov eax, dword [esp + 0x180]
mov ecx, dword [0x4f987c]
mov dword [0x4f701c], eax
call fcn.0046ae60
mov ecx, dword [0x4f987c]
push 0x4ba77c
call fcn.0046b240
push 0
push 0
mov ecx, 0x4f0dd0
call fcn.00417a70
lea ecx, [esp + 0x250]
push ecx
call fcn.00485d20
cmp word [0x51c12c], 0
je 0x49fc8b
push 0x51c12c
call fcn.004516c0
push 1
push 0x4bad38
push 0
push 0x51c12c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, byte [esp + 0xb]
jmp 0x49fcae
mov al, cl
mov ecx, dword [esp + 0xa50]
pop esi
pop ebp
xor ecx, esp
call fcn.004a4b43
add esp, 0xa4c
ret 4