Function at 0x46f0f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51891c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x55b2f8]
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.0046bd40
push 0
push 0x46e710
push eax
push 0xa2
push dword [0x575084]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x46f34f
test esi, esi
jne 0x46f160
call fcn.004819f0
mov esi, eax
push esi
push 0
call fcn.004ac350
mov edi, eax
add esp, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 4], 0
test ebx, ebx
je 0x46f18d
push ebx
push 0
call fcn.004ac350
add esp, 8
mov esi, eax
jmp 0x46f18f
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.00441470
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 0x46f24f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f236
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x7c]
call fcn.004516e0
test esi, esi
je 0x46f279
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f260
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.004516e0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46f293
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x84], eax
jmp 0x46f2a7
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 [0x5729c4]
mov ecx, dword [ebp - 0x90]
inc eax
mov dword [0x5729c4], eax
or eax, 0xf8000001
mov dword [ecx], eax
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.004711f0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.00471290
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.0046f370
mov byte [ebp - 4], 0
test esi, esi
je 0x46f337
push esi
call fcn.004d8b08
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x46f34b
push edi
call fcn.004d8b08
add esp, 4
xor eax, eax
jmp 0x46f354
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.004d8af7
mov esp, ebp
pop ebp
ret