Function at 0x40a080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
mov eax, 0xd
sub eax, ecx
sub esp, 0x1dc
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x118]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x4b07dc]
sub esp, 0xc
test eax, eax
je 0x40a300
lea eax, [ebp - 0x98]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x4b0828]
sub esp, 0xc
test eax, eax
je 0x40a2d8
mov eax, ebx
mov edi, 8
call sym._packet_reply_open
mov edx, 0x43c4f8
mov ecx, 1
mov eax, ebx
call dbg.packet_reply_add_data
mov dword [esp + 4], 0xfffffffc
mov dword [esp], esi
call dword [0x4b0820]
sub esp, 8
mov edx, eax
test ebx, ebx
je 0x40a13c
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x40a13c
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x40a13c
mov edi, dword [eax + 4]
add edi, edi
mov dword [ebp - 0x19c], edx
mov dword [esp + 4], 0xfffffff0
mov dword [esp], esi
call dword [0x4b0820]
mov edx, dword [ebp - 0x19c]
lea ecx, [ebp - 0x98]
sub esp, 8
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1a0]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x198]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0x43c4fa
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x43c4fa
mov dword [esp + 8], str._s_04Ix_s__17.17s__08lx__0Ix__.14s_n
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0x198]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov edi, eax
lea eax, [eax + eax]
mov ecx, eax
mov dword [ebp - 0x19c], eax
mov eax, dword [ebx + 0x1c]
lea edx, [ecx + eax]
mov ecx, dword [ebx + 0x20]
cmp edx, ecx
ja 0x40a2a8
mov edx, dword [ebx + 0x18]
add edx, eax
test edi, edi
je 0x40a241
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x198]
lea edi, [edx + eax]
lea esi, [esi]
nop
movzx eax, byte [ecx]
add edx, 2
add ecx, 1
shr al, 4
movzx eax, al
movzx eax, byte [eax + 0x43c48b]
mov byte [edx - 2], al
movzx eax, byte [ecx - 1]
and eax, 0xf
movzx eax, byte [eax + 0x43c48b]
mov byte [edx - 1], al
cmp edx, edi
jne 0x40a210
mov eax, dword [ebx + 0x1c]
add eax, dword [ebp - 0x19c]
mov dword [ebx + 0x1c], eax
mov eax, ebx
call dbg.packet_reply_close
mov dword [esp + 4], 5
mov dword [esp], esi
call dword [0x4b081c]
sub esp, 8
test eax, eax
je 0x40a27b
mov edi, dword [ebp - 0x1a0]
mov edx, eax
mov eax, ebx
lea ecx, [edi + 1]
call dbg.packet_query_monitor_wnd_helper
mov dword [esp], esi
mov dword [esp + 4], 2
call dword [0x4b081c]
sub esp, 8
mov esi, eax
test eax, eax
jne 0x40a0a3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ecx + ecx*2]
shr eax, 1
cmp eax, edx
cmovb eax, edx
mov dword [ebx + 0x20], eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [ebx + 0x18], eax
mov edx, eax
mov eax, dword [ebx + 0x1c]
jmp 0x40a1f2
mov dword [ebp - 0x98], 0x45202d2d
mov dword [ebp - 0x94], 0x7974706d
mov dword [ebp - 0x90], 0x2d2d20
jmp 0x40a0ef
mov dword [ebp - 0x118], 0x55202d2d
mov eax, 0x2d
mov dword [ebp - 0x114], 0x6f6e6b6e
mov dword [ebp - 0x110], 0x2d206e77
mov word [ebp - 0x10c], ax
jmp 0x40a0c9