Function at 0x4684d0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x4684f2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x14
call fcn.00493fe8
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
xor ecx, ecx
mov ebx, dword [0x4dcd08]
mov dword [esi + 4], 1
mov dword [esi], vtable.Object.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x4de0f8
mov dword [esi + 8], 0
test ebx, ebx
je 0x468539
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x468543
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], ebx
xor edx, edx
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0xc], edx
test ecx, ecx
je 0x468621
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
mov ebx, dword [eax + edx*4]
cmp dword [ebx + 0x1c], 0
je 0x468611
movzx eax, byte [ebx + 0x30]
mov al, byte [eax + 0x4d0438]
not al
test al, 8
je 0x468611
lea eax, [esp + 0x78]
mov dword [esp + 0x58], 0
push 2
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
push ebx
push eax
mov dword [esp + 0x5c], 0x4b431c
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 1
call fcn.00468860
test eax, eax
je 0x4687c1
mov ebx, dword [ebx + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, esi
call fcn.00473f10
test eax, eax
jne 0x4685f9
push dword [esp + 0x10]
mov ecx, esi
push ebx
call fcn.004743a0
test eax, eax
je 0x4687c1
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00472c90
test al, al
je 0x4687c1
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 0x5c]
inc edx
mov dword [esp + 0xc], edx
cmp edx, ecx
jb 0x468560
xor eax, eax
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
mov edx, eax
nop dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
cmp edx, ecx
je 0x468668
push 0xfffffffffffffff0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000
je 0x4686e8
cmp ebx, 1
jne 0x4686c9
cmp dword [esp + 0x14], ebx
jle 0x4686c9
xor eax, eax
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x1c], 0xffffffff
mov ecx, esi
mov ebx, dword [esp + 0x18]
cmovne eax, dword [esp + 0x1c]
cdq
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x3c], edx
call fcn.00473f10
test eax, eax
jne 0x4686b5
push dword [esp + 0x24]
mov ecx, esi
push ebx
call fcn.004743a0
test eax, eax
je 0x4687c1
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00472c90
test al, al
je 0x4687c1
mov eax, dword [esp + 0xc]
cmp eax, dword [edi + 0x5c]
je 0x4687dd
xor ebx, ebx
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x4686ec
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
cmp byte [edx + 0x30], 6
jne 0x4687a8
mov ecx, dword [edx + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
push 0
cmove ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
push 0
push 0xf0
push dword [edx + 0x18]
lea ebx, [ecx + 1]
cmove ebx, ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, 1
sete cl
jne 0x468750
cmp dword [esp + 0x1c], 0
mov edx, 0xffffffff
mov eax, dword [esp + 0x14]
cmovne eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4687a8
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], 0
call fcn.00473f10
test eax, eax
jne 0x468790
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x14]
call fcn.004743a0
test eax, eax
je 0x4687c1
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00472c90
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
test al, al
je 0x4687c1
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 0x5c]
inc edx
mov dword [esp + 0xc], edx
cmp edx, ecx
ja 0x4687dd
mov eax, dword [esp + 0x18]
jmp 0x468640
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 8]
push str.Out_of_memory.
call fcn.00429450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebp + 0xc], 0
je 0x468843
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x46881e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
cmp al, byte [edi + 0xc8]
je 0x46881e
mov ecx, dword [edi]
mov byte [edi + 0xc8], al
push edi
test al, al
je 0x46881b
call dword [ecx + 4]
jmp 0x46881e
call dword [ecx + 8]
cmp dword [0x4dbc60], 0
jne 0x468843
mov ecx, 0x4dcd68
call fcn.00415d40
test al, al
jne 0x468843
push 0
push 5
mov ecx, 0x4dcd68
call fcn.00415de0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 8], 5
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8