joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaec2ac
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0xaec2cb
add edx, 3
sar edx, 2
test edx, edx
jle 0xaec3d9
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0xaec300
je 0xaec343
sub ecx, 0x2b
je 0xaec339
sub ecx, 4
je 0xaec33e
dec ecx
sub ecx, 0xa
jb 0xaec32b
jmp 0xaec346
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0xaec312
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0xaec31d
jmp 0xaec346
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0xaec346
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0xaec346
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0xaec346
mov byte [eax], 0x3e
jmp 0xaec346
mov byte [eax], 0x3f
jmp 0xaec346
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0xaec2e3
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0xaec397
cmp byte [esp + 7], 0xff
jne 0xaec397
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0xaec3ce
cmp dl, 0xff
je 0xaec3ce
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0xaec2da
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0xaed260
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00a13bc8
ret
Function at 0xaed440
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xaed58e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.00aed260
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00a15890
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0xaed56d
xor eax, eax
push ebp
push 0xaed566
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xaed54f
xor eax, eax
push ebp
push 0xaed548
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xaed531
xor eax, eax
push ebp
push 0xaed52a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00aed298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaed531
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaed54f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaed56d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.00aed31c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaed595
lea eax, [ebp - 4]
call fcn.00a153f0
ret

Function at 0xaef322
Capabilities:
Packed with generic packer

Disassembly:
add dword [esp + 0x14], 0xfe7e9f87
mov ebx, dword [esp + 0x18]
neg byte [esp + 8]
mov byte [esp + 8], 0x28
setno byte [esp + 8]
and al, 8
sub byte [edi], cl
xchg ecx, eax
inc esp
and al, 8
call fcn.01885b12
js 0xaef395
popal
salc
inc ebx
les eax, [ebp + 0x28]
nop
int 0xb6
retf 0x9025
das
add byte [0x375d10b6], dh
jecxz 0xaef334
nop
daa
les ebx, [edx + 0x6c]
sbb byte [edi - 0x60], ch
adc edx, dword [edx - 0x28]
push esp
dec di
sbb ebp, dword [edi + 0x17]
mov byte [edi + 0x508cb9c1], bl
pushal
shr dl, 0x1d
add ch, 0x1d
and byte [ebp - 2], ah
iretd
Function at 0xaf2ce8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, ebx
call fcn.00a1b128
mov eax, ebx
call fcn.00a15890
push eax
call sub.kernel32.dll_DeleteFileA
mov dl, 1
mov eax, dword [0xa2ac9c]
call fcn.00a14440
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xaf2d7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00a303d4
xor eax, eax
push ebp
push 0xaf2d5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00a30300
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xaf2d66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf2d83
mov eax, dword [ebp - 8]
call fcn.00a14470
ret

Function at 0xaf2d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 9], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xaf2e99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00a13bc8
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
cmp byte [ebp - 9], 0
je 0xaf2de0
mov word [ebp - 0x20], 1
jmp 0xaf2de6
mov word [ebp - 0x20], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00a1b3b4
mov eax, esi
test eax, eax
je 0xaf2dfb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0xaf2e25
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x6c], 0xb
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x64], 0xb
lea edx, [ebp - 0x70]
mov ecx, 1
mov eax, 0xaf2eb0
call fcn.00a1c204
jmp 0xaf2e3f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x74], 0xb
lea edx, [ebp - 0x78]
xor ecx, ecx
mov eax, 0xaf2ec0
call fcn.00a1c204
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
call fcn.00a15890
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00a15890
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0xaf2e73
mov ebx, dword [ebp - 0x60]
jmp 0xaf2e75
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf2ea0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00a15414
ret

Function at 0xaf2ec8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00a1b978
add esp, 0x104
pop ebx
ret

