joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6173e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x6174c9
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x617428
cmp dword [esi + 0x40], ebx
jae 0x617428
push ecx
call fcn.0078f0d5
add esp, 4
mov dword [esi + 0x3c], 0
xor eax, eax
test eax, eax
jne 0x61743e
lea eax, [ebx + ebx]
push eax
call fcn.0078f0da
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
add esp, 0xc
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x6174c6
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x7cebf0]
xor eax, ecx
mov ecx, edi
mov dword [esi + 0x30], eax
xor ecx, 1
movzx eax, al
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
mov ebx, dword [ebp - 8]
shr edx, 8
xor edx, dword [eax*4 + 0x7cebf0]
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 0xc], edx
cmp edx, ebx
jb 0x617452
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x617509
mov edx, dword [esi + 0x24]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x6174e4
mov dword [esi + 0x14], 0x30000
jmp 0x61753c
push ebx
add ecx, edx
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x617535
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x14], 0x1000000
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
Function at 0x617770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x84]
test edx, edx
je 0x6177e9
mov ecx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp ecx, esi
jae 0x617838
sub esi, ecx
lea eax, [ecx + edx]
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
push esi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x78]
mov edx, ebx
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.00616ff0
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x617831
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x617838
mov esi, dword [ebp - 8]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.00616ff0
add esp, 4
mov dword [edi + 0x78], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x14], 0x1000000
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
Function at 0x619420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
mov esi, ecx
call fcn.0061d990
test al, al
jne 0x619439
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push dword [ebp + 8]
lea ecx, [esi + 0x70]
mov dword [esi + 0x6c], 1
call fcn.0042ed70
mov dword [ebp - 0x64], 0x2f
xor eax, eax
mov dword [ebp - 0x60], 0xd600fb
mov dword [ebp - 0x5c], 0xcf00d4
mov dword [ebp - 0x58], 0xd300d9
mov dword [ebp - 0x54], 0x9200ca
mov dword [ebp - 0x50], 0xb80094
mov dword [ebp - 0x4c], 0xa600b2
mov dword [ebp - 0x48], 0xe500fe
mov dword [ebp - 0x44], 0xb700a7
mov dword [ebp - 0x40], 0xa500b8
mov dword [ebp - 0x3c], 0xa800a3
mov dword [ebp - 0x38], 0xb900ad
mov dword [ebp - 0x34], 0xa000a7
mov dword [ebp - 0x30], 0xfe00be
mov dword [ebp - 0x2c], 0xfe00aa
mov dword [ebp - 0x28], 0xa200a3
mov dword [ebp - 0x24], 0xfa00a1
mov dword [ebp - 0x20], 0xb600be
mov dword [ebp - 0x1c], 0xb600a8
mov dword [ebp - 0x18], 0xa800f1
mov dword [ebp - 0x14], 0xb300ac
mov dword [ebp - 0x10], 0x8f0085
mov dword [ebp - 0xc], 0x8c0081
mov dword [ebp - 8], 0x800080
mov dword [ebp - 4], 0xe70082
nop
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x60], cx
inc eax
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jb 0x619500
xor eax, eax
mov word [ebp + ecx*2 - 0x60], ax
lea ecx, [ebp - 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x619520
sub ecx, edx
lea eax, [ebp - 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xc8]
call fcn.004044f0
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x619560
add esi, 0x28
push esi
push edi
mov ecx, esi
call fcn.00475cd0
push edi
push dword [ebp + 0xc]
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x61cb40
Capabilities:
Encode data using xor
Read http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x82f184]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x14], 0
push ebx
test eax, eax
je 0x61cc89
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x80
push ecx
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x2a
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x61cc5e
mov dword [esp + 8], 5
xor ecx, ecx
mov dword [esp + 0xc], 0xc000da
mov dword [esp + 0x10], 0xde00ce
mov dword [esp + 0x14], 0xbd00cf
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [esp + ecx*2 + 0xc], ax
inc ecx
mov eax, dword [esp + 8]
cmp ecx, eax
jb 0x61cbc0
xor ecx, ecx
mov dword [esp + 0x30], 7
mov word [esp + eax*2 + 0xc], cx
xor eax, eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x38]
mov word [esp + 0x1c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x61cbf5
sub ecx, edx
lea eax, [esp + 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004044f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x61cc22
sub ecx, edx
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
sar ecx, 1
cmp dword [esp + 0x30], 8
cmovae eax, dword [esp + 0x1c]
cmp edx, ecx
jne 0x61cc5e
push edx
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x61cc5e
mov bl, 1
jmp 0x61cc60
xor bl, bl
test byte [esp + 0x18], 1
je 0x61cc70
lea ecx, [esp + 0x1c]
call fcn.00404490
test bl, bl
je 0x61cc89
mov al, 1
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
xor al, al
pop ebx
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
Function at 0x61cd40
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b21a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x7cd378
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], 0
jb 0x61cdb7
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x34]
push 0xffff
push dword [eax + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x61ce72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x61ce72
mov eax, dword [ebp - 0x30]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0078f0da
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [edi + 0x14], 8
jb 0x61ce12
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x34]
push edi
push 0xffff
push dword [eax + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x61ce3e
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00404070
jmp 0x61cea5
mov edi, dword [ebp - 0x38]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov word [edi + eax*2], cx
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x61ce50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004044f0
push edi
call fcn.0078f0d5
add esp, 4
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x628a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b35b9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
jb 0x628aa8
mov eax, dword [edi]
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x20
push eax
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x628c29
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
shr eax, 1
push ecx
push eax
call fcn.0062ea90
cmp dword [edi + 0x14], 8
jb 0x628af7
mov edi, dword [edi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
push 0
push 0x20
push edi
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x628b1f
push eax
push str.Cannot_get_multi_string_value:_RegGetValue_failed.
jmp 0x628c2f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
shr eax, 1
push ecx
push eax
call fcn.0062ea90
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x44], 1
cmp word [edi], 0
je 0x628c02
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x628b70
sub esi, ecx
mov dword [ebp - 0x2c], 0
sar esi, 1
lea ecx, [ebp - 0x3c]
push esi
xor eax, eax
mov dword [ebp - 0x28], 7
push edi
mov word [ebp - 0x3c], ax
call fcn.004044f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x628bd7
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
add dword [eax + 4], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], cx
jmp 0x628be3
lea edx, [ebp - 0x3c]
push edx
push ecx
mov ecx, eax
call fcn.004081e0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00404490
lea edi, [edi + esi*2]
add edi, 2
cmp word [edi], 0
jne 0x628b64
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.0040f0a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
push eax
push str.Cannot_get_size_of_multi_string_value:_RegGetValue_failed.
lea ecx, [ebp - 0x34]
call fcn.0041fec0
push 0x8248a0
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x629220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
mov edx, 0xa
mov dword [esp + 0x24], 0xc000eb
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 0xcf00c9
xor eax, eax
mov dword [esp + 0x30], 0xd000d9
mov dword [esp + 0x34], 0xcf00ff
mov dword [esp + 0x38], 0xb200b0
mov dword [esp + 0x3c], 0xc2
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [esp + eax*2 + 0x28], cx
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x629270
xor eax, eax
lea ecx, [esp + 0x28]
mov word [esp + edx*2 + 0x28], ax
lea edx, [ecx + 2]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6292a3
sub ecx, edx
lea eax, [esp + 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004044f0
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00405430
lea ecx, [esp + 0xc]
mov bl, al
call fcn.00404490
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x638c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b4f1f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x6c], 0
call fcn.00418540
add esp, 4
test al, al
je 0x638e56
mov dword [ebp - 0x68], 0x1b
xor eax, eax
mov dword [ebp - 0x64], 0x8300db
mov dword [ebp - 0x60], 0xcc00e6
mov dword [ebp - 0x5c], 0xd300d5
mov dword [ebp - 0x58], 0xd000da
mov dword [ebp - 0x54], 0xb200b7
mov dword [ebp - 0x50], 0xb0009e
mov dword [ebp - 0x4c], 0xb600bd
mov dword [ebp - 0x48], 0xa200b2
mov dword [ebp - 0x44], 0xfa00a5
mov dword [ebp - 0x40], 0x9700f8
mov dword [ebp - 0x3c], 0xbf00a8
mov dword [ebp - 0x38], 0xb900a7
mov dword [ebp - 0x34], 0xa300b5
mov dword [ebp - 0x30], 0xd300a1
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x64], cx
inc eax
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
jb 0x638d33
xor eax, eax
mov word [ebp + ecx*2 - 0x64], ax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x18], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x638d61
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00403720
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00404120
lea ecx, [ebp - 0xa8]
call fcn.00404220
lea ecx, [ebp - 0xc0]
call fcn.00404490
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, 0xd
mov dword [ebp - 0x2c], eax
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push edx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x638e2e
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.00403460
mov dword [ebp - 0x2c], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x638e12
mov eax, dword [eax]
cmp ecx, 3
jne 0x638e2e
push ecx
push 0x7da198
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x638e2e
mov bl, 1
jmp 0x638e30
xor bl, bl
test byte [ebp - 0x2c], 2
je 0x638e41
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0x84]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4
Function at 0x63b1f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b5168
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, dword [ebp + 0xc]
sub esp, 8
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
call fcn.0063be90
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x12c], eax
jb 0x63b265
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
mov edi, dword [esi + 0x10]
jb 0x63b270
mov esi, dword [esi]
cmp edi, 0x40
jle 0x63b2a9
xor edx, edx
lea ecx, [ebp - 0x128]
call fcn.00711e20
push edi
mov edx, esi
lea ecx, [ebp - 0x128]
call fcn.00714400
add esp, 4
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x128]
call fcn.007144c0
mov edi, 0x20
lea esi, [ebp - 0x30]
push 0x40
lea eax, [ebp - 0xc0]
push 0x36
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [ebp - 0x80]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
xor eax, eax
test edi, edi
jle 0x63b2ec
lea ecx, [ebp - 0xc0]
sub esi, ecx
lea edx, [ebp - 0xc0]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
xor byte [edx + 0x40], cl
cmp eax, edi
jl 0x63b2d7
xor edx, edx
lea ecx, [ebp - 0x128]
call fcn.00711e20
push 0x40
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x128]
call fcn.00714400
push dword [ebp - 0x12c]
mov edx, ebx
lea ecx, [ebp - 0x128]
call fcn.00714400
mov esi, dword [ebp - 0x40]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x128]
call fcn.007144c0
mov edx, esi
lea ecx, [ebp - 0x128]
call fcn.00711e20
push 0x40
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x128]
call fcn.00714400
xor eax, eax
lea edx, [ebp - 0x30]
test esi, esi
lea ecx, [ebp - 0x128]
sete al
lea eax, [eax*4 + 0x1c]
push eax
call fcn.00714400
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x128]
mov edx, esi
call fcn.007144c0
mov ecx, dword [ebp - 0x38]
mov edx, esi
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.0041d8a0
add esp, 0x14
lea ecx, [ebp - 0x3c]
call fcn.0040f050
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x63b8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b5270
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi], 0
mov esi, dword [ebp + 8]
je 0x63ba65
mov edx, 0xa
mov dword [ebp - 0x4c], 0xcfd5cbc8
mov dword [ebp - 0x50], edx
xor eax, eax
mov dword [ebp - 0x48], 0xd6caded9
mov dword [ebp - 0x44], 0xc2afaf
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x4c], cl
inc eax
mov edx, dword [ebp - 0x50]
cmp eax, edx
jb 0x63b948
lea eax, [ebp - 0x4c]
mov byte [ebp + edx - 0x4c], 0
push eax
mov ecx, esi
call fcn.00771500
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x63ba65
xor eax, eax
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0xc8d9d8d5
mov byte [ebp - 0x14], 0xbc
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ebx, eax
mov ecx, ebx
call fcn.00772ad0
test al, al
je 0x63ba65
lea eax, [ebp - 0x7c]
mov ecx, ebx
push eax
call fcn.00773600
push eax
lea edx, [edi + 0xc]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0063bf40
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00407a10
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0063b1f0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00574ad0
lea ecx, [ebp - 0x7c]
call fcn.00407a10
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.00770c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x5c], 0xdecacccb
mov dword [ebp - 0x58], 0xded3e2ce
mov dword [ebp - 0x54], 0xc1a3
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.007712b0
lea ecx, [ebp - 0x40]
call fcn.00407a10
lea ecx, [ebp - 0x28]
call fcn.00407a10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4
Function at 0x63d450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b5587
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push 2
push esi
mov word [edi], 1
mov dword [ebp - 0x2c], esi
call sub.MSVCP140.dll__Mtx_init_in_situ
add esi, 0x30
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0076d2e3
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x48]
push 2
push eax
call sub.MSVCP140.dll__Mtx_init_in_situ
lea eax, [edi + 0x78]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
add esp, 0x18
lea esi, [edi + 0xa0]
mov dword [esi + 0x24], 0
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x63d521
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
push 8
mov byte [ebp - 4], 6
add edi, 0xc8
call fcn.0076d2e3
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [esi], eax
mov dword [esi + 4], 0x63d600
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.0042fc60
mov dword [ebp - 0x24], 0x7da3a4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], esi
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0042fd30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x63d590
push 8
push eax
call fcn.0076d313
add esp, 8
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
push esi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
test eax, eax
je 0x63d5b0
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
add esp, 4
push esi
call sub.MSVCP140.dll__Mtx_destroy
push edi
call sub.MSVCP140.dll__Cnd_destroy
add esp, 8
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x63d5de
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 0x28