Function at 0x40db40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54af2b
mov eax, dword fs:[0]
push eax
mov eax, 0x235c
call fcn.0052f720
mov eax, dword [0x58bb30]
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, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
cmp dword [edi + 4], ebx
jbe 0x40db9c
mov edi, edi
push esi
lea eax, [ebp - 0x1108]
mov ecx, edi
push eax
call fcn.004596a0
cmp word [eax], 0
je 0x40db96
inc ebx
inc esi
cmp esi, dword [edi + 4]
jb 0x40db80
cmp byte [0x5b02d5], 0
je 0x40dbbb
cmp ebx, 1
ja 0x40dbe0
movzx eax, byte [0x5b02f1]
neg eax
sbb eax, eax
and dword [0x5ac2a8], eax
cmp ebx, 1
jne 0x40dbe0
call fcn.0040f760
test al, al
jne 0x40dbe0
cmp dword [0x5933e8], 0
je 0x40dfac
call fcn.005009d0
jmp 0x40dfac
cmp word [0x5a5eee], 0x3f
jne 0x40dce9
push 0x800
push 0x5a5ef0
lea eax, [ebp - 0x1010]
push eax
call fcn.004bd090
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x5a5eee
call fcn.004bd090
cmp dword [edi + 4], 1
jbe 0x40dc89
lea ecx, [ebp - 0x126c]
call fcn.004bd0e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x126c]
push eax
push edi
call fcn.0040e700
cmp word [0x5a5eee], 0
push 1
sete al
movzx eax, al
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x126c]
push eax
push 0
push 1
call fcn.00505eb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x126c]
test eax, eax
je 0x40dfac
push eax
call fcn.00537b6f
add esp, 4
jmp 0x40dfac
jne 0x40dcae
push 0x7ff
push 0
lea eax, [ebp - 0x2364]
mov ecx, edi
push eax
call fcn.004596a0
push eax
push 0x5b232a
call fcn.00538bb7
add esp, 0xc
push 0
push 1
push 0x5b232a
mov ecx, 0x5c2bd0
call fcn.0040aa90
cmp eax, 1
jne 0x40dfac
cmp word [0x5a5eee], 0
sete al
movzx eax, al
push eax
push 1
push 0
push 1
call fcn.00504500
jmp 0x40dfac
movzx eax, word [0x5b130a]
push eax
call fcn.004c10e0
cmp eax, 0x45
jne 0x40dd05
mov dword [0x5aaf3c], 1
movzx eax, word [0x5b130a]
push eax
call fcn.004c10e0
cmp eax, 0x54
sete byte [0x5ab1e1]
call fcn.00503460
xor ebx, ebx
mov dword [ebp - 0x2368], eax
xor esi, esi
cmp dword [edi + 4], ebx
jbe 0x40de59
jmp 0x40dd40
mov al, byte [0x5933f6]
test al, al
jne 0x40de5e
mov ecx, 0x5b3440
call fcn.004bd370
push esi
lea eax, [ebp - 0x1108]
mov ecx, edi
push eax
call fcn.004596a0
push 0x800
lea eax, [ebp - 0x1108]
push eax
push 0x5b232a
call fcn.004bd090
cmp word [0x5b232a], 0
mov eax, dword [ebp - 0x18]
mov dword [0x5ad2c8], eax
je 0x40de4f
cmp byte [0x5ab1e1], 0
push 0x5b232a
sete al
lea eax, [eax*4 + 0x54]
push eax
call fcn.005022b0
push 0
push 1
lea eax, [ebp - 0x1108]
mov ecx, 0x5c2bd0
push eax
call fcn.0040aa90
cmp byte [0x5ab1e1], 0
je 0x40ddfb
mov ecx, 0x5c2bd0
call fcn.00409a60
and eax, 1
xor edx, edx
or eax, edx
jne 0x40ddfb
push 0x3ac
call fcn.004b68d0
push eax
lea eax, [ebp - 0x1108]
push eax
call fcn.00503540
add esp, 8
jmp 0x40de32
movzx eax, byte [0x5b02d3]
mov ecx, 0x5c2bd0
push 0
push eax
mov byte [0x5b02dc], 1
call fcn.00409410
mov byte [0x5b02dc], 0
test ebx, ebx
je 0x40de2c
push ebx
mov ecx, 0x5d281c
call fcn.00487c60
mov ebx, dword [0x5d281c]
mov eax, dword [ebp - 0x88]
add dword [0x594430], eax
mov eax, dword [ebp - 0x84]
adc dword [0x594434], eax
call fcn.004fef80
inc esi
cmp esi, dword [edi + 4]
jb 0x40dd40
mov al, byte [0x5933f6]
cmp byte [0x5ab1e1], 0
jne 0x40de83
mov ecx, dword [0x5ac2ac]
test ecx, ecx
je 0x40de83
test al, al
jne 0x40de83
cmp byte [0x5933f7], al
jne 0x40de83
push ecx
call fcn.004fcfb0
call fcn.00503460
cmp dword [ebp - 0x2368], eax
jne 0x40dea6
cmp byte [0x5933f7], 0
jne 0x40dea6
cmp byte [0x5933f6], 0
jne 0x40dea6
mov cl, 1
jmp 0x40dea8
xor cl, cl
mov al, byte [0x5ab1e1]
test al, al
je 0x40df84
cmp byte [0x5b02d5], 0
jne 0x40decb
cmp byte [0x5aaf55], 0
je 0x40df80
test cl, cl
je 0x40df80
mov ecx, dword [0x5933e8]
test ecx, ecx
je 0x40df80
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
neg eax
sbb ebx, ebx
and ebx, dword [0x5923dc]
cmp dword [edi + 4], 1
jne 0x40df45
push 0x3a8
call fcn.004b68d0
mov esi, eax
mov ecx, edi
push 0
lea eax, [ebp - 0x2364]
push eax
call fcn.004596a0
push eax
call fcn.004a2d90
push esi
push eax
push str._s_n_s
lea eax, [ebp - 0x1210]
push 0x900
push eax
call fcn.00404ce0
add esp, 0x14
jmp 0x40df61
push 0x900
push 0x3a8
call fcn.004b68d0
push eax
lea eax, [ebp - 0x1210]
push eax
call fcn.004bd090
push 0x40
push 0x3a7
call fcn.004b68d0
push eax
lea eax, [ebp - 0x1210]
push eax
push ebx
call fcn.004fdf00
mov al, byte [0x5ab1e1]
test al, al
jne 0x40dfac
cmp byte [0x5b02d5], 0
je 0x40dfac
push 0
push str.ShowExplorer
push str.ExtractionProfile
call fcn.004cf550
test eax, eax
je 0x40dfac
push 0x5a5eee
call fcn.00506de0
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.0052f708
mov esp, ebp
pop ebp
ret 4