Function at 0x40b400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538b2b
mov eax, dword fs:[0]
push eax
mov eax, 0x2360
call fcn.0051dcc0
mov eax, dword [0x572844]
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 0x40b45c
mov edi, edi
push esi
lea eax, [ebp - 0x1108]
mov ecx, edi
push eax
call fcn.0044f030
cmp word [eax], 0
je 0x40b456
inc ebx
inc esi
cmp esi, dword [edi + 4]
jb 0x40b440
cmp byte [0x594fcd], 0
je 0x40b47b
cmp ebx, 1
ja 0x40b4a0
movzx eax, byte [0x594fe5]
neg eax
sbb eax, eax
and dword [0x590fa0], eax
cmp ebx, 1
jne 0x40b4a0
call fcn.0040cf60
test al, al
jne 0x40b4a0
cmp dword [0x57a0d4], 0
je 0x40b88c
call fcn.004f05c0
jmp 0x40b88c
cmp word [0x58aad6], 0x3f
jne 0x40b5cb
push 0x800
push 0x58aad8
lea eax, [ebp - 0x1010]
push eax
call fcn.004b0360
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x58aad6
call fcn.004b0360
cmp dword [edi + 4], 1
jbe 0x40b56b
lea ecx, [ebp - 0x1270]
call fcn.004b03b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1270]
push eax
push edi
call fcn.0040bff0
cmp word [0x58aad6], 0
push 1
sete al
movzx eax, al
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1270]
push eax
push 0
push 1
call fcn.004f59e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1270]
test ecx, ecx
je 0x40b88c
cmp byte [ebp - 0x1260], 0
je 0x40b55d
mov eax, dword [ebp - 0x1268]
add eax, eax
push eax
push ecx
call fcn.004ad810
mov ecx, dword [ebp - 0x1270]
push ecx
call fcn.00525b95
add esp, 4
jmp 0x40b88c
jne 0x40b590
push 0x7ff
push 0
lea eax, [ebp - 0x2368]
mov ecx, edi
push eax
call fcn.0044f030
push eax
push 0x59701a
call fcn.005267b2
add esp, 0xc
push 0
push 1
push 0x59701a
mov ecx, 0x5a57a8
call fcn.00407f10
cmp eax, 1
jne 0x40b88c
cmp word [0x58aad6], 0
sete al
movzx eax, al
push eax
push 1
push 0
push 1
call fcn.004f4190
jmp 0x40b88c
movzx eax, word [0x595ffa]
push eax
call fcn.004b4390
cmp eax, 0x45
jne 0x40b5e7
mov dword [0x58fc24], 1
movzx eax, word [0x595ffa]
push eax
call fcn.004b4390
cmp eax, 0x54
sete byte [0x58fed9]
call fcn.004f3050
xor ebx, ebx
mov dword [ebp - 0x236c], eax
xor esi, esi
cmp dword [edi + 4], ebx
jbe 0x40b739
jmp 0x40b620
mov al, byte [0x57a0e2]
test al, al
jne 0x40b73e
mov ecx, 0x59813c
call fcn.004b0640
push esi
lea eax, [ebp - 0x1108]
mov ecx, edi
push eax
call fcn.0044f030
push 0x800
lea eax, [ebp - 0x1108]
push eax
push 0x59701a
call fcn.004b0360
cmp word [0x59701a], 0
mov eax, dword [ebp - 0x18]
mov dword [0x591fc0], eax
je 0x40b72f
cmp byte [0x58fed9], 0
push 0x59701a
sete al
lea eax, [eax*4 + 0x54]
push eax
call fcn.004f1e90
push 0
push 1
lea eax, [ebp - 0x1108]
mov ecx, 0x5a57a8
push eax
call fcn.00407f10
cmp byte [0x58fed9], 0
je 0x40b6db
mov ecx, 0x5a57a8
call fcn.00406f90
and eax, 1
xor edx, edx
or eax, edx
jne 0x40b6db
push 0x3ac
call fcn.004a9c90
push eax
lea eax, [ebp - 0x1108]
push eax
call fcn.004f3130
add esp, 8
jmp 0x40b712
movzx eax, byte [0x594fcb]
mov ecx, 0x5a57a8
push 0
push eax
mov byte [0x594fd4], 1
call fcn.00406960
mov byte [0x594fd4], 0
test ebx, ebx
je 0x40b70c
push ebx
mov ecx, 0x5b68fc
call fcn.0047b6f0
mov ebx, dword [0x5b68fc]
mov eax, dword [ebp - 0x88]
add dword [0x57b120], eax
mov eax, dword [ebp - 0x84]
adc dword [0x57b124], eax
call fcn.004eec50
inc esi
cmp esi, dword [edi + 4]
jb 0x40b620
mov al, byte [0x57a0e2]
cmp byte [0x58fed9], 0
jne 0x40b763
mov ecx, dword [0x590fa4]
test ecx, ecx
je 0x40b763
test al, al
jne 0x40b763
cmp byte [0x57a0e3], al
jne 0x40b763
push ecx
call fcn.004ece70
call fcn.004f3050
cmp dword [ebp - 0x236c], eax
jne 0x40b786
cmp byte [0x57a0e3], 0
jne 0x40b786
cmp byte [0x57a0e2], 0
jne 0x40b786
mov cl, 1
jmp 0x40b788
xor cl, cl
mov al, byte [0x58fed9]
test al, al
je 0x40b864
cmp byte [0x594fcd], 0
jne 0x40b7ab
cmp byte [0x58fc51], 0
je 0x40b860
test cl, cl
je 0x40b860
mov ecx, dword [0x57a0d4]
test ecx, ecx
je 0x40b860
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x57a0c8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
neg eax
sbb ebx, ebx
and ebx, dword [0x57a0c8]
cmp dword [edi + 4], 1
jne 0x40b825
push 0x3a8
call fcn.004a9c90
mov esi, eax
mov ecx, edi
push 0
lea eax, [ebp - 0x2368]
push eax
call fcn.0044f030
push eax
call fcn.00495850
push esi
push eax
push str._s_n_s
lea eax, [ebp - 0x1210]
push 0x900
push eax
call fcn.00402c90
add esp, 0x14
jmp 0x40b841
push 0x900
push 0x3a8
call fcn.004a9c90
push eax
lea eax, [ebp - 0x1210]
push eax
call fcn.004b0360
push 0x40
push 0x3a7
call fcn.004a9c90
push eax
lea eax, [ebp - 0x1210]
push eax
push ebx
call fcn.004edd90
mov al, byte [0x58fed9]
test al, al
jne 0x40b88c
cmp byte [0x594fcd], 0
je 0x40b88c
push 0
push str.ShowExplorer
push str.ExtractionProfile
call fcn.004c2f20
test eax, eax
je 0x40b88c
push 0x58aad6
call fcn.004f6930
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.0051dca8
mov esp, ebp
pop ebp
ret 4