Function at 0x10004b36
Capabilities:
Contain obfuscated stackstrings
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
mov esi, ecx
push eax
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x23], 0x53
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x5f
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], bl
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x14], bl
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
push ebx
lea eax, [ebp - 4]
push 4
push eax
mov dword [ebp - 0x38], 3
push dword [esi + 0xa8]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 5
mov byte [ebp - 3], 2
mov byte [ebp - 2], bl
mov byte [ebp - 1], 2
call dword [ebp - 0x28]
mov edi, 0x258
lea eax, [ebp - 0x4a4]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x148]
push ebx
push eax
push ebx
call fcn.1000475c
add esp, 0x20
test eax, eax
jle 0x10004e42
push ebx
lea eax, [ebp - 0x4a4]
push edi
push eax
push dword [esi + 0xa8]
call dword [ebp - 0x2c]
cmp byte [ebp - 0x4a4], 5
jne 0x10004e42
cmp byte [ebp - 0x4a3], bl
je 0x10004c69
cmp byte [ebp - 0x4a3], 2
jne 0x10004e42
cmp byte [ebp - 0x4a3], 2
jne 0x10004d96
push 0x100153ec
call fcn.1000472c
test eax, eax
pop ecx
jle 0x10004d96
push 0x100153ec
call fcn.1000472c
mov dword [ebp - 8], eax
mov dword [esp], 0x100154ec
call fcn.1000472c
mov dword [ebp - 0x30], eax
mov dword [esp], 0x102
lea eax, [ebp - 0x24c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov al, byte [ebp - 8]
add esp, 0xc
mov byte [ebp - 0x24b], al
lea eax, [ebp - 0x24a]
push 0x100153ec
push eax
mov byte [ebp - 0x24c], 5
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x30]
push 4
push eax
mov eax, dword [ebp - 8]
lea eax, [ebp + eax - 0x24a]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp + eax - 0x249]
push 0x100154ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
push ebx
lea eax, [eax + ecx + 3]
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [esi + 0xa8]
call dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x4a4]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x148]
push ebx
push eax
push ebx
call fcn.1000475c
add esp, 0x20
test eax, eax
jle 0x10004e42
push ebx
lea eax, [ebp - 0x4a4]
push edi
push eax
push dword [esi + 0xa8]
call dword [ebp - 0x2c]
cmp byte [ebp - 0x4a4], 5
jne 0x10004e42
cmp byte [ebp - 0x4a3], bl
jne 0x10004e42
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x10004e4e
push dword [ebp + 0xc]
mov byte [ebp - 0x44], 5
mov byte [ebp - 0x43], 1
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x41], 1
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x3c], ax
push ebx
lea eax, [ebp - 0x44]
push 0xa
push eax
push dword [esi + 0xa8]
call dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x4a4]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x148]
push ebx
push eax
push ebx
call fcn.1000475c
add esp, 0x20
test eax, eax
jle 0x10004e42
push ebx
lea eax, [ebp - 0x4a4]
push edi
push eax
push dword [esi + 0xa8]
call dword [ebp - 0x2c]
cmp byte [ebp - 0x4a4], 5
jne 0x10004e42
cmp byte [ebp - 0x4a3], bl
jne 0x10004e42
mov al, 1
jmp 0x10004e50
push dword [esi + 0xa8]
call fcn.10004721
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8