Function at 0x41f3a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678023
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 0x41f76a
mov ecx, dword [edi + 0x808]
xor bl, bl
call fcn.00450610
cmp eax, 2
jne 0x41f6c5
mov eax, dword [edi + 0x79c]
cmp dword [eax + 0x10], 0x64
jge 0x41f6c5
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 0x41f490
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x41f490
push 0x3a8
sub esp, 0x18
add eax, 0x34
mov ecx, esp
push eax
call fcn.004069f0
lea eax, [ebp - 0x70]
push eax
call fcn.004cca9a
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.004088b0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41f490
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f790
push edx
push ecx
call fcn.0042d6b0
add esp, 8
lea ecx, [ebp - 0x838]
call fcn.0044c820
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 0x701370
push dword [edi + 4]
lea ecx, [ebp - 0x838]
call fcn.0044f030
lea ecx, [ebp - 0x838]
call fcn.0044edf0
lea ecx, [ebp - 0x838]
call fcn.0044f860
cmp eax, 2
jne 0x41f716
cmp byte [edi + 0x8ed], 0
je 0x41f677
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.0041c8d0
push eax
mov ecx, esi
call fcn.00408930
lea eax, [ebp - 0x58]
push eax
call fcn.004cce1b
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41f5b3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.dlfingquitexename_s
push eax
call fcn.004cc0bc
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41f5fd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f5f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f795
push edx
push ecx
call fcn.0042d6b0
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 ecx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00417600
mov ecx, eax
call fcn.004062a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41f665
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f65b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f79a
push edx
push ecx
call fcn.0042d6b0
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.0040ccf0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41f6c5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f6bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f79f
push edx
push ecx
call fcn.0042d6b0
add esp, 8
push 0
mov ecx, edi
call fcn.0044a330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x41f75f
call fcn.004176d0
mov ecx, eax
call fcn.004ce936
cmp dword [edi + 0x804], 0
movzx eax, al
je 0x41f75f
test eax, eax
jne 0x41f75f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [edi + 0x804]
mov al, byte [eax + 0x58]
test al, al
je 0x41f75f
push 0x3e8
call esi
jmp 0x41f700
lea ecx, [ebp - 0x838]
mov dword [esi], 1
call fcn.0040ccf0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41f770
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f753
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f7a4
push edx
push ecx
call fcn.0042d6b0
add esp, 8
jmp 0x41f770
push 1
mov ecx, edi
call fcn.0044efc0
jmp 0x41f770
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.0042d065
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050cc3e
call fcn.0050cc3e
call fcn.0050cc3e
call fcn.0050cc3e
call fcn.0050cc3e
int3