Function at 0x420500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678963
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x71906c]
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 edi, ecx
cmp dword [ebp + 0xc], 0xf060
mov esi, dword [ebp + 0x14]
jne 0x4208ca
mov ecx, dword [edi + 0x808]
xor bl, bl
call fcn.00451870
cmp eax, 2
jne 0x420826
mov eax, dword [edi + 0x79c]
cmp dword [eax + 0x10], 0x64
jge 0x420826
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x800]
test eax, eax
je 0x4205f0
mov eax, dword [eax + 0x64]
test eax, eax
je 0x4205f0
push 0x3a8
sub esp, 0x18
add eax, 0x34
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x70]
push eax
call fcn.004cdca9
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.00408c30
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4205f0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4205e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4208f0
push edx
push ecx
call fcn.0042e830
add esp, 8
lea ecx, [ebp - 0x838]
call fcn.0044da80
xor eax, eax
mov dword [ebp - method.CDlMsgBox.2.virtual_0], vtable.CDlMsgBox.2.0
mov dword [ebp - method.DuiLib::WindowImplBase.1.virtual_0], vtable.CDlMsgBox.1.0
mov dword [ebp - method.CDlMsgBox.4.virtual_0], vtable.CDlMsgBox.4.0
mov dword [ebp - method.DuiLib::WindowImplBase.3.virtual_0], vtable.CDlMsgBox.0
mov dword [ebp - method.DuiLib::WindowImplBase.4.virtual_0], vtable.CDlMsgBox.3.0
mov dword [ebp - method.DuiLib::WindowImplBase.5.virtual_0], vtable.CDlMsgBox.6.0
mov dword [ebp - method.DuiLib::WindowImplBase.6.virtual_0], vtable.CDlMsgBox.5.0
mov word [ebp - 0x8c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404e30
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
push SysReAllocString
push 0x70139c
push dword [edi + 4]
lea ecx, [ebp - 0x838]
call fcn.00450290
lea ecx, [ebp - 0x838]
call fcn.00450050
lea ecx, [ebp - 0x838]
call fcn.00450ac0
cmp eax, 2
jne 0x420876
cmp byte [edi + 0x8ed], 0
je 0x4207d8
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.00418630
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x58]
push eax
call fcn.004ce02a
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x420713
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.dlfingquitexename_s
push eax
call fcn.004cd2fa
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x42075d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420753
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4208f5
push edx
push ecx
call fcn.0042e830
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x40]
push eax
push str.click
push 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418740
mov ecx, eax
call fcn.004064d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4207c6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4207bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4208fa
push edx
push ecx
call fcn.0042e830
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x838]
mov bl, 1
call fcn.0040d2c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x420826
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42081c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4208ff
push edx
push ecx
call fcn.0042e830
add esp, 8
push 0
mov ecx, edi
call fcn.0044b590
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x4208bf
call fcn.00418810
mov ecx, eax
call fcn.004cfb8d
cmp dword [edi + 0x804], 0
movzx eax, al
je 0x4208bf
test eax, eax
jne 0x4208bf
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x804]
mov al, byte [eax + 0x58]
test al, al
je 0x4208bf
push 0x3e8
call esi
jmp 0x420860
lea ecx, [ebp - 0x838]
mov dword [esi], 1
call fcn.0040d2c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4208d0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4208b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420904
push edx
push ecx
call fcn.0042e830
add esp, 8
jmp 0x4208d0
push 1
mov ecx, edi
call fcn.00450220
jmp 0x4208d0
mov dword [esi], 0
xor eax, eax
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.0042e1e5
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050d5fe
call fcn.0050d5fe
call fcn.0050d5fe
call fcn.0050d5fe
call fcn.0050d5fe
int3