Function at 0x1000175c
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x10006004]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x158], 0
mov eax, dword [0x10006478]
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x160], ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x15c], ebx
push esi
push edi
test eax, eax
jne 0x1000179f
cmp dword [0x10006400], eax
je 0x100017ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
and dword [0x10006400], 0
pop ecx
lea eax, [ebp - 0x150]
push eax
push 4
push ebx
call dword [sym.imp.Secur32.dll_QueryContextAttributesA]
mov esi, eax
test esi, esi
je 0x100017cb
mov eax, esi
jmp 0x10001a5b
mov ecx, dword [ebp - 0x14c]
add ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
add eax, ecx
push eax
mov dword [ebp - 0x164], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
mov dword [ebp - 0x154], ebx
pop ecx
test ebx, ebx
je 0x10001a56
xor edi, edi
test edi, edi
je 0x1000180b
cmp esi, 0x80090318
jne 0x10001850
mov eax, dword [ebp - 0x164]
push 0
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp - 0x160]
call dword [0x10006484]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001a52
test esi, esi
je 0x10001a4e
push esi
lea eax, [ebp - 0x10c]
push str._d_bytes_of__encrypted__application_data_received_n
push eax
call fcn.1000106b
add esp, 0xc
add edi, esi
and dword [ebp - 0x12c], 0
lea eax, [ebp - 0x13c]
and dword [ebp - 0x120], 0
and dword [ebp - 0x114], 0
and dword [ebp - 0x174], 0
push 0
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x174]
push 0
push eax
push dword [ebp - 0x15c]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x170], 4
call dword [sym.imp.Secur32.dll_DecryptMessage]
mov esi, eax
cmp esi, 0x80090318
je 0x100017ff
cmp esi, 0x90317
je 0x10001a52
test esi, esi
je 0x100018d9
cmp esi, 0x90321
jne 0x100017c4
push 3
xor edi, edi
lea eax, [ebp - 0x130]
xor ebx, ebx
pop ecx
test edi, edi
jne 0x100018f1
cmp dword [eax + 4], 1
cmove edi, eax
test ebx, ebx
jne 0x100018fc
cmp dword [eax + 4], 5
cmove ebx, eax
add eax, 0xc
sub ecx, 1
jne 0x100018e6
test edi, edi
je 0x100019c3
push dword [0x10006400]
lea eax, [ebp - 0x10c]
push 1
push dword [ebp - 0x158]
push dword [edi]
push str.Decrypted_data:__d_bytes__packets_done__d__hackmode__d__hacklen__d_n
push eax
call fcn.1000106b
mov eax, dword [0x10006480]
add esp, 0x18
test eax, eax
je 0x10001941
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [edi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
push dword [edi]
mov dword [0x10006480], eax
push dword [edi + 8]
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov edx, dword [0x10006478]
add esp, 0xc
test edx, edx
je 0x10001999
mov ecx, dword [0x10006400]
test ecx, ecx
je 0x10001999
mov eax, dword [edi]
add eax, ecx
push eax
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
push dword [0x10006400]
mov dword [0x10006478], eax
push dword [edi]
push dword [edi + 8]
push eax
call fcn.10001000
add esp, 0x18
jmp 0x100019bb
push dword [edi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
push dword [0x10006400]
mov dword [0x10006478], eax
push dword [edi]
push dword [edi + 8]
push eax
call fcn.10001000
add esp, 0x10
mov eax, dword [edi]
add dword [0x10006400], eax
test ebx, ebx
je 0x100019df
push dword [ebx]
push dword [ebx + 8]
push dword [ebp - 0x154]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov edi, dword [ebx]
add esp, 0xc
jmp 0x100019e1
xor edi, edi
cmp esi, 0x90321
jne 0x10001a3d
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x160]
push eax
push 0
push dword [ebp - 0x15c]
call fcn.100013e7
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100017c4
mov ebx, dword [ebp - 0x154]
cmp dword [ebp - 0x178], eax
je 0x10001a43
mov edi, dword [ebp - 0x180]
push edi
push dword [ebp - 0x178]
push ebx
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
jmp 0x10001a43
mov ebx, dword [ebp - 0x154]
inc dword [ebp - 0x158]
jmp 0x100017ff
test edi, edi
jne 0x10001a56
xor eax, eax
jmp 0x10001a5b
mov eax, 0x80090304
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002914
leave
ret