Function at 0x46f110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519c4c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x55c2f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x90], ecx
mov ebx, dword [ebp + 8]
call fcn.0046bd70
push 0
push 0x46e730
push eax
push 0xa2
push dword [0x576084]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x46f36f
test esi, esi
jne 0x46f180
call fcn.00481a00
mov esi, eax
push esi
push 0
call fcn.004ad6d0
mov edi, eax
add esp, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 4], 0
test ebx, ebx
je 0x46f1ad
push ebx
push 0
call fcn.004ad6d0
add esp, 8
mov esi, eax
jmp 0x46f1af
xor esi, esi
mov dword [ebp - 0x98], esi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004414a0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x80], ebx
test edi, edi
je 0x46f26f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f256
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x7c]
call fcn.00451710
test esi, esi
je 0x46f299
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00451710
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46f2b3
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x84], eax
jmp 0x46f2c7
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov eax, dword [0x5739c4]
mov ecx, dword [ebp - 0x90]
inc eax
mov dword [0x5739c4], eax
or eax, 0xf8000001
mov dword [ecx], eax
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.00471210
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.004712b0
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.0046f390
mov byte [ebp - 4], 0
test esi, esi
je 0x46f357
push esi
call fcn.004d9e78
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x46f36b
push edi
call fcn.004d9e78
add esp, 4
xor eax, eax
jmp 0x46f374
mov eax, 0x80000001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d9e67
mov esp, ebp
pop ebp
ret