Function at 0x82d3c0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], edx
mov edx, dword [edx + 0x48]
mov ecx, dword [ecx]
call fcn.007825f0
mov ebp, eax
mov ecx, esi
xor edx, edx
push eax
call fcn.007f56e0
add esp, 4
mov edi, dword [esi + 0x28]
test ebx, ebx
lea eax, [edi + 3]
mov dword [esi + 0x28], eax
je 0x82d581
mov dword [esp + 4], ebp
mov ebp, fcn.0079f870
xor eax, eax
and ebp, 1
movzx edx, byte [0xbb3d0f]
inc ebp
mov ecx, ebp
xor ecx, fcn.0079f870
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x82d560
mov al, byte [0xbb3d0f]
mov dword [esp], ebx
mov edx, ebp
xor ecx, ecx
xor edx, fcn.0079f870
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [edx + ecx*2]
mov dl, 1
or cl, 4
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb3d0f], dl
jne 0x82d43a
mov ecx, fcn.0079f870
xor ebx, ebx
movzx eax, al
and ecx, 1
inc ecx
mov ebp, ecx
xor ebp, fcn.0079f870
sete bl
mov edx, ebx
xor edx, 1
lea edx, [edx + ebx*2]
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x82d4c2
mov ebx, dword [esp]
mov edx, ecx
xor eax, eax
movzx ebp, byte [0xbb3d0f]
xor edx, fcn.0079f870
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
or al, 4
movzx eax, al
bt ebp, eax
jae 0x82d497
jmp 0x82d560
xor eax, eax
xor ecx, fcn.0079f870
movzx edx, byte [0xbb3d0f]
mov ebx, dword [esp]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x82d535
mov ecx, fcn.0079f870
xor eax, eax
mov ebp, dword [0xbb3d04]
and ecx, 1
inc ecx
xor ecx, fcn.0079f870
sete al
mov ecx, eax
xor ecx, 0x80612ee1
lea edx, [ecx + eax*2]
lea ecx, [ecx + eax*2 + 0x14]
xor ebp, ecx
or edx, 0x15
and cl, 7
mov dword [0xbb3d04], ebp
not ebp
imul edx, ebp
xor dword [0xbb3d08], edx
mov dl, 1
shl dl, cl
or byte [0xbb3d0f], dl
mov eax, fcn.0079f870
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0079f870
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb3d0f], al
mov ebp, dword [esp + 4]
mov ecx, esi
mov edx, ebp
push 0xbb3d04
push dword [ebx]
push edi
call fcn.0082d6f0
add esp, 0xc
mov edx, dword [esp + 8]
jmp 0x82d6c0
mov edx, fcn.0081f980
mov eax, fcn.0081f980
mov dword [esp], ebx
mov dword [esp + 4], edi
and edx, 1
movzx ecx, byte [0xbb3d1b]
xor edx, eax
cmp edx, 0xffffffff
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x82d69f
mov al, byte [0xbb3d1b]
cmp edx, 0xffffffff
mov ah, 1
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3d1b], ah
jne 0x82d5b7
mov ecx, fcn.0081f980
mov edx, fcn.0081f980
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
setne dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x82d615
cmp ecx, 0xffffffff
movzx edx, byte [0xbb3d1b]
setne al
or al, 4
movzx eax, al
bt edx, eax
jae 0x82d5f9
jmp 0x82d69f
cmp ecx, 0xffffffff
movzx edx, byte [0xbb3d1b]
setne al
or al, 4
movzx eax, al
bt edx, eax
jb 0x82d67a
mov edx, fcn.0081f980
mov eax, fcn.0081f980
xor ecx, ecx
and edx, 1
xor edx, eax
mov eax, dword [0xbb3d10]
cmp edx, 0xffffffff
sete cl
xor ecx, 0x7930c4f1
add ecx, 0x101c
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb3d10], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb3d14], edx
mov dl, 1
shl dl, cl
or byte [0xbb3d1b], dl
mov ecx, fcn.0081f980
mov eax, fcn.0081f980
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb3d1b], al
mov edx, ebp
mov ecx, esi
push 0xbb3d10
mov ebx, dword [esp + 0xc]
push dword [ebx]
mov edi, dword [esp + 0xc]
push edi
call fcn.0082d6f0
mov edx, ebx
add esp, 0xc
mov ebx, dword [esp]
mov eax, dword [esi + 0x2c]
mov ecx, esi
inc eax
push dword [esi + 0x28]
push eax
push edi
push ebx
call fcn.0082e250
add esp, 0x10
mov ecx, esi
mov edx, ebp
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp 0x82ee10