Function at 0x40a0f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x83dc
call fcn.004357e0
push ebx
push esi
push edi
push 5
xor ebx, ebx
pop esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x38], 0x47
mov byte [ebp - 0x37], 0x4d
mov byte [ebp - 0x36], 0x4f
mov byte [ebp - 0x35], 0x20
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x32], 0x20
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], 0x31
mov byte [ebp - 0x2f], 0x2e
mov byte [ebp - 0x2e], 0x30
mov byte [ebp - 0x2d], 0x2e
mov byte [ebp - 0x2c], 0x30
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x30
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x1d8], 0x4b
mov byte [ebp - 0x1d7], 0x43
mov byte [ebp - 0x1d6], 0x58
mov byte [ebp - 0x1d5], 0x50
mov byte [ebp - 0x1d4], 0x20
mov byte [ebp - 0x1d3], 0x20
mov byte [ebp - 0x1d2], 0x20
mov byte [ebp - 0x1d1], bl
mov byte [ebp - 0x1d0], 0x31
mov byte [ebp - 0x1cf], 0x2e
mov byte [ebp - 0x1ce], 0x30
mov byte [ebp - 0x1cd], 0x2e
mov byte [ebp - 0x1cc], 0x30
mov byte [ebp - 0x1cb], 0x2e
mov byte [ebp - 0x1ca], 0x30
mov byte [ebp - 0x1c9], bl
mov byte [ebp - 0x1c8], bl
mov byte [ebp - 0x1c7], 2
mov dword [ebp - 0x1c6], 0x4e20
mov dword [ebp - 0x1c2], ebx
mov dword [ebp - 0x1be], ebx
mov dword [ebp - 0x1ba], ebx
mov dword [ebp - 0x1b6], ebx
mov dword [ebp - 0x1b2], esi
mov byte [ebp - 0x1ae], bl
mov byte [ebp - 0x1ad], bl
mov byte [ebp - 0x1ac], bl
mov byte [ebp - 0x1ab], bl
mov byte [ebp - 0x1aa], bl
mov byte [ebp - 0x1a9], bl
mov byte [ebp - 0x1a8], bl
mov byte [ebp - 0x1a7], bl
mov byte [ebp - 0x1a6], bl
mov byte [ebp - 0x1a5], bl
mov byte [ebp - 0x1a4], bl
mov byte [ebp - 0x1a3], bl
mov byte [ebp - 0x1a2], bl
mov byte [ebp - 0x1a1], bl
mov byte [ebp - 0x1a0], bl
mov byte [ebp - 0x19f], bl
mov byte [ebp - 0x19e], bl
mov byte [ebp - 0x19d], bl
mov byte [ebp - 0x19c], bl
mov byte [ebp - 0x19b], bl
mov byte [ebp - 0x19a], bl
mov byte [ebp - 0x199], bl
mov byte [ebp - 0x198], bl
push 0x56
xor eax, eax
pop ecx
lea edi, [ebp - 0x195]
mov byte [ebp - 0x197], bl
mov byte [ebp - 0x196], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x8001
lea eax, [ebp - 0x83dc]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.ReceiveAll_start
push esi
push ebx
call fcn.00426a9a
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push 0x18
mov eax, dword [edi]
mov dword [ebp - 0x28], 0x2101
add eax, 0x14
push eax
lea eax, [ebp - 0x1ac]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi]
add eax, 0x14
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x83dc]
push eax
lea eax, [ebp - 0x38]
push 0x8000
push eax
lea eax, [ebp - 0x1d8]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x85b0]
push dword [eax + 0x85ac]
call sub.kcxpapi.dll_KCXP_Get
push str.receive_a_packet
push 5
push ebx
call fcn.00426a9a
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x40a426
lea eax, [ebp - 0x83dc]
push eax
call fcn.0042d648
test al, al
pop ecx
je 0x40a377
mov eax, dword [ebp - 0x10]
jmp 0x40a387
lea eax, [ebp - 0x8376]
push 5
push eax
call fcn.00424500
pop ecx
pop ecx
mov dword [ebp + 0x10], eax
lea ecx, [eax + esi]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov eax, dword [eax]
lea edx, [eax - 0x88]
cmp ecx, edx
jb 0x40a3d2
add eax, 0x8088
push eax
push dword [edi]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
cmp eax, ebx
pop ecx
je 0x40a4a7
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add dword [eax], 0x8088
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [ecx + 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov byte [ecx + eax - 1], bl
lea eax, [ebp - 0x83dc]
push eax
call fcn.0042d648
pop ecx
push dword [ebp + 0x10]
test al, al
lea eax, [ebp - 0x83dc]
jne 0x40a3f2
lea eax, [ebp - 0x835e]
push eax
mov eax, dword [edi]
lea eax, [eax + esi + 0x88]
push eax
call sub.MSVCRT.dll_memcpy
mov esi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x83dc]
push dword [ebp + 0x14]
push eax
call fcn.0042d662
pop ecx
test al, al
pop ecx
jne 0x40a4ce
jmp 0x40a311
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.004099fd
test al, al
jne 0x40a49f
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x3d8]
push eax
push dword [ebp - 4]
call sub.kcxpapi.dll_KCXP_ErrInfo
lea eax, [ebp - 0x3d8]
mov esi, 0x7d1
push eax
push dword [ebp - 4]
push str.CAppServer::ReceiveAll_KCXP_Get_failure_reason_d__s
push esi
push ebx
call fcn.00426a9a
push dword [ebp - 4]
call fcn.0041db9c
add esp, 0x18
test al, al
je 0x40a49f
push dword [edi + 0x85d8]
add edi, 0x85a8
push dword [edi + 0x48]
push edi
call fcn.0041dbc2
add esp, 0xc
test al, al
jne 0x40a49f
push str.RestoreConnection_fail
push esi
push ebx
call fcn.00426a9a
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x40a54f
mov eax, dword [ebp + 0xc]
push ebx
mov eax, dword [eax]
add eax, 0x8088
push eax
push str.CAppServer::ReceiveAll_realloc__d__return__p
push 0x7d1
push ebx
call fcn.00426a9a
add esp, 0x14
push 0x64
pop eax
jmp 0x40a54f
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jge 0x40a4de
mov eax, dword [edi]
mov byte [eax + esi + 0x88], bl
lea eax, [ebp - 0x83dc]
push eax
call fcn.0042d648
test al, al
pop ecx
jne 0x40a51b
lea eax, [ebp - 0x83dc]
push 0x7e
push eax
mov eax, dword [edi]
add eax, 0x88
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [esi - 0x7e]
push 5
push eax
mov eax, dword [edi]
add eax, 0xee
push eax
call fcn.0042459f
add esp, 0x18
mov eax, dword [edi]
mov dword [eax + 0x10], esi
mov eax, dword [edi]
push dword [eax + 0x10]
push str.ReceiveAll_end___d_bytes
push 5
push ebx
call fcn.00426a9a
mov eax, dword [edi]
add esp, 0x10
add eax, 0x88
push eax
push 0x441f44
push 1
push ebx
call fcn.00426a9a
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10