Function at 0x42df90
Capabilities:
Encode data using xor
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4731c9
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x48f088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xd0], edi
call fcn.004166d0
cmp dword [eax + 0x14], 0x10
jb 0x42dfe6
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0xd0], eax
cmp edx, 0x10
jb 0x42e033
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e430
push edx
push ecx
call fcn.0044945e
mov eax, dword [ebp - 0xd0]
add esp, 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
test eax, eax
jne 0x42e247
push 0xb0
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0xcc]
call fcn.00416e00
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x10c], 0x19
mov dword [ebp - 0x108], 0xd400e3
mov dword [ebp - 0x104], 0x9c00cb
mov dword [ebp - 0x100], 0xfd009e
mov dword [ebp - 0xfc], 0xa500a1
mov dword [ebp - 0xf8], 0xab00e2
mov dword [ebp - 0xf4], 0xb600ab
mov dword [ebp - 0xf0], 0xe700b2
mov dword [ebp - 0xec], 0xa600a4
mov dword [ebp - 0xe8], 0xa000a5
mov dword [ebp - 0xe4], 0xbd00b9
mov dword [ebp - 0xe0], 0xa900ee
mov dword [ebp - 0xdc], 0xa300bf
mov dword [ebp - 0xd8], 0xd300f2
nop dword [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x108], ax
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x42e110
xor ecx, ecx
lea edx, [ebp - 0x108]
mov word [ebp + eax*2 - 0x108], cx
lea ecx, [ebp - 0xbc]
call fcn.0041caa0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x42e14f
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0041d090
mov edx, dword [0x491778]
add esp, 4
test edx, edx
jne 0x42e1a1
push 0x20
call fcn.004490b3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xd0], edx
xor eax, eax
mov dword [0x491778], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0042e440
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
test eax, eax
je 0x42e1d2
nop word [eax + eax]
lea eax, [ecx + 0xba]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x42e1c0
xor ecx, ecx
mov word [esi + eax*2 + 4], cx
lea eax, [ebp - 0x1d4]
push eax
call fcn.0042a870
mov edi, eax
mov eax, dword [edi]
lea esi, [edi + 4]
test eax, eax
je 0x42e201
lea eax, [ecx + 0xba]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edi]
cmp ecx, eax
jb 0x42e1f0
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0xcc]
push eax
push ecx
push 0x267
push esi
push ecx
mov ecx, edx
call fcn.00426e30
lea ecx, [ebp - 0xcc]
call fcn.00416c40
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x42e415
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movq qword [ebp - 0x1c], xmm0
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 1
xor esi, esi
mov eax, dword [eax + 0xc]
cmp dword [eax], esi
je 0x42e3eb
nop word [eax + eax]
mov eax, dword [eax + ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x114], 0
mov ecx, edx
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e2b3
sub ecx, dword [ebp - 0xd4]
push ecx
push edx
lea ecx, [ebp - 0x124]
call fcn.0040c370
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.004164e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ecx
je 0x42e325
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x18], 0x18
jmp 0x42e32f
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00415c90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x140]
cmp edx, 8
jb 0x42e373
mov ecx, dword [ebp - 0x154]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e369
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e430
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
cmp edx, 0x10
jb 0x42e3ca
mov ecx, dword [ebp - 0x124]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e3c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e430
push edx
push ecx
call fcn.0044945e
add esp, 8
mov eax, dword [ebp - 0xd0]
inc esi
mov eax, dword [eax + 0xc]
lea ecx, [esi*4]
cmp dword [eax + ecx], 0
jne 0x42e280
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [edi], ecx
lea ecx, [ebp - 0x1c]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040baf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dec
mov esp, ebp
pop ebp
ret
call fcn.0044e6c9
int3