joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa6b4fd
Capabilities:
Encrypt data using speck

Disassembly:
mov dword [ebp - 0x50], edx
cmp esp, 0x10a219fa
mov dword [ebp - 0x3c], ecx
ror ecx, cl
adc cl, 0xf4
mov dword [ebp - 0x28], 0
sub ecx, 0x7dd277ca
adc ecx, ebx
push ebp
sar edx, cl
cmc
mov ebp, esp
xor ax, bp
bswap edx
lea esp, [esp - 0x50]
push ebx
or ebx, 0x5a7e4194
xor ax, bx
xor ax, 0x317c
push esi
push edi
mov edi, dword [ebp + 8]
and esi, 0x41cc4e06
btc bx, si
stc
mov ecx, dword [edi + 0x38]
add eax, esp
mov eax, dword [edi + 0x10]
shld esi, eax, 0xf1
not si
add ebx, edi
mov edx, dword [edi + 0x3c]
rcl ebx, cl
clc
cmc
mov dword [ebp - 0x20], eax
cmc
mov eax, dword [edi + 0x40]
movzx ebx, dx
xor si, di
mov ebx, dword [edi + 0x34]
xchg esi, esi
neg si
sub esi, esp
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x44]
movzx esi, di
xadd si, si
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
bswap eax
mov ecx, dword [edi + 8]
sub ah, cl
btc eax, ebx
rcl al, cl
mov dword [ebp - 0x2c], edx
btr dx, 0x11
xor eax, edi
mov edx, 1
xor eax, eax
shl edx, cl
sar cl, cl
shl ecx, 0x4a
mov ecx, dword [edi + 4]
or ah, bl
sub ax, 0x41fe
xor ax, 0x1dab
mov eax, 1
cmp bx, bp
cmp bh, 0xfa
test ebp, eax
shl eax, cl
mov ecx, ecx
bswap ecx
mov ecx, dword [edi + 0x14]
jmp 0xae79b7
dec eax
test cx, 0x7e4a
cmp dl, 0x78
cmp edi, ecx
mov dword [ebp - 0x48], eax
mov ax, di
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
adc al, 0xb2
sub al, dl
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
rol ax, 0x32
movsx eax, ax
mov eax, dword [edi + 0x2c]
jmp 0xb9c227
mov dword [ebp - 0x34], ecx
dec ecx
setno ch
mov ecx, dword [edi + 0x24]
jmp 0xa6dd38
dec edx
jmp 0xa720d8
mov dword [ebp - 0x10], eax
btr eax, 0xe4
test ebp, 0x63d63817
rcr eax, cl
mov eax, dword [edi + 0x18]
test si, cx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x30]
test edi, 0x3552b12
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x1c]
clc
test dl, 0xba
mov dword [ebp - 0x14], ebx
test dx, 0x5b09
jmp 0xa67a02
Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x436156
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
xor eax, eax
push 4
push eax
push 0x1000ae3a
push eax
mov esi, ecx
push eax
call fcn.00495c51
add esp, 0x18
mov dword [esi + 0x34], eax
pop esi
pop ecx
ret
Function at 0x43cedf
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006ad14
call fcn.00495a5a
push ecx
push ebx
push esi
mov esi, ecx
push 4
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0043cd1b
mov dword [ebx], 0x100717d0
xor ebx, ebx
mov dword [esi + 0x28], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x100717e8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x2c], 1
call fcn.0043cfe6
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0xac]
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], 0x100717e0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43cfe6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006ad5f
call fcn.00495a5a
push ecx
push ebx
push esi
push edi
push 3
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43f72e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006b216
call fcn.00495a5a
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 3
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00435ac6
lea edi, [esi + 0x24]
push 3
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.00435ac6
push 0x100874c0
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [esi], bl
mov dword [esi + 4], 0x10084850
call fcn.004355f8
mov ecx, esi
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.0043f9ef
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x449d98
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006bf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x100720a0
mov dword [esi + 4], 0x10072090
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esp + 8], esi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x140]
mov dword [esp + 0x14], edi
call fcn.00447830
lea eax, [esi + 0x6ff8]
mov dword [esi + 0x6fe4], edi
push eax
mov dword [esi + 0x6ff4], edi
call fcn.00495602
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esi + 0x7020], edi
mov dword [esi + 0x6fec], edi
mov dword [esi + 0x6ff0], edi
mov dword [esi + 0x7010], eax
mov byte [esi + 0x6fe0], al
mov dword [esi], 0x10072078
mov dword [esi + 4], 0x10072068
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x44cec2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.0044c582
push 0x41
mov ecx, esi
call fcn.0044c582
push 0x59
mov ecx, esi
call fcn.0044c582
push 0x26
mov ecx, esi
call fcn.0044c582
push 0x53
mov ecx, esi
call fcn.0044c582
push 0x59
mov ecx, esi
call fcn.0044c582
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x44cf52
test cl, cl
jbe 0x44cf4e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x10087ef0]
xor eax, edi
dec ecx
jne 0x44cf38
xor edi, edi
jmp 0x44cf81
cmp bl, cl
jne 0x44cf59
inc edi
jmp 0x44cf64
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x10087ef0]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x44cf10
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.0044c5c2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0044c6c2
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x44d192
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x16c]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.0044cfc2
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x198], bl
je 0x44d20f
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x174]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
push ecx
call fcn.00495472
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x44d24c
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x170
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x44d221
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.0044d322
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x198], bl
je 0x44d30b
mov edi, dword [esi + 0x8cd8]
mov ecx, dword [eax + 0x194]
inc edi
cmp edi, ecx
jne 0x44d297
xor edi, edi
cmp dword [eax + 0x1ac], ebx
je 0x44d2e7
lea ebx, [eax + 0x138]
mov ecx, ebx
call fcn.00448e97
mov ebp, dword [ebx + 0x28]
mov ecx, 0xf
sub ecx, ebp
xor ebx, ebx
shr ecx, 3
add eax, ecx
adc edx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1ac]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [edi + edi*8]
shl ecx, 3
mov edx, dword [eax + 0x174]
sub ecx, edi
shl ecx, 9
lea eax, [edx + ecx + 0x8cf0]
push eax
call fcn.004954e2
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x45975c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1006cb07
call fcn.00495a5a
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], 0x10072a64
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x10072a5c
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 3
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00435ac6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45be46
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x1006d188
call fcn.00495a5a
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x100717e0
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x10072a7c
push 4
mov ebx, 0x10071594
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.0043cd1b
mov dword [esi + 0x3c], 0x10072bd8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.0043cd1b
mov dword [edi], 0x10072be0
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00458238
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0045ae3a
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00458238
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0045ae3a
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00458238
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0045ae3a
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00458238
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0045ae3a
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0045ae3a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x469977
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006e3e7
call fcn.00495a5a
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 4
mov dword [esi], 0x10072a6c
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 1
mov dword [esi + 0x20], 0x10072d40
lea ecx, [esi + 0x38]
mov byte [esi + 0x34], bl
push 3
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0043768f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x478c7a
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006f9e3
call fcn.00495a5a
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00435a60
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00435a60
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00435a60
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00435a60
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00435a60
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00435a60
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00435a60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x47b8de
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006ffbe
call fcn.00495a5a
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0xc]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.00435a60
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.0047b955
and dword [esi + 0x30], 0
and dword [esi + 0x34], 0
lea ecx, [esi + 0x2c]
lea eax, [edi + 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x10071944
call fcn.00459e0d
mov al, byte [edi + 0x38]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x38], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x481072
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x4810b9
mov ecx, ebx
call fcn.00481832
mov eax, dword [esp + 0x50]
push esi
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00482042
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call fcn.004820e2
jmp 0x4810d5
test esi, esi
jbe 0x4810d5
mov ecx, esi
mov esi, dword [esp + 0x50]
mov edx, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x4810d7
mov ecx, ebx
call fcn.00481832
lea eax, [esp + 0xc]
push 0x40
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00482042
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x481106
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00481832
lea ecx, [esp + 0xc]
push 0x40
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00482042
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x4811a2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xbc
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xd0]
cmp edi, 0x40
jbe 0x48122a
lea ecx, [esp + 0x60]
call fcn.00481832
mov eax, dword [esp + 0xcc]
push edi
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], 0
call fcn.00482042
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x64]
call fcn.004820e2
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dh, byte [esp + eax + 0xc]
mov cl, byte [esp + eax + 0xe]
mov dl, byte [esp + eax + 0xd]
add eax, 4
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esp + eax + 0xb]
shl edx, 8
or edx, ecx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], edx
jb 0x4811fc
jmp 0x481263
xor eax, eax
test edi, edi
jbe 0x481263
push ebp
mov ebp, dword [esp + 0xd0]
mov edx, eax
mov ecx, 3
shr edx, 2
lea esi, [esp + edx*4 + 0x24]
mov edx, eax
and edx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x481238
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x48126c
mov ecx, ebx
call fcn.00481832
lea eax, [esp + 0x20]
push 0x10
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.004821f2
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x4812a2
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00481832
lea ecx, [esp + 0x20]
push 0x10
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.004821f2
pop edi
pop esi
pop ebx
add esp, 0xbc
ret 8

