Function at 0x5bd0c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6971d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x80]
movzx eax, byte [esi + 0x122]
push eax
push str.gcm_process
push esi
lea ecx, [esp + 0x54]
call fcn.004b1880
cmp dword [esp + 0x78], 0
mov dword [esp + 0x5c], 0
je 0x5bd158
cmp dword [esp + 0x74], 0
jne 0x5bd158
mov edx, dword [esi]
push str.NULL_input.
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004b18c0
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x20
mov ebp, dword [esp + 0x7c]
mov ecx, ebp
call fcn.00544a30
mov ecx, dword [esp + 0x78]
mov edi, eax
lea eax, [edi + ecx]
mov dword [esp + 0x34], eax
add eax, 0x20
push eax
mov ecx, ebp
call fcn.0046c5f0
test al, al
jne 0x5bd188
mov edx, dword [esi]
push str.Unable_to_allocate_GCM_output_buffer.
jmp 0x5bd128
cmp byte [esp + 0x64], 0
push edi
je 0x5bd1a7
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov ecx, ebp
call fcn.00467dd0
mov edi, eax
mov dword [esp + 0x18], eax
jmp 0x5bd1ba
mov ecx, ebp
call fcn.00467dd0
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ebp, dword [esp + 0x6c]
mov eax, dword [ebp + 0x530]
cmp eax, 0x10
mov cl, byte [0x7950a8]
mov byte [esp + 0x74], cl
jg 0x5bd12f
xor esi, esi
cmp eax, esi
jl 0x5bd12f
cmp dword [ebp + 0x52c], 1
jne 0x5bd25a
cmp eax, esi
je 0x5bd212
push esi
cdq
push 8
push edx
push eax
call fcn.00630fc0
add dword [ebp + 0x538], eax
lea eax, [ebp + 0x4e8]
adc dword [ebp + 0x53c], edx
mov edx, ebp
call fcn.005bac50
mov ecx, 0xfffffb08
lea eax, [ebp + 0x507]
sub ecx, ebp
add byte [eax], 1
jne 0x5bd22f
sub eax, 1
lea edx, [ecx + eax]
cmp edx, 0xc
jge 0x5bd21f
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
lea ecx, [ebp + 0x518]
push ecx
lea edx, [ebp + 0x4f8]
push edx
mov ecx, ebx
call eax
mov cl, byte [esp + 0x74]
mov dword [ebp + 0x530], esi
mov dword [ebp + 0x52c], 2
cmp dword [ebp + 0x52c], 2
jne 0x5bd12f
cmp dword [ebp + 0x530], esi
jne 0x5bda60
mov eax, dword [esp + 0x78]
xor esi, esi
cmp byte [esp + 0x64], 0
je 0x5bd675
test cl, cl
je 0x5bd595
and eax, 0xfffffff0
jbe 0x5bda60
mov esi, dword [esp + 0x14]
add eax, 0xffffffff
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x2c], ecx
shr eax, 4
add eax, 1
mov ecx, 0xfffffb08
sub ecx, ebp
add esi, 6
mov dword [esp + 0x28], eax
shl eax, 4
mov dword [esp + 0x80], ecx
lea ecx, [edi + 5]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
lea ecx, [ebp + 0x51e]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 2
movzx eax, byte [esi + 1]
cdq
shld edx, eax, 8
shl eax, 8
mov edi, eax
movzx eax, byte [esi]
mov ebx, edx
cdq
or edi, eax
or ebx, edx
shld ebx, edi, 8
movzx eax, byte [esi - 1]
shl edi, 8
cdq
or edi, eax
or ebx, edx
shld ebx, edi, 8
movzx eax, byte [esi - 2]
shl edi, 8
cdq
or edi, eax
movzx eax, byte [esi - 3]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [esi - 4]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [esi - 5]
or ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [esi - 6]
or ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 1]
or ebx, edx
cdq
shld edx, eax, 8
mov dword [esp + 0x38], edi
shl eax, 8
mov edi, eax
movzx eax, byte [ecx]
mov dword [esp + 0x3c], ebx
mov ebx, edx
cdq
or edi, eax
movzx eax, byte [ecx - 1]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx - 2]
or ebx, edx
shld ebx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ecx - 3]
or ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [ecx - 4]
or ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [ecx - 5]
or ebx, edx
cdq
shld ebx, edi, 8
or ebx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ecx - 6]
mov edx, edi
mov edi, ebx
shld edi, edx, 8
shl edx, 8
mov ebx, edx
cdq
or ebx, eax
xor ebx, dword [esp + 0x38]
or edi, edx
xor edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
mov eax, edi
shr eax, 0x18
mov byte [edx + 2], al
mov edx, dword [esp + 0x2c]
mov eax, edi
shr eax, 0x10
mov byte [edx + esi], al
mov esi, dword [esp + 0x74]
mov eax, edi
shr eax, 8
mov byte [esi], al
mov eax, ebx
mov edx, edi
mov byte [esi - 1], dl
shrd eax, edx, 0x18
mov byte [esi - 2], al
shr edx, 0x18
mov eax, ebx
mov byte [esi - 5], bl
mov edx, edi
shrd eax, edx, 0x10
mov byte [esi - 3], al
shr edx, 0x10
mov eax, ebx
mov edx, edi
shrd eax, edx, 8
mov byte [esi - 4], al
movzx eax, byte [ecx - 0x2f]
shr edx, 8
cdq
shld edx, eax, 8
shl eax, 8
mov esi, eax
movzx eax, byte [ecx - 0x30]
mov dword [esp + 0x40], ebx
mov ebx, edx
cdq
or esi, eax
movzx eax, byte [ecx - 0x31]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx - 0x32]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx - 0x33]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx - 0x34]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx - 0x35]
or ebx, edx
shld ebx, esi, 8
cdq
or ebx, edx
shl esi, 8
or esi, eax
mov eax, esi
mov esi, ebx
shld esi, eax, 8
shl eax, 8
mov ebx, eax
movzx eax, byte [ecx - 0x36]
cdq
or esi, edx
xor esi, edi
or ebx, eax
xor ebx, dword [esp + 0x40]
mov edx, esi
shr edx, 0x18
mov byte [ecx - 0x2f], dl
mov eax, esi
shr eax, 0x10
mov byte [ecx - 0x30], al
mov edx, esi
shr edx, 8
add dword [esp + 0x74], 8
mov byte [ecx - 0x31], dl
mov eax, esi
mov byte [ecx - 0x32], al
mov edx, ebx
shrd edx, eax, 0x18
mov byte [ecx - 0x33], dl
shr eax, 0x18
mov eax, esi
mov edx, ebx
shrd edx, eax, 0x10
mov byte [ecx - 0x34], dl
mov edx, ebx
shrd edx, esi, 8
shr esi, 8
mov esi, dword [esp + 0x20]
mov byte [ecx - 0x35], dl
mov byte [ecx - 0x36], bl
add esi, 8
mov edi, 1
shr eax, 0x10
add ecx, 8
sub dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
jne 0x5bd2df
add dword [ebp + 0x540], 0x80
lea eax, [ebp + 0x4e8]
mov edx, ebp
adc dword [ebp + 0x544], 0
call fcn.005bac50
mov ecx, dword [esp + 0x80]
lea eax, [ebp + 0x507]
add byte [eax], 1
jne 0x5bd563
sub eax, edi
lea edx, [eax + ecx]
cmp edx, 0xc
jge 0x5bd554
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [ebp + 0x518]
push eax
lea eax, [ebp + 0x4f8]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
sub dword [esp + 0x28], edi
mov ecx, dword [esp + 0x74]
jne 0x5bd2c9
mov esi, dword [esp + 0x6c]
jmp 0x5bda5c
and eax, 0xfffffff0
mov dword [esp + 0x6c], eax
jbe 0x5bda60
mov edx, dword [esp + 0x14]
sub edx, edi
mov eax, 0xfffffb08
sub eax, ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], eax
jmp 0x5bd5c4
mov edx, dword [esp + 0x74]
lea ecx, [ebp + 0x4e8]
lea eax, [esi + edi]
mov dword [esp + 0x28], 2
jmp 0x5bd5e4
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + eax]
mov edx, dword [edx + eax + 4]
xor edx, dword [ecx + 0x34]
xor ebx, dword [ecx + 0x30]
mov dword [eax + 4], edx
mov dword [eax], ebx
mov edx, ebx
xor dword [ecx], edx
mov edx, dword [eax + 4]
xor dword [ecx + 4], edx
add eax, 8
add ecx, 8
sub dword [esp + 0x28], 1
jne 0x5bd5e0
add dword [ebp + 0x540], 0x80
lea eax, [ebp + 0x4e8]
mov edx, ebp
adc dword [ebp + 0x544], 0
call fcn.005bac50
mov ecx, dword [esp + 0x80]
lea eax, [ebp + 0x507]
add byte [eax], 1
jne 0x5bd648
sub eax, 1
lea edx, [eax + ecx]
cmp edx, 0xc
jge 0x5bd638
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [ebp + 0x518]
push eax
lea eax, [ebp + 0x4f8]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
add esi, 0x10
cmp esi, dword [esp + 0x6c]
jb 0x5bd5c0
jmp 0x5bda60
test cl, cl
je 0x5bd97f
and eax, 0xfffffff0
jbe 0x5bda60
mov esi, dword [esp + 0x14]
mov ecx, esi
sub ecx, edi
add eax, 0xffffffff
shr eax, 4
mov dword [esp + 0x74], ecx
add eax, 1
mov ecx, 0xfffffb08
sub ecx, ebp
add edi, 6
add esi, 5
mov dword [esp + 0x20], eax
shl eax, 4
mov dword [esp + 0x80], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], esi
lea ecx, [ebp + 0x4ee]
mov dword [esp + 0x24], 2
lea esp, [esp]
movzx eax, byte [edi + 1]
cdq
shld edx, eax, 8
shl eax, 8
mov esi, eax
movzx eax, byte [edi]
mov ebx, edx
cdq
or esi, eax
or ebx, edx
shld ebx, esi, 8
movzx eax, byte [edi - 1]
shl esi, 8
cdq
or esi, eax
or ebx, edx
shld ebx, esi, 8
movzx eax, byte [edi - 2]
shl esi, 8
cdq
or esi, eax
movzx eax, byte [edi - 3]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [edi - 4]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [edi - 5]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [edi - 6]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
or ebx, edx
cdq
shld edx, eax, 8
mov dword [esp + 0x2c], esi
shl eax, 8
mov esi, eax
movzx eax, byte [ecx]
mov dword [esp + 0x30], ebx
mov ebx, edx
cdq
or esi, eax
movzx eax, byte [ecx - 1]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx - 2]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx - 3]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx - 4]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
or ebx, edx
movzx eax, byte [ecx - 5]
shld ebx, esi, 8
cdq
or ebx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ecx - 6]
mov edx, esi
mov esi, ebx
shld esi, edx, 8
shl edx, 8
mov ebx, edx
cdq
or ebx, eax
xor ebx, dword [esp + 0x2c]
or esi, edx
xor esi, dword [esp + 0x30]
mov byte [ecx - 6], bl
mov eax, esi
shr eax, 0x18
mov byte [ecx + 1], al
mov edx, esi
mov eax, esi
shr eax, 8
mov byte [ecx - 1], al
shr edx, 0x10
mov byte [ecx], dl
mov edx, esi
mov byte [ecx - 2], dl
mov eax, ebx
shrd eax, edx, 0x18
mov byte [ecx - 3], al
shr edx, 0x18
mov edx, esi
mov eax, ebx
shrd eax, edx, 0x10
mov byte [ecx - 4], al
mov eax, ebx
shrd eax, esi, 8
mov byte [ecx - 5], al
movzx eax, byte [ecx + 0x31]
shr edx, 0x10
cdq
shld edx, eax, 8
shr esi, 8
shl eax, 8
mov esi, eax
movzx eax, byte [ecx + 0x30]
mov ebx, edx
cdq
or esi, eax
movzx eax, byte [ecx + 0x2f]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 0x2e]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 0x2d]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x2c]
or ebx, edx
shld ebx, esi, 8
cdq
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x2b]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or ebx, edx
or esi, eax
movzx eax, byte [ecx + 0x2a]
shld ebx, esi, 8
cdq
or ebx, edx
mov edx, dword [esp + 0x2c]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x30]
xor edx, esi
mov esi, dword [esp + 0x28]
xor eax, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x38], edx
mov edx, eax
shr edx, 0x18
mov byte [esi + 2], dl
mov edx, eax
shr edx, 0x10
mov byte [edi + ebx], dl
mov edx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
mov byte [esi - 1], dl
mov edx, dword [esp + 0x38]
mov ebx, eax
shrd edx, ebx, 0x18
shr ebx, 0x18
mov byte [esi - 2], dl
mov edx, dword [esp + 0x38]
mov ebx, eax
shrd edx, ebx, 0x10
mov byte [esi - 3], dl
mov edx, dword [esp + 0x38]
shr ebx, 0x10
mov ebx, edx
shrd ebx, eax, 8
mov byte [esi - 4], bl
mov byte [esi - 5], dl
add esi, 8
shr eax, 8
add edi, 8
add ecx, 8
sub dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
jne 0x5bd6d0
add dword [ebp + 0x540], 0x80
lea eax, [ebp + 0x4e8]
mov edx, ebp
adc dword [ebp + 0x544], 0
call fcn.005bac50
mov ecx, dword [esp + 0x80]
lea eax, [ebp + 0x507]
mov edi, edi
add byte [eax], 1
jne 0x5bd950
sub eax, 1
lea edx, [eax + ecx]
cmp edx, 0xc
jge 0x5bd940
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [ebp + 0x518]
push eax
lea eax, [ebp + 0x4f8]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
sub dword [esp + 0x20], 1
jne 0x5bd6ba
mov esi, dword [esp + 0x6c]
jmp 0x5bda5c
and eax, 0xfffffff0
mov dword [esp + 0x6c], eax
jbe 0x5bda60
mov edx, dword [esp + 0x14]
sub edx, edi
mov eax, 0xfffffb08
sub eax, ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], eax
jmp 0x5bd9b8
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
lea ecx, [esi + edi]
lea eax, [ebp + 0x4e8]
mov dword [esp + 0x28], 2
lea esp, [esp]
mov edi, dword [ecx]
xor dword [eax], edi
mov edi, dword [ecx + 4]
xor dword [eax + 4], edi
mov edi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
xor edi, dword [ecx]
xor ebx, dword [ecx + 4]
mov dword [ecx + edx], edi
mov dword [ecx + edx + 4], ebx
add eax, 8
add ecx, 8
sub dword [esp + 0x28], 1
jne 0x5bd9d0
add dword [ebp + 0x540], 0x80
lea eax, [ebp + 0x4e8]
mov edx, ebp
adc dword [ebp + 0x544], 0
call fcn.005bac50
mov ecx, dword [esp + 0x80]
lea eax, [ebp + 0x507]
add byte [eax], 1
jne 0x5bda34
sub eax, 1
lea edx, [eax + ecx]
cmp edx, 0xc
jge 0x5bda24
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [ebp + 0x518]
push eax
lea eax, [ebp + 0x4f8]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
add esi, 0x10
cmp esi, dword [esp + 0x6c]
jb 0x5bd9b0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
cmp esi, eax
jae 0x5bdb46
mov edx, dword [esp + 0x14]
sub edx, edi
lea ecx, [esi + edi]
sub eax, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov esi, eax
cmp dword [ebp + 0x530], 0x10
jne 0x5bdaea
add dword [ebp + 0x540], 0x80
lea eax, [ebp + 0x4e8]
mov edx, ebp
adc dword [ebp + 0x544], 0
call fcn.005bac50
mov ecx, 0xfffffb08
lea eax, [ebp + 0x507]
sub ecx, ebp
add byte [eax], 1
jne 0x5bdac5
sub eax, 1
lea edx, [eax + ecx]
cmp edx, 0xc
jge 0x5bdab5
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
lea ecx, [ebp + 0x518]
push ecx
lea edx, [ebp + 0x4f8]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x530], 0
cmp byte [esp + 0x64], 0
mov edx, dword [ebp + 0x530]
je 0x5bdb09
mov al, byte [edx + ebp + 0x518]
mov edx, dword [esp + 0x74]
xor al, byte [edx + ecx]
mov byte [ecx], al
jmp 0x5bdb1b
mov al, byte [ecx]
mov dl, byte [edx + ebp + 0x518]
mov edi, dword [esp + 0x74]
xor dl, al
mov byte [edi + ecx], dl
mov edx, dword [ebp + 0x530]
xor byte [edx + ebp + 0x4e8], al
add dword [ebp + 0x530], 1
lea edx, [edx + ebp + 0x4e8]
add ecx, 1
sub esi, 1
mov dword [esp + 0x78], ecx
jne 0x5bda81
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
push eax
call fcn.00467ff0
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004b18c0
mov al, 1
jmp 0x5bd142