Function at 0x409a2e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
push ebx
push esi
push edi
push str.ReceiveRequest_start
push 5
xor ebx, ebx
pop edi
mov dword [ebp - 8], ecx
push edi
push ebx
call fcn.00426a9a
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [eax], ebx
cmp dword [esi], ebx
jne 0x409a8e
push 0x8088
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [esi], eax
jne 0x409a87
push str.Receive_first_request_malloc_fail
push 0x7d1
push ebx
call fcn.00426a9a
add esp, 0xc
jmp 0x409ef5
mov dword [eax + 4], 0x8088
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x85a8]
add eax, 0x85c4
push ecx
push eax
push dword [0x454730]
mov dword [ebp - 0x3c], ecx
call fcn.0041d8b8
add esp, 0xc
test al, al
jne 0x409ac9
push str.Receive_first_request_packet_fail
push edi
push ebx
call fcn.00426a9a
add esp, 0xc
push 3
jmp 0x409ef7
mov eax, dword [esi]
push 0x56
add eax, 0x88
mov dword [ebp - 0x1b6], edi
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x199]
mov byte [ebp - 0x1dc], 0x4b
mov byte [ebp - 0x1db], 0x43
mov byte [ebp - 0x1da], 0x58
mov byte [ebp - 0x1d9], 0x50
mov byte [ebp - 0x1d8], 0x20
mov byte [ebp - 0x1d7], 0x20
mov byte [ebp - 0x1d6], 0x20
mov byte [ebp - 0x1d5], bl
mov byte [ebp - 0x1d4], 0x31
mov byte [ebp - 0x1d3], 0x2e
mov byte [ebp - 0x1d2], 0x30
mov byte [ebp - 0x1d1], 0x2e
mov byte [ebp - 0x1d0], 0x30
mov byte [ebp - 0x1cf], 0x2e
mov byte [ebp - 0x1ce], 0x30
mov byte [ebp - 0x1cd], bl
mov byte [ebp - 0x1cc], bl
mov byte [ebp - 0x1cb], 2
mov dword [ebp - 0x1ca], 0x4e20
mov dword [ebp - 0x1c6], ebx
mov dword [ebp - 0x1c2], ebx
mov dword [ebp - 0x1be], ebx
mov dword [ebp - 0x1ba], ebx
mov byte [ebp - 0x1b2], bl
mov byte [ebp - 0x1b1], bl
mov byte [ebp - 0x1b0], bl
mov byte [ebp - 0x1af], bl
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
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x4d
mov byte [ebp - 0x32], 0x4f
mov byte [ebp - 0x31], 0x20
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x20
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], 0x31
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x30
mov byte [ebp - 0x29], 0x2e
mov byte [ebp - 0x28], 0x30
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x26], 0x30
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
stosb byte es:[edi], al
lea eax, [ebp - 0x198]
push 0x441fb8
push eax
mov dword [ebp - 0x24], 0x2101
mov dword [ebp - 0x1c], 2
call sub.MSVCRT.dll_strcpy
mov edi, dword [ebp - 8]
mov eax, dword [0x454704]
pop ecx
mov eax, dword [eax + 0x20]
pop ecx
push dword [edi + 0x85b0]
mov eax, dword [eax + 8]
push dword [edi + 0x85ac]
mov dword [ebp - 0x20], eax
push str.QueryExternalQueue__d__d_begin
push 5
push ebx
call fcn.00426a9a
add esp, 0x14
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push dword [ebp - 4]
push 0x8000
push eax
lea eax, [ebp - 0x1dc]
push eax
push dword [edi + 0x85b0]
push dword [edi + 0x85ac]
call sub.kcxpapi.dll_KCXP_Get
cmp dword [ebp - 0x38], ebx
je 0x409d96
mov ecx, edi
call fcn.004099fd
test al, al
jne 0x409d8e
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp + 8]
call sub.kcxpapi.dll_KCXP_ErrInfo
cmp dword [ebp + 8], 0x7db
mov esi, 0x7d1
je 0x409d3f
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp + 8]
push str.KCXP_Get_failure_reason_d__s
push esi
push ebx
call fcn.00426a9a
add esp, 0x14
push dword [ebp + 8]
call fcn.0041db9c
test al, al
pop ecx
je 0x409d8e
mov eax, dword [0x454704]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 8]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 0x85d8]
push dword [edi + 0x85f0]
push dword [ebp - 0x3c]
call fcn.0041dbc2
add esp, 0xc
test al, al
jne 0x409d8e
push str.RestoreConnection_fail
push esi
push ebx
call fcn.00426a9a
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x409ef8
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jle 0x409ed5
cmp eax, 0x8000
jge 0x409ed5
mov ecx, dword [ebp - 4]
push 0x18
mov byte [eax + ecx], bl
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [esi]
add eax, 0x14
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x87]
push 0x18
push eax
mov eax, dword [esi]
add eax, 0x2d
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x140]
push 9
push eax
mov eax, dword [esi]
add eax, 0x46
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x180]
push 0x20
push eax
mov eax, dword [esi]
add eax, 0x50
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x5e]
push 0xf
push eax
mov eax, dword [esi]
add eax, 0x71
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
push ebx
mov dword [eax + 0xc], ebx
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, dword [esi]
add esp, 0x40
mov dword [ecx + 0x84], eax
mov eax, dword [esi]
add eax, 0x14
push eax
push str.receive_a_request__s
push 0x64
push ebx
call fcn.00426a9a
add esp, 0x10
push dword [ebp - 4]
push 0x441f44
push 1
push ebx
call fcn.00426a9a
mov eax, dword [esi]
push dword [ebp + 0x14]
add eax, 0x88
push eax
call fcn.0042d662
add esp, 0x18
test al, al
jne 0x409e85
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0040a0f6
mov dword [ebp + 0x14], eax
jmp 0x409e88
mov dword [ebp + 0x14], ebx
cmp dword [ebp + 0x14], ebx
jne 0x409eba
mov eax, dword [esi]
add eax, 0x88
cmp byte [eax], 0x3c
je 0x409eba
lea edi, [eax + 3]
push 1
push edi
call fcn.00424535
pop ecx
and al, 0xf7
pop ecx
push eax
push 0x441f40
push 1
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov eax, dword [esi]
add eax, 0x14
push eax
push str.ReceiveRequest__s_end
push 5
push ebx
call fcn.00426a9a
mov eax, dword [ebp + 0x14]
add esp, 0x10
jmp 0x409ef8
push eax
push dword [edi + 0x85b0]
push dword [edi + 0x85ac]
push str.QueryExternalQueue__d__d_DataLen_d
push 0x7d1
push ebx
call fcn.00426a9a
add esp, 0x18
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10