Function at 0x481332
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 5
mov ebp, ecx
push eax
call fcn.00481fd2
lea edx, [esp + 0x50]
push 5
lea ecx, [ebp + 0x68]
push edx
call fcn.00481fd2
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x4813bc
mov esi, eax
lea eax, [esp + 0x50]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.00481862
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [ebp + 0x68]
call fcn.00481862
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x4813ae
dec esi
jne 0x48137a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x481832
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x1c], eax
ret
Function at 0x48270c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [ecx + 0xc]
push esi
push edi
mov eax, edx
movzx edi, byte [esp + 0xc]
mov esi, 0xff
and eax, esi
xor eax, edi
shr edx, 8
mov eax, dword [eax*4 + 0x1008ad00]
xor eax, edx
mov edx, dword [ecx + 0x14]
mov dword [ecx + 0xc], eax
and eax, esi
add eax, dword [ecx + 0x10]
mov edi, edx
and edi, esi
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 0x10], eax
shr eax, 0x18
xor eax, edi
pop edi
shr edx, 8
mov eax, dword [eax*4 + 0x1008ad00]
pop esi
xor eax, edx
mov dword [ecx + 0x14], eax
ret 4

Function at 0x48295c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
movzx eax, byte [ebp + 0xc]
push esi
push 0x40
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00495f62
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
add esp, 0xc
xor esi, esi
sub ecx, eax
lea eax, [ebp + esi - 0x40]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, 0x14
jb 0x482983
lea ecx, [ebp - 0xa8]
call fcn.00481832
and dword [ebp - 0x88], 0
lea eax, [ebp - 0x40]
push 0x40
push eax
lea ecx, [ebp - 0xa8]
call fcn.00482042
push dword [ebp + 0x10]
lea ecx, [ebp - 0xa8]
call fcn.004820e2
pop esi
leave
ret 0xc

