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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov al, byte [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov bl, byte [esp + 0x64]
mov esi, edx
mov byte [esp + 5], al
mov al, byte [esp + 0x5c]
mov byte [esp + 7], al
movzx eax, word [esp + 0x58]
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call fcn.007fb640
cmp byte [esi + 0x24], 0
mov edi, eax
mov bh, 0x20
jns 0x82d556
mov bh, 0x1d
test bl, bl
mov byte [esp + 4], bl
jne 0x82d57b
movsx eax, word [esp + 0x16]
mov ecx, dword [esp]
movzx edx, bh
push eax
push dword [esp + 0x24]
push edi
push dword [esp + 0x1c]
call fcn.0078dfd0
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, esi
push 0
push 0
call fcn.0082ccb0
add esp, 8
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], edi
jne 0x82d5a9
test eax, eax
jne 0x82d5a9
mov dword [esp + 8], 0
jmp 0x82d6da
mov byte [esp + 6], bh
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0xc]
movzx eax, byte [esp + 5]
mov edx, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x2c], eax
push eax
push esi
push 3
push 0
push 0
call fcn.0082db60
add esp, 0x14
mov ecx, edi
mov edx, esi
mov dword [esp + 0x28], eax
call fcn.0082dbe0
mov ebp, dword [edi + 0x2c]
mov ebx, eax
mov edx, 0x4d
lea eax, [ebp + 1]
mov dword [esp + 8], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp]
lea eax, [ebp + eax + 1]
mov dword [edi + 0x2c], eax
push dword [esp + 8]
push dword [esp + 0x24]
call fcn.007d10d0
add esp, 8
movzx eax, word [esi + 0x2a]
test ax, ax
jle 0x82d65d
or ebx, dword [esp + 0x28]
add ebp, 2
xor edi, edi
cmp ebx, 0xffffffff
je 0x82d631
cmp edi, 0x1f
ja 0x82d655
bt ebx, edi
jae 0x82d655
movsx edx, di
mov ecx, esi
call fcn.007f9520
mov ecx, dword [esp]
cwde
mov edx, esi
add eax, ebp
push eax
push edi
push dword [esp + 0x18]
call fcn.007fc460
add esp, 0xc
movzx eax, word [esi + 0x2a]
inc edi
movsx ecx, ax
cmp edi, ecx
jl 0x82d622
mov edi, dword [esp]
mov ecx, edi
call fcn.007fdcb0
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ebp, eax
mov ecx, ebx
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x10]
push esi
push 1
push 0
push 0x7e
call fcn.0082dcd0
add esp, 0x1c
mov ecx, edi
call fcn.007fdcb0
cmp ebp, eax
mov ebp, dword [esp + 0x1c]
jge 0x82d6c4
movsx eax, word [esp + 0x16]
movzx edx, byte [esp + 6]
mov ecx, dword [esp]
push eax
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.0078dfd0
add esp, 0x10
mov ebp, 0xffffffff
mov ecx, ebx
mov edx, esi
push 0
push 0
push 0
push dword [esp + 0x14]
call fcn.0082dd30
add esp, 0x10
cmp dword [esi + 0xc], 0
jne 0x82d916
mov edi, dword [esp + 0xc]
mov edx, esi
mov dword [esp + 0x1c], ebp
mov ecx, edi
push ebp
push 0
push dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.0082e1a0
add esp, 0x10
xor eax, eax
cmp byte [esp + 7], 0
mov ecx, dword [esp]
mov edx, 0x7a
setne al
push eax
push ebx
call fcn.007d10d0
add esp, 8
cmp byte [edi + 0x12], 0
mov bl, byte [esp + 4]
je 0x82d8c5
mov eax, 0x798f10
mov edx, 3
movzx ecx, byte [0xbba453]
sub edx, eax
mov eax, edx
xor eax, 0x798f10
sete al
xor al, 5
add al, 0x24
and al, 7
movzx eax, al
bt ecx, eax
jb 0x82d8b2
mov al, byte [0xbba453]
mov ecx, edx
mov ah, 1
xor ecx, 0x798f10
sete cl
xor cl, 5
add cl, 0x24
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba453], ah
jne 0x82d762
mov edx, 0x798f10
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, 0x798f10
sete dl
xor dl, 5
add dl, 0x24
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x82d7db
mov eax, ecx
movzx edx, byte [0xbba453]
xor eax, 0x798f10
sete al
xor al, 5
add al, 0x24
and al, 7
movzx eax, al
bt edx, eax
jae 0x82d7b7
jmp 0x82d8b2
xor ecx, 0x798f10
movzx ecx, byte [0xbba453]
sete al
xor al, 5
add al, 0x24
and al, 7
movzx eax, al
bt ecx, eax
jb 0x82d887
mov eax, 0x798f10
mov edx, 3
xor ecx, ecx
mov bl, byte [esp + 4]
sub edx, eax
mov eax, dword [0xbba440]
xor edx, 0x798f10
sete cl
xor ecx, 0x5bff702d
add ecx, 0x1024
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbba440], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbba444]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba444], eax
or edi, edx
not eax
mov edx, dword [0xbba448]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba448], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbba44c], edx
or byte [0xbba453], al
mov eax, 0x798f10
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, 0x798f10
sete cl
xor cl, 5
add cl, 0x24
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba453], al
push 0xbba440
push dword [esi]
call fcn.00783700
add esp, 8
test eax, eax
jne 0x82d8d4
mov ecx, dword [esp]
mov edx, esi
push 0xfffffffffffffffa
call fcn.007f7b70
add esp, 4
test bl, bl
je 0x82d8e5
mov ecx, dword [esp]
mov edx, 4
call fcn.0078e010
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x82d904
cmp eax, dword [esp + 0x10]
je 0x82d904
mov ecx, dword [esp]
mov edx, 0x7a
push eax
call fcn.007f9600
add esp, 4
mov ecx, dword [esp]
xor edx, edx
cmp bl, 2
sete dl
add edx, edx
call fcn.0078e010
mov ebp, dword [esp + 0xc]
mov edx, esi
mov ecx, ebp
push 0
push 0
mov edi, dword [esp + 0x10]
push edi
push 0
call fcn.0082e2b0
add esp, 0x10
mov ebx, dword [esp + 0x24]
movzx eax, byte [esp + 5]
mov edx, dword [esp + 0x18]
mov ecx, ebp
push ebx
push eax
push edi
push esi
push 2
push 0
push 0x7e
call fcn.0082dcd0
add esp, 0x1c
mov ecx, dword [esp]
mov edx, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007fbd70