Function at 0x48c386
Capabilities:
Create directory
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc18
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push dword [ebx + 0x3b0]
call fcn.0041261f
test eax, eax
jne 0x48c3b3
push 0
push ebx
call fcn.0048b8ab
xor eax, eax
jmp 0x48c6f4
cmp dword [ebx + 0x37c], 0
jne 0x48c48a
lea edx, [ebx + 0x37c]
push edx
push 0
push 0x579f7a
lea ecx, [ebx + 0x234]
push ecx
call fcn.00481b78
cmp dword [ebx + 0x37c], 0
je 0x48c48a
cmp byte [0x579f7a], 0
je 0x48c48a
lea eax, [ebx + 4]
mov edi, eax
mov esi, 0x57a361
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x57a361
call fcn.004d473f
test eax, eax
je 0x48c48a
push 0x57a361
push 0x579f7a
call fcn.0054e1b0
add esp, 8
push 0x579f7a
call fcn.0042e6d8
push 0x579f7a
push 0x104
lea eax, [ebx + 0x130]
push eax
call fcn.0042e5e3
push 0x579f7a
call fcn.0042e725
cmp byte [0x579f7a], 0
je 0x48c48a
push 2
push 0x579f7a
call fcn.0042cbc2
test eax, eax
jne 0x48c48a
push 0
push 0x579f7a
call sub.KERNEL32.dll_CreateDirectoryA
push ebx
call fcn.0048bfae
test eax, eax
jne 0x48c4ad
push ebx
call fcn.0048b997
test eax, eax
je 0x48c4a6
push 0
push ebx
call fcn.0048b8ab
xor eax, eax
jmp 0x48c6f4
push dword [ebx + 0x3b0]
call fcn.0041261f
test eax, eax
jne 0x48c4cb
push 0
push ebx
call fcn.0048b8ab
xor eax, eax
jmp 0x48c6f4
mov dword [ebx + 0x33c], 2
xor edx, edx
mov dword [ebx + 0x3a4], edx
xor ecx, ecx
mov dword [ebx + 0x344], ecx
xor eax, eax
mov dword [ebx + 0x380], eax
mov edx, dword [0x563c28]
mov dword [ebx + 0x384], edx
lea ecx, [ebx + 0x234]
push ecx
lea eax, [ebx + 4]
push eax
push 0x5663e2
lea edx, [ebp - 0x3e8]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push ebx
call fcn.0048c2ce
mov esi, eax
mov dword [ebx], esi
test esi, esi
jne 0x48c555
push dword [ebx + 0x3b0]
push 0
push 2
push 3
lea eax, [ebp - 0x3e8]
push eax
call fcn.0052637f
mov esi, eax
mov dword [ebx], esi
test esi, esi
jne 0x48c564
push 0
push ebx
call fcn.0048b8ab
xor eax, eax
jmp 0x48c6f4
push 0
push dword [ebx]
call fcn.0051fafa
push eax
call fcn.005171cc
cmp dword [0x56418c], 0
jbe 0x48c645
mov dword [ebx + 0x33c], 3
mov edx, dword [0x56418c]
mov dword [ebx + 0x360], edx
push ebx
call fcn.0048bf33
xor ecx, ecx
mov dword [0x56418c], ecx
push 0
push 0xb59
call fcn.0042c771
push eax
lea eax, [ebp - 0x3e8]
push eax
call sub.USER32.dll_wsprintfA
add esp, 8
lea edx, [ebp - 0x3e8]
push edx
push 1
push 1
push 1
push 2
push ebx
call fcn.005191c5
cmp dword [ebx + 0x374], 0
jne 0x48c66f
mov ax, word [ebx + 0x34c]
test ax, ax
je 0x48c603
push dword [ebx + 0x360]
movzx edx, ax
push edx
lea ecx, [ebx + 4]
push ecx
push 0x5663ed
lea eax, [ebp - 0x3e8]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x48c62f
push dword [ebx + 0x340]
push dword [ebx + 0x360]
movzx edx, word [ebx + 0x34c]
push edx
lea ecx, [ebx + 4]
push ecx
push 0x566418
lea eax, [ebp - 0x3e8]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x18
push dword [ebx + 0x3b0]
push 0
lea edx, [ebp - 0x3e8]
push edx
call fcn.00527eaf
jmp 0x48c66f
push 0
push 0xb5a
call fcn.0042c771
push eax
push 1
push 1
push 1
push 2
push ebx
call fcn.005191c5
cmp dword [ebx + 0x374], 0
jne 0x48c66f
push ebx
call fcn.0048c873
cmp dword [ebx + 0x374], 0
je 0x48c6ef
push dword [ebx + 0x360]
mov eax, dword [ebx + 0x3b0]
imul edx, dword [eax + 0xb88], 0x64
add edx, eax
add edx, 0xa5c
push edx
push str.121__s__lu_n
lea ecx, [ebp - 0x3e8]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
lea eax, [ebp - 0x3e8]
push eax
call fcn.0054e28c
pop ecx
push eax
lea edx, [ebp - 0x3e8]
push edx
push dword [ebx + 0x3a8]
call sub.WSOCK32.dll_send
push ebx
call fcn.0048cb83
cmp dword [0x56ba90], 0
je 0x48c6ef
push 3
push 0
lea ecx, [ebx + 0xcc]
push ecx
lea eax, [ebx + 4]
push eax
push dword [ebx]
call fcn.00471001
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4