Function at 0x43f810
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
mov eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x24], edi
call fcn.0043e6c0
mov edx, eax
test edx, edx
je 0x43fc8d
mov ecx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f8a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402810
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1e], 0x9882a6a8
mov dword [ebp - 0x1a], 0x9e9d988a
mov word [ebp - 0x16], 0x100
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x43f8d0
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00464be0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0043e8f0
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x43fc55
nop dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x43fca8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x51f814
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.0046c790
or edi, 8
mov dword [ebp - 0x24], edi
push esi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.00464c50
or edi, 0x10
mov dword [ebp - 0x24], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x43f9d8
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43f9ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
movaps xmm0, xmmword [0x525100]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x62742b70
mov dword [ebp - 0x2c], 0x100396b
nop
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x16
jb 0x43fa10
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x29], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fa27
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x43fca8
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0046c790
or edi, 4
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push eax
cmovae ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x88]
call fcn.0043eb70
sub esp, 0x14
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.00464ec0
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0xb8]
call fcn.0043f0f0
add esp, 0x18
push esi
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00464ec0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd4]
call fcn.00464ec0
or edi, 2
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x43fb1e
call fcn.004786c0
add dword [edx + 4], 0x30
jmp 0x43fb26
push ecx
mov ecx, edx
call fcn.004704a0
lea ecx, [ebp - 0xec]
call fcn.0041d500
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x43fb6f
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fb65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0x10
jb 0x43fbc5
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fbbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x43fbfd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fbf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x43fc49
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fc3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x43f920
lea ecx, [ebp - 0x20]
call fcn.004670b0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x43fc8d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fc83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fca3
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1130
call fcn.00402040
int3