Function at 0x482ee2
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test edx, edx
jbe 0x482f2d
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov edx, dword [esp + 0x14]
mov ebx, eax
xor ecx, ecx
mov cl, byte [esi]
and ebx, 0xff
xor ebx, ecx
mov ecx, 8
call fcn.00495c32
mov ecx, dword [ebx*8 + 0x1008cd00]
xor ecx, eax
mov ebx, dword [ebx*8 + 0x1008cd04]
mov eax, ecx
xor ebx, edx
inc esi
dec edi
mov edx, ebx
jne 0x482ef5
pop edi
pop ebx
pop esi
ret 8
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop esi
ret 8

Function at 0x4880e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
push esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x20], edi
call fcn.00488132
xor edx, edx
add esi, 0x70
mov eax, edx
mov ecx, 8
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec ecx
jne 0x488105
mov dword [esi], eax
inc edx
add esi, 4
cmp edx, 0x100
jb 0x4880fe
pop edi
pop esi
ret 4

Function at 0x48dd82
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0xc]
xor eax, eax
or ecx, edx
cmp ecx, 1
je 0x48ddce
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x10]
mov edx, ecx
and ecx, 1
shr edx, 1
xor ebx, ebx
mov bx, word [edi + edx*2]
neg ecx
sar ecx, 4
shr ebx, 4
and ecx, 0x7f
xor ebx, ecx
mov ecx, dword [esi + ebx*4]
add eax, ecx
mov ecx, edx
cmp ecx, 1
jne 0x48dda5
pop edi
pop esi
pop ebx
ret 0x10