Function at 0xaf3148
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov bl, 1
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0xaf316a
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0xaf35d8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
xor edx, edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
lea eax, [ebp - 0x170]
mov edx, dword [0xa19294]
call fcn.00a16054
xor eax, eax
push ebp
push 0xaf3714
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00a1ff10
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00a15488
lea eax, [ebp - 0x174]
mov ecx, 0xaf372c
mov edx, dword [ebp - 4]
call fcn.00a15718
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.00a1b1d4
test eax, eax
jne 0xaf36d3
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x15c]
call fcn.00a15488
mov eax, dword [ebp - 8]
mov edx, 0xaf3738
call fcn.00a15828
je 0xaf36b9
mov eax, dword [ebp - 8]
mov edx, 0xaf3744
call fcn.00a15828
je 0xaf36b9
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00a15718
mov eax, dword [ebp - 0x160]
and eax, 0x10
cmp eax, 0x10
jne 0xaf36ab
mov eax, dword [ebp - 8]
call fcn.00af35d8
jmp 0xaf36b9
mov eax, dword [ebp - 8]
call fcn.00a15890
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x170]
call fcn.00a1b224
test eax, eax
je 0xaf3656
lea eax, [ebp - 0x170]
call fcn.00a1b248
mov eax, dword [ebp - 4]
call fcn.00a1b720
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf371b
lea eax, [ebp - 0x174]
call fcn.00a153f0
lea eax, [ebp - 0x170]
mov edx, dword [0xa19294]
call fcn.00a16124
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a15414
ret

Function at 0xaf60b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xaf6109
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00a15890
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0xaf60f1
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0xaf60f3
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf6110
lea eax, [ebp - 4]
call fcn.00a153f0
ret

Function at 0xaf6118
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xaf617c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.00a15890
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00a1b978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf6183
lea eax, [ebp - 4]
call fcn.00a153f0
ret
Function at 0xaf67fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xaf68f8
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.00af5f9c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00af41c0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00af74b0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00af4168
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00af7528
lea eax, [ebx + 0x50]
call fcn.00a153f0
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf68ff
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a15414
ret
Function at 0xaf6908
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xaf6a14
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.00af5f9c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0xaf69d7
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00af41c0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00af74b0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00af4168
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00af7528
jmp 0xaf69e9
xor edx, edx
mov eax, ebx
call fcn.00af74b0
xor edx, edx
mov eax, ebx
call fcn.00af7528
lea eax, [ebx + 0x50]
call fcn.00a153f0
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaf6a1b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00a15414
ret
Function at 0xafd1b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xafd321
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xafd2fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00a155d8
lea eax, [ebp - 0x118]
mov edx, 0xafd338
call fcn.00a156cc
mov eax, dword [ebp - 0x118]
call fcn.00a15890
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0xafd26e
lea eax, [ebp - 0x111]
call fcn.00a1b738
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00a154e0
jmp 0xafd275
mov eax, esi
call fcn.00a153f0
cmp bl, 0x61
jae 0xafd296
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00a20078
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00a15444
jmp 0xafd2b0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00a1ffe4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00a15444
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0xafd344
call fcn.00a1c204
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00a15444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xafd303
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0xb00d89
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0xb025ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0xb0269c
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0xb0262d
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.00b00e69
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.00b00a68
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0xb02658
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.00b00d89
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.00b00dcd
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0xb026b7
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00b00dcd
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0xb026ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0xb026db
push dword [ebp + 0x10]
push 0
push 0
call fcn.00b025ee
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00b00e69
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0xb026f3
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.00b00d89
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.00b00dcd
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.00b00dcd
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00b00e69
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0xb0277a
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0xb0275f
mov esp, ebp
pop ebp
ret
Function at 0xb03c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.00b0253c
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00b02553
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.00b00a7c
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00b025ee
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0xb03db4
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00b00a68
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.00b00a7c
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0xb03d6e
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.00b025ee
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.00b026ba
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0xb03d31
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.00b00a7c
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0xb03d01
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0xb03d97
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0xb03da5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0xb03d81
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0xb03c9d
mov esp, ebp
pop ebp
ret

Function at 0xb09598
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00b097f4
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00b097f4
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret
Function at 0xb0960c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0xb09640
mov edi, ecx
dec edi
test edi, edi
jl 0xb09651
inc edi
mov eax, esi
call fcn.00b095f0
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.00b09598
inc ebx
dec edi
jne 0xb09627
jmp 0xb09651
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.00b011fc
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0xb096e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00a15880
xor eax, eax
push ebp
push 0xb0975e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00b09658
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00b095f0
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00b09598
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0xb09728
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb09765
lea eax, [ebp - 4]
call fcn.00a153f0
ret