Function at 0x4a8bc0
Capabilities:
Contain obfuscated stackstrings
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsEncrypt::GetKey_unsigned_char__const__unsigned_int__unsigned_char_const__
add esp, 0xc
push 0x4d14b8
mov eax, dword [ebp + 8]
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4a8c05
xor al, al
jmp 0x4a8f2e
push 0x4d14b0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4a8c32
mov edx, dword [ebp - 0x54]
push edx
call fcn.0043cf8f
add esp, 4
xor al, al
jmp 0x4a8f2e
mov dword [ebp - 0x58], 0x100000
mov eax, dword [ebp - 0x58]
add eax, 0x10
push eax
call fcn.0047ac4d
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x58]
add edx, 0x10
push edx
call fcn.0047ac4d
add esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0043f755
add esp, 4
test eax, eax
jne 0x4a8ef0
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0043f624
add esp, 0x10
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x10], 3
jne 0x4a8ce6
mov byte [ebp - 0x3d], 5
lea edx, [ebp - 0x3c]
test edx, edx
je 0x4a8cb6
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + ecx - 0x3c]
mov byte [ebp - 0x3d], dl
movzx eax, byte [ebp - 0x3d]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsEncrypt::EasyEncode_unsigned_char___unsigned_int__unsigned_char_
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 1
mov edx, dword [ebp - 0x44]
push edx
call fcn.0043ccbf
add esp, 0x10
jmp 0x4a8eeb
cmp dword [ebp + 0x10], 2
jne 0x4a8e01
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1c], 8
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x1c], 0x6e
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x1c], 0xaa
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x1c], 0x52
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x1c], 0x1e
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x1c], 0x3c
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x1c], 0x5a
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x44
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x3d
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x1c], 0x1f
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x1c], 0x30
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x32
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x1c], 0x34
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x1c], 0x4e
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x1c], 0x5a
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x1c], 0x6c
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
push 0x80
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x3c]
push eax
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsEncrypt::AesEncode_unsigned_char_const___unsigned_char___unsigned_char_const___unsigned_char___unsigned_int___unsigned_int_
add esp, 0x18
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
push 1
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043ccbf
add esp, 0x10
jmp 0x4a8eeb
cmp dword [ebp + 0x10], 1
jne 0x4a8eac
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xc], 8
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0xc], 0x76
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xc], 0xb2
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0xc], 0x52
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0xc], 0x20
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0xc], 0x3c
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0xc], 0x5a
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0xc], 0x6c
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsEncrypt::Des3Encode_unsigned_char_const___unsigned_char___unsigned_char_const___unsigned_char___unsigned_int__
add esp, 0x14
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x60]
push eax
push 1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043ccbf
add esp, 0x10
jmp 0x4a8eeb
cmp dword [ebp + 0x10], 0
jne 0x4a8eeb
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x64], edx
push 0x80
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x3c]
push eax
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsEncrypt::HfEncode_unsigned_char_const___unsigned_char_const___unsigned_char___unsigned_int___unsigned_int_
add esp, 0x14
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push 1
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043ccbf
add esp, 0x10
jmp 0x4a8c69
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.0047ac48
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0047ac48
add esp, 4
mov edx, dword [ebp - 0x54]
push edx
call fcn.0043cf8f
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0043cf8f
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret