Function at 0x420480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678923
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 0x42084a
mov ecx, dword [edi + 0x808]
xor bl, bl
call fcn.00451800
cmp eax, 2
jne 0x4207a6
mov eax, dword [edi + 0x79c]
cmp dword [eax + 0x10], 0x64
jge 0x4207a6
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 0x420570
mov eax, dword [eax + 0x64]
test eax, eax
je 0x420570
push 0x3a8
sub esp, 0x18
add eax, 0x34
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x70]
push eax
call fcn.004cdc49
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.00408c30
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x420570
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420566
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420870
push edx
push ecx
call fcn.0042e7b0
add esp, 8
lea ecx, [ebp - 0x838]
call fcn.0044da10
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.00450220
lea ecx, [ebp - 0x838]
call fcn.0044ffe0
lea ecx, [ebp - 0x838]
call fcn.00450a50
cmp eax, 2
jne 0x4207f6
cmp byte [edi + 0x8ed], 0
je 0x420758
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.004185b0
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x58]
push eax
call fcn.004cdfca
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x420693
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.dlfingquitexename_s
push eax
call fcn.004cd29a
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4206dd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4206d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420875
push edx
push ecx
call fcn.0042e7b0
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.004186c0
mov ecx, eax
call fcn.004064d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x420746
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42073c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42087a
push edx
push ecx
call fcn.0042e7b0
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 0x4207a6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42079c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42087f
push edx
push ecx
call fcn.0042e7b0
add esp, 8
push 0
mov ecx, edi
call fcn.0044b520
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x42083f
call fcn.00418790
mov ecx, eax
call fcn.004cfb2d
cmp dword [edi + 0x804], 0
movzx eax, al
je 0x42083f
test eax, eax
jne 0x42083f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x804]
mov al, byte [eax + 0x58]
test al, al
je 0x42083f
push 0x3e8
call esi
jmp 0x4207e0
lea ecx, [ebp - 0x838]
mov dword [esi], 1
call fcn.0040d2c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x420850
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420884
push edx
push ecx
call fcn.0042e7b0
add esp, 8
jmp 0x420850
push 1
mov ecx, edi
call fcn.004501b0
jmp 0x420850
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.0042e165
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050d55e
call fcn.0050d55e
call fcn.0050d55e
call fcn.0050d55e
call fcn.0050d55e
int3