Function at 0x46e0ac
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4ac
push ebx
push esi
push edi
push 0
mov ecx, dword [esp + 0x4c0]
call fcn.00452746
mov eax, dword [esp + 0x4bc]
mov dword [eax], 0x493aec
mov eax, dword [esp + 0x4cc]
cmp eax, 1
jne 0x46e0e5
lea ecx, [esp + 0x4d0]
jmp 0x46e0f5
cmp eax, 2
jne 0x46e0f3
mov ecx, dword [esp + 0x4d0]
jmp 0x46e0f5
xor ecx, ecx
mov eax, dword [esp + 0x4bc]
mov dword [eax + 0x54], ecx
mov ebx, dword [esp + 0x4bc]
add ebx, 0x70
mov eax, dword [ebx]
and ah, 0xfe
mov dword [ebx], eax
mov eax, dword [esp + 0x4bc]
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x4bc]
mov dword [eax + 0x7c], 0xffffffff
push 0x1d
push dword [esp + 0x4c8]
mov eax, dword [esp + 0x4c4]
add eax, 0x10
push eax
call fcn.0043da34
push 1
call fcn.00452aee
add esp, 0x10
push 0
push dword [esp + 0x4c8]
push dword [esp + 0x4c8]
mov ecx, dword [esp + 0x4c8]
call fcn.00452b45
test ax, ax
jne 0x46e1a9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [esp + 0x4c8]
push 0x493a7b
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
push 0x10
push 0x493a6c
lea eax, [esp + 0x24]
push eax
push dword [0x489abc]
call dword [sym.imp.USER32.DLL_MessageBoxA]
add esp, 0x10
push 0x100
mov ecx, dword [esp + 0x4c0]
call fcn.00453f11
mov dword [esp + 0x70], eax
lea ebx, [esp + 0x75]
xor ecx, ecx
mov dword [esp + 0x47c], ecx
mov dword [esp + 0x480], ecx
mov ecx, dword [esp + 0x4bc]
mov word [ecx + 0x80], 0
push 0x3ff
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 4
push 0x20
call fcn.00472b1c
mov ecx, dword [esp + 0x4c4]
mov dword [ecx + 0x74], eax
add esp, 8
cmp byte [esp + 0x75], 0
je 0x46e25a
cmp byte [esp + 0x75], 0x2c
je 0x46e25a
movsx eax, byte [ebx]
cmp eax, 0x43
je 0x46e221
jmp 0x46e233
mov eax, dword [esp + 0x4bc]
mov word [eax + 0x80], 1
jmp 0x46e24b
push dword [esp + 0x4c4]
movsx eax, byte [ebx]
push eax
push 0x493aa8
call fcn.00455073
add esp, 0xc
inc ebx
test ebx, ebx
je 0x46e25a
mov al, byte [ebx]
test al, al
je 0x46e25a
cmp al, 0x2c
jne 0x46e217
inc ebx
test ebx, ebx
je 0x46e433
cmp byte [ebx], 0
je 0x46e433
mov dword [esp + 0x474], ebx
push 0x3d
push ebx
call fcn.00471720
add esp, 8
mov ebx, eax
test eax, eax
je 0x46e433
xor eax, eax
mov byte [ebx], al
inc ebx
mov dword [esp + 0x478], ebx
push 0x2c
push ebx
call fcn.00471720
add esp, 8
mov ebx, eax
test eax, eax
je 0x46e2a9
mov byte [ebx], 0
inc ebx
push dword [esp + 0x478]
call fcn.004121c4
mov dword [esp + 0x488], eax
push 0x74
call fcn.00472b58
add esp, 4
mov edi, eax
test eax, eax
je 0x46e2f6
mov ecx, dword [esp + 0x4c0]
push dword [ecx + 0x54]
push 2
push dword [esp + 0x490]
push 1
push dword [esp + 0x48c]
push dword [ecx + 4]
push edi
call fcn.00452835
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x4c0]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x74]
mov dword [ecx + edx*4], edi
add esp, 4
push 1
mov ecx, edi
call fcn.00453f11
mov esi, eax
test eax, eax
je 0x46e32e
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_EnableWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
push 2
mov ecx, dword [esp + 0x4c0]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x74]
mov ecx, dword [ecx + edx*4]
call fcn.00453f11
mov esi, eax
test eax, eax
je 0x46e361
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_EnableWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [esp + 0x4bc]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
mov ecx, dword [edx + ecx*4]
mov ecx, dword [ecx + 0x54]
mov dword [eax + 0x54], ecx
push 0
push 0xffffffffffffffff
push dword [esp + 0x47c]
mov ecx, dword [esp + 0x7c]
call fcn.00468542
mov eax, dword [esp + 0x4bc]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + ecx*4]
push eax
push dword [0x49b3e0]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_SetPropA]
lea eax, [esp + 0x488]
push eax
mov eax, dword [esp + 0x4c0]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax + ecx*4]
call fcn.00435167
mov eax, dword [esp + 0x490]
sub eax, dword [esp + 0x488]
cmp eax, dword [esp + 0x47c]
jle 0x46e3e6
mov dword [esp + 0x47c], eax
mov eax, dword [esp + 0x494]
sub eax, dword [esp + 0x48c]
cmp eax, dword [esp + 0x480]
jle 0x46e404
mov dword [esp + 0x480], eax
mov eax, dword [esp + 0x4bc]
inc dword [eax + 0x78]
test ebx, ebx
je 0x46e433
cmp byte [ebx], 0
je 0x46e433
mov dword [esp + 0x474], ebx
push 0x3d
push ebx
call fcn.00471720
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46e288
mov eax, dword [esp + 0x4bc]
mov ecx, dword [eax + 0x78]
shl ecx, 2
push ecx
push dword [eax + 0x74]
call fcn.004768f8
mov ecx, dword [esp + 0x4c4]
mov dword [ecx + 0x74], eax
push dword [esp + 0x4c4]
push dword [0x49b3e0]
mov eax, dword [esp + 0x4cc]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_SetPropA]
push 1
mov ecx, dword [esp + 0x4c8]
call fcn.00453f11
mov ebx, eax
push 2
mov ecx, dword [esp + 0x4c8]
call fcn.00453f11
lea eax, [esp + 0x4a0]
push eax
mov ecx, ebx
call fcn.004351a6
mov esi, 0x493a5c
lea edi, [esp + 0x4b0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x484]
add eax, 0x10
mov dword [esp + 0x4b8], eax
mov eax, dword [esp + 0x4ac]
sub eax, dword [esp + 0x4a4]
mov ecx, dword [esp + 0x488]
lea eax, [ecx + eax + 0x2e]
mov dword [esp + 0x4bc], eax
push 0xffffffffffffffec
mov eax, dword [esp + 0x4c8]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
push 0
push 0xfffffffffffffff0
mov eax, dword [esp + 0x4d0]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
lea eax, [esp + 0x4bc]
push eax
call dword [sym.imp.USER32.DLL_AdjustWindowRectEx]
mov eax, dword [esp + 0x4b8]
sub eax, dword [esp + 0x4b0]
mov ecx, dword [esp + 0x4c4]
mov dword [ecx + 0x84], eax
mov eax, dword [esp + 0x4bc]
sub eax, dword [esp + 0x4b4]
mov ecx, dword [esp + 0x4c4]
mov dword [ecx + 0x88], eax
push 0
mov eax, dword [esp + 0x4c8]
push dword [eax + 0x88]
push dword [eax + 0x84]
mov ecx, eax
call fcn.004350a1
push 0
mov ecx, dword [esp + 0x4c8]
call fcn.0046e5e4
push 0
call fcn.00452aee
add esp, 0xc
mov eax, dword [esp + 0x4bc]
pop edi
pop esi
pop ebx
add esp, 0x4ac
ret