Function at 0x4a0160
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4c507b
mov eax, dword fs:[0]
push eax
mov eax, 0x18e0
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x18dc], eax
push ebp
push esi
mov eax, dword [0x4d98f0]
xor eax, esp
push eax
lea eax, [esp + 0x18ec]
mov dword fs:[0], eax
mov eax, dword [edi + 0xb4]
xor edx, edx
xor ecx, ecx
test eax, eax
jbe 0x4a01e9
mov si, word [0x529c92]
test si, si
je 0x4a01b8
inc edx
inc ecx
cmp ecx, eax
jb 0x4a01b2
cmp edx, 1
jne 0x4a01e9
call fcn.0049e5b0
cmp byte [0x51b848], 0
je 0x4a01e9
mov eax, dword [0x51a774]
test eax, eax
je 0x4a05d0
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4a05d0
xor eax, eax
jmp 0x4a01f0
movzx ecx, word [eax + 0x524ce2]
mov word [esp + eax + 0x8e8], cx
add eax, 2
test cx, cx
jne 0x4a01f0
xor eax, eax
cmp word [esp + 0x8e8], 0x3f
mov word [0x524ce2], ax
jne 0x4a02fd
cmp word [esp + 0x8ea], ax
je 0x4a0235
lea ecx, [esp + 0x8ea]
push ecx
call fcn.0048c100
mov eax, dword [edi + 0xb4]
cmp eax, 1
jbe 0x4a029d
lea ecx, [esp + 0x10]
call fcn.00470340
mov dword [esp + 0x18f4], 0
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.0049e500
cmp word [esp + 0x8ea], 0
push 1
sete al
movzx ecx, al
push ecx
push 0
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 1
call fcn.00491370
mov dword [esp + 0x18f4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401e20
jmp 0x4a05d0
jne 0x4a02c3
push 0x3ff
push 0
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call fcn.00444c50
push eax
push 0x529c92
call fcn.004b185d
add esp, 0xc
push 0
push 1
push 0x529c92
mov ecx, 0x5219d0
call fcn.004169e0
cmp eax, 1
jne 0x4a05d0
cmp word [esp + 0x8ea], 0
sete cl
movzx edx, cl
push edx
push eax
push 0
push eax
call fcn.00490f10
jmp 0x4a05d0
movsx eax, byte [0x528c62]
push eax
call fcn.004b14d1
add esp, 4
cmp eax, 0x45
jne 0x4a031c
mov dword [0x52721c], 1
movsx ecx, byte [0x528c62]
push ecx
call fcn.004b14d1
add esp, 4
cmp eax, 0x54
sete dl
xor eax, eax
mov byte [0x527342], dl
mov word [esp + 0x10e8], ax
cmp word [esp + 0x8e8], ax
je 0x4a036d
push 0x400
lea ecx, [esp + 0x10ec]
push ecx
call fcn.0048c120
push 0
lea edx, [esp + 0x8ec]
push edx
call fcn.00435fc0
call fcn.004932d0
cmp byte [0x528c2d], 0
mov dword [esp + 0xc], eax
je 0x4a038f
cmp dword [edi + 0xb4], 1
ja 0x4a038f
mov byte [0x527809], 0
xor ebp, ebp
xor esi, esi
cmp dword [edi + 0xb4], ebp
jbe 0x4a051a
nop
cmp byte [0x51b848], 0
jne 0x4a051a
mov ecx, dword [0x52a4a0]
call fcn.00470000
push esi
lea eax, [esp + 0xbc]
push eax
mov ecx, edi
call fcn.00444c50
push 0x400
lea ecx, [esp + 0xbc]
push ecx
push 0x529c92
call fcn.0046fc70
cmp word [0x529c92], 0
mov edx, dword [esp + 0x8e4]
mov dword [0x527c24], edx
je 0x4a04f0
cmp byte [0x527342], 0
push 0x529c92
sete al
push 0
lea eax, [eax*4 + 0x54]
push eax
call fcn.0048ced0
cmp byte [0x527342], 0
jne 0x4a0441
cmp word [esp + 0x8e8], 0
je 0x4a0441
lea ecx, [esp + 0x8e8]
push ecx
call fcn.0048c100
test al, al
je 0x4a04ff
push 0
push 1
lea edx, [esp + 0xc0]
push edx
mov ecx, 0x5219d0
call fcn.004169e0
cmp byte [0x527342], 0
je 0x4a0490
mov ecx, 0x5219d0
call fcn.00411b10
and eax, 1
xor edx, edx
or eax, edx
jne 0x4a0490
push 0x3ac
call fcn.00466860
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00499dd0
add esp, 8
jmp 0x4a04b9
movzx ecx, byte [0x528c2b]
push 0
push ecx
mov ecx, 0x5219d0
call fcn.00417d90
test ebp, ebp
je 0x4a04b3
push ebp
mov ecx, 0x5072f4
call fcn.0042c9e0
mov ebp, dword [0x5072f4]
cmp word [esp + 0x10e8], 0
je 0x4a04d1
lea edx, [esp + 0x10e8]
push edx
call fcn.0048c100
mov eax, dword [esp + 0x8b8]
add dword [0x51b838], eax
mov ecx, dword [esp + 0x8bc]
adc dword [0x51b83c], ecx
call fcn.0048ddd0
inc esi
cmp esi, dword [edi + 0xb4]
jb 0x4a03a0
jmp 0x4a051a
lea edx, [esp + 0x8e8]
push edx
push 0x1f7
call fcn.00466860
push eax
call fcn.004997e0
add esp, 8
call fcn.004932d0
cmp dword [esp + 0xc], eax
jne 0x4a053b
cmp byte [0x51a778], 0
jne 0x4a053b
cmp byte [0x51b848], 0
jne 0x4a053b
mov al, 1
jmp 0x4a053d
xor al, al
cmp byte [0x527342], 0
je 0x4a05a5
cmp byte [0x528c2d], 0
je 0x4a059c
test al, al
je 0x4a059c
mov eax, dword [0x51a774]
test eax, eax
je 0x4a059c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x51b8cc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
neg esi
push 0x40
sbb esi, esi
and esi, dword [0x51b8cc]
push 0x3a7
call fcn.00466860
push eax
push 0x3a8
call fcn.00466860
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [0x527342], 0
jne 0x4a05d0
cmp byte [0x528c2d], 0
je 0x4a05d0
push 0
push str.ShowExplorer
push str.ExtractionProfile
call fcn.004604a0
test eax, eax
je 0x4a05d0
lea ecx, [esp + 0x8e8]
push ecx
call fcn.004901c0
mov ecx, dword [esp + 0x18ec]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x18dc]
xor ecx, esp
call fcn.004affec
add esp, 0x18ec
ret