Function at 0x4205f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678b83
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x71a06c]
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 0x4209ba
mov ecx, dword [edi + 0x808]
xor bl, bl
call fcn.00451960
cmp eax, 2
jne 0x420916
mov eax, dword [edi + 0x79c]
cmp dword [eax + 0x10], 0x64
jge 0x420916
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 0x4206e0
mov eax, dword [eax + 0x64]
test eax, eax
je 0x4206e0
push 0x3a8
sub esp, 0x18
add eax, 0x34
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x70]
push eax
call fcn.004cdda9
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.00408c30
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4206e0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4206d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209e0
push edx
push ecx
call fcn.0042e920
add esp, 8
lea ecx, [ebp - 0x838]
call fcn.0044db70
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 0x7023c4
push dword [edi + 4]
lea ecx, [ebp - 0x838]
call fcn.00450380
lea ecx, [ebp - 0x838]
call fcn.00450140
lea ecx, [ebp - 0x838]
call fcn.00450bb0
cmp eax, 2
jne 0x420966
cmp byte [edi + 0x8ed], 0
je 0x4208c8
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.00418720
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x58]
push eax
call fcn.004ce12a
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x420803
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.dlfingquitexename_s
push eax
call fcn.004cd3fa
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x42084d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209e5
push edx
push ecx
call fcn.0042e920
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.00418830
mov ecx, eax
call fcn.004064d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4208b6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4208ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209ea
push edx
push ecx
call fcn.0042e920
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 0x420916
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42090c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209ef
push edx
push ecx
call fcn.0042e920
add esp, 8
push 0
mov ecx, edi
call fcn.0044b680
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x4209af
call fcn.00418900
mov ecx, eax
call fcn.004cfc8d
cmp dword [edi + 0x804], 0
movzx eax, al
je 0x4209af
test eax, eax
jne 0x4209af
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x804]
mov al, byte [eax + 0x58]
test al, al
je 0x4209af
push 0x3e8
call esi
jmp 0x420950
lea ecx, [ebp - 0x838]
mov dword [esi], 1
call fcn.0040d2c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4209c0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4209a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4209f4
push edx
push ecx
call fcn.0042e920
add esp, 8
jmp 0x4209c0
push 1
mov ecx, edi
call fcn.00450310
jmp 0x4209c0
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.0042e2d5
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
int3