Function at 0x1343940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb5544
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1343979
lock inc dword [edi + 4]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 0x10], edi
test esi, esi
jne 0x13439bd
mov dword [ebp - 0x10], esi
test edi, edi
je 0x1343aef
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1343aec
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1343aec
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x1343aec
xor edx, edx
cmp dword [esi + 0x10], edx
jbe 0x1343aef
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x13439d2
mov eax, dword [esi]
xor byte [eax + edx], 0x36
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x13439e0
mov ecx, dword [esi]
cmp byte [ecx + edx], 0
mov ecx, esi
mov eax, dword [esi + 0x14]
jne 0x13439fb
cmp eax, 0x10
jb 0x13439f2
mov ecx, dword [esi]
mov byte [ecx + edx], 0x55
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a02
mov ecx, dword [esi]
cmp byte [ecx + edx], 0x55
mov ecx, esi
jne 0x1343a1a
cmp eax, 0x10
jb 0x1343a11
mov ecx, dword [esi]
mov byte [ecx + edx], 0xff
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a21
mov ecx, dword [esi]
cmp byte [ecx + edx], 0xff
mov ecx, esi
jne 0x1343a39
cmp eax, 0x10
jb 0x1343a30
mov ecx, dword [esi]
mov byte [ecx + edx], 0xfd
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a40
mov ecx, dword [esi]
cmp byte [ecx + edx], 0xfd
mov ecx, esi
jne 0x1343a58
cmp eax, 0x10
jb 0x1343a4f
mov ecx, dword [esi]
mov byte [ecx + edx], 0xde
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a5f
mov ecx, dword [esi]
cmp byte [ecx + edx], 0xde
mov ecx, esi
jne 0x1343a74
cmp eax, 0x10
jb 0x1343a6e
mov ecx, dword [esi]
mov byte [ecx + edx], 5
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a7b
mov ecx, dword [esi]
cmp byte [ecx + edx], 5
mov ecx, esi
jne 0x1343a90
cmp eax, 0x10
jb 0x1343a8a
mov ecx, dword [esi]
mov byte [ecx + edx], 1
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343a97
mov ecx, dword [esi]
cmp byte [ecx + edx], 1
mov ecx, esi
jne 0x1343aac
cmp eax, 0x10
jb 0x1343aa6
mov ecx, dword [esi]
mov byte [ecx + edx], 0xa
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343ab3
mov ecx, dword [esi]
cmp byte [ecx + edx], 0xa
mov ecx, esi
jne 0x1343ac8
cmp eax, 0x10
jb 0x1343ac2
mov ecx, dword [esi]
mov byte [ecx + edx], pe_nt_image_headers32
jmp 0x1343ae2
cmp eax, 0x10
jb 0x1343acf
mov ecx, dword [esi]
cmp byte [ecx + edx], 0x80
jne 0x1343ae2
mov ecx, esi
cmp eax, 0x10
jb 0x1343ade
mov ecx, dword [esi]
mov byte [ecx + edx], 0
inc edx
cmp edx, dword [esi + 0x10]
jb 0x13439c8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
test edi, edi
je 0x1343b1b
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1343b1b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1343b1b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x24
call fcn.014034b0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 1
lea esi, [ebx + 0xc]
xor eax, eax
mov ecx, esi
mov dword [ebx + 4], eax
lea eax, [ebx + 4]
mov dword [eax], 1
mov dword [ebx + 8], 1
mov dword [ebx], 0xdd2420
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push 0xdd02e8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.013282e0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
push 0
push 0x1cb4
mov byte [ebp - 4], 2
call fcn.0132c330
mov ecx, dword [ebp + 8]
add esp, 8
mov ecx, dword [ecx + 0x10]
add ecx, eax
mov eax, dword [esi + 0x10]
cmp ecx, eax
ja 0x1343baa
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1343ba1
mov eax, dword [esi]
mov dword [esi + 0x10], ecx
mov byte [eax + ecx], 0
jmp 0x1343bb6
sub ecx, eax
push 0
push ecx
mov ecx, esi
call fcn.01391180
mov edi, esi
cmp dword [edi + 0x14], 0x10
lea ebx, [edi + 0x14]
mov eax, edi
jb 0x1343bc5
mov eax, dword [esi]
mov dword [eax], 0xabbadaad
cmp dword [ebx], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
jb 0x1343be1
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
push 0
push 0x1cac
call fcn.0132c330
mov ecx, dword [ebp - 0x10]
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [eax + ecx], edx
cmp dword [ebx], 0x10
jb 0x1343c06
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
push 0
push 0x1cb8
call fcn.0132c330
mov ecx, dword [ebp - 0x10]
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [eax + ecx], edx
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x1343c2b
mov eax, dword [eax]
cmp dword [ebx], 0x10
jb 0x1343c32
mov edi, dword [esi]
push dword [ecx + 0x10]
push eax
push 0
push 0x1cb4
call fcn.0132c330
add esp, 8
add eax, edi
push eax
call fcn.01405190
add esp, 0xc
push 0
push 0x1cb0
call fcn.0132c330
mov edi, eax
add esp, 8
cmp edi, dword [esi + 0x10]
jae 0x1343cea
lea ebx, [ebx]
mov dword [ebp - 0x10], 0
mov eax, esi
cmp dword [ebx], 0x10
jb 0x1343c80
mov eax, dword [esi]
add eax, edi
mov dword [ebp - 0x39], 0xb1a0b388
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
sub eax, edi
mov dword [ebp - 0x35], 0x818a86
mov dword [ebp - 0x1c], eax
xor eax, eax
mov byte [ebp - 0x31], 1
lea ecx, [eax - 0x21]
xor byte [ebp + eax - 0x39], cl
inc eax
cmp eax, 7
jb 0x1343ca1
push 0xdd09f8
mov byte [ebp - 0x31], 0
call 0x146691f
ret
mov bl, 1
mov ecx, dword [ebp - 0x24]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1343d15
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov eax, edi
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x1343d15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1343d3a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1343d3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1343d3a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret