Function at 0x41fa70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677e33
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 0x41fe3a
mov ecx, dword [edi + 0x808]
xor bl, bl
call fcn.00450db0
cmp eax, 2
jne 0x41fd96
mov eax, dword [edi + 0x79c]
cmp dword [eax + 0x10], 0x64
jge 0x41fd96
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 0x41fb60
mov eax, dword [eax + 0x64]
test eax, eax
je 0x41fb60
push 0x3a8
sub esp, 0x18
add eax, 0x34
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x70]
push eax
call fcn.004cd219
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.00408c30
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41fb60
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe60
push edx
push ecx
call fcn.0042dda0
add esp, 8
lea ecx, [ebp - 0x838]
call fcn.0044cfc0
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.0044f7d0
lea ecx, [ebp - 0x838]
call fcn.0044f590
lea ecx, [ebp - 0x838]
call fcn.00450000
cmp eax, 2
jne 0x41fde6
cmp byte [edi + 0x8ed], 0
je 0x41fd48
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.00417ba0
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x58]
push eax
call fcn.004cd59a
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41fc83
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.dlfingquitexename_s
push eax
call fcn.004cc86a
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x41fccd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41fcc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe65
push edx
push ecx
call fcn.0042dda0
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.00417cb0
mov ecx, eax
call fcn.004064d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41fd36
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41fd2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe6a
push edx
push ecx
call fcn.0042dda0
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.0040cfe0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41fd96
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fd8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe6f
push edx
push ecx
call fcn.0042dda0
add esp, 8
push 0
mov ecx, edi
call fcn.0044aad0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x41fe2f
call fcn.00417d80
mov ecx, eax
call fcn.004cf0fd
cmp dword [edi + 0x804], 0
movzx eax, al
je 0x41fe2f
test eax, eax
jne 0x41fe2f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x804]
mov al, byte [eax + 0x58]
test al, al
je 0x41fe2f
push 0x3e8
call esi
jmp 0x41fdd0
lea ecx, [ebp - 0x838]
mov dword [esi], 1
call fcn.0040cfe0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41fe40
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fe23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe74
push edx
push ecx
call fcn.0042dda0
add esp, 8
jmp 0x41fe40
push 1
mov ecx, edi
call fcn.0044f760
jmp 0x41fe40
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.0042d755
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050cafe
call fcn.0050cafe
call fcn.0050cafe
call fcn.0050cafe
call fcn.0050cafe
int3