Function at 0x438020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f248
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x438235
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x51c7e0
push eax
call fcn.0040d5e0
mov esi, dword [ebp - 0x28]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
or eax, 0xffffffff
mov dword [ebp - 0x38], ecx
cmp ecx, eax
jne 0x4380b5
xor edi, edi
jmp 0x4381f0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x8000c010
push ecx
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
test edi, edi
jne 0x4380ef
push str.AUTH_fail__n
jmp 0x4381dd
movaps xmm0, xmmword [str.6804FACB_33CC_48a8_99B1_4E2A487Fungzip]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x34], 0
movaps xmm0, xmmword [0x51c850]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x38333639
mov byte [ebp - 0x3c], 0
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x43823f
mov eax, dword [ecx]
push 1
push 0x24
mov eax, dword [eax]
call eax
mov dword [ebp - 0x24], eax
test eax, eax
je 0x438249
cmp dword [eax + 8], 0x24
lea edi, [eax + 0x10]
jl 0x43822b
push 0x24
lea eax, [ebp - 0x60]
mov dword [edi - 0xc], 0x24
push eax
push 0x24
push edi
mov byte [edi + 0x24], 0
call fcn.0040a020
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x24
push edi
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.004383b0
mov edx, dword [ebp - 0x24]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43819b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4381a6
push str.Base64_fail__n
jmp 0x4381dd
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push 0
push eax
push 0
push 0
push dword [ebp - 0x30]
push edi
push 0x8000c014
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov dword [ebp - 0x24], eax
call fcn.004d7ea4
mov edi, dword [ebp - 0x24]
add esp, 4
test edi, edi
jne 0x4381e4
push str.Enable_fail__n
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43820c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3