joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f580
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ed78
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x28
cmp eax, 0xffffffff
je 0x41f615
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f600
mov esi, dword [esp + 0x40]
test esi, esi
je 0x41f600
push ebx
lea ecx, [esp + 0xc]
call fcn.00406c80
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.00407c20
mov ebx, dword [esi]
lea ecx, [esp + 0xc]
call fcn.004276a0
push eax
mov ecx, esi
call dword [ebx + 0x14]
mov eax, dword [esi]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.00406f80
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41f63c
push ecx
call fcn.0044d350
push eax
call fcn.0042a5e1
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x41f650
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ed98
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x2c
cmp eax, 0xffffffff
push edi
je 0x41f712
lea ecx, [esp + 4]
xor edi, edi
push ecx
push eax
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x41f6f2
push esi
mov esi, dword [esp + 0x44]
cmp esi, edi
je 0x41f6d9
lea ecx, [esp + 0xc]
call fcn.00406c80
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.00407c20
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.004276a0
push eax
mov ecx, esi
call dword [edi + 0x14]
mov edx, dword [esi]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00406f80
or eax, 0xffffffff
pop esi
or edx, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [esp + 4]
push ecx
push eax
call fcn.0041f760
add esp, 8
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41f73a
push ecx
call fcn.0044d350
push eax
call fcn.0042a659
add esp, 8
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [esp + 0x30]
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x41f8d0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret
Function at 0x420540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44edbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 8]
mov ecx, edi
call fcn.00406c80
xor eax, eax
mov ecx, edi
push eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi], vtable.ParseEngine.0
call fcn.004057f0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4205c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44eddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
mov ecx, edi
call fcn.00406c80
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], 0
mov ecx, ebx
mov dword [esi + 0x34], 0
mov dword [esi], vtable.ParseEngine.0
call fcn.0040f2a0
push eax
mov ecx, ebx
call fcn.004276a0
push eax
mov ecx, edi
call fcn.00406730
push 0
mov ecx, edi
call fcn.004057f0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x420c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0040f2a0
cmp eax, 0x10
jae 0x420c3a
mov edi, 0x10
push 0
mov ecx, esi
call fcn.00410170
dec edi
jne 0x420c2e
mov al, byte [esp + 0x34]
test al, al
jne 0x420c4a
push esi
mov ecx, ebx
call fcn.00420a20
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x420c60
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x420c76
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10
ret 0x14
mov esi, dword [esp + 0x24]
test esi, esi
je 0x420d97
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x420d97
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [ebx + 0x30]
sar ebp, 7
sub eax, 0
je 0x420d62
dec eax
je 0x420cb5
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x38]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov edi, dword [ebx + 0x40]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x3c]
xor ecx, eax
mov eax, dword [esi + 0xc]
xor edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x44]
lea ecx, [esp + 0x10]
push edi
xor eax, edx
push ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00421a00
lea eax, [ebp - 1]
add esi, 0x10
test eax, eax
jle 0x420d88
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 8]
xor eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
xor ecx, edx
mov edx, dword [esi + 0xc]
add edi, 0x10
xor edx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x24], edx
call fcn.00421a00
mov eax, dword [esp + 0x34]
add esi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x420d07
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
test ebp, ebp
jle 0x420d88
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
push edi
push esi
mov ecx, ebx
call fcn.00421a00
mov eax, dword [esp + 0x34]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x420d6e
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4214f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [eax], 0
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x421528
mov ecx, dword [esp + 0x50]
push str.AES_not_yet_initialized.
mov edx, dword [ecx]
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x1c
mov edx, dword [edi + 0x30]
cmp edx, 2
je 0x421551
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x421551
mov ecx, dword [esp + 0x50]
push str.AES_direction_should_be_for_encryption.
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x1c
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4216ad
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x4216ad
shr eax, 7
mov ecx, eax
mov eax, edx
sub eax, 0
mov dword [esp + 0x38], ecx
je 0x421684
dec eax
je 0x4215ac
mov esi, dword [esp + 0x50]
push str.Invalid_AES_mode
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
mov eax, dword [edi + 0x30]
mov ecx, esi
push eax
push str.mode
call fcn.0041e120
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x1c
mov al, byte [esp + 0x4c]
test al, al
je 0x4215ce
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x4215e5
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
test ecx, ecx
jbe 0x42166f
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00421eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ebp
mov ebp, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
xor ebp, ebx
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
mov dword [edi], eax
mov ebp, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x4c]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], eax
jne 0x4215f5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
jmp 0x4216a4
test ecx, ecx
jbe 0x4216a4
mov ebx, dword [esp + 0x40]
mov ebp, ecx
push ebx
push esi
mov ecx, edi
call fcn.00421eb0
add esi, 0x10
add ebx, 0x10
dec ebp
jne 0x42168e
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
shl ecx, 4
mov dword [eax], ecx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x1c
Function at 0x4218f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x48], edx
jle 0x4219fb
push ebx
push edi
lea eax, [esi + 0x5e]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x46020c]
mov ecx, dword [ecx*4 + 0x460a0c]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x46060c]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x45fe0c]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x46060c]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x460a0c]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x46020c]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x45fe0c]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x46060c]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x460a0c]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x46020c]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x45fe0c]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x46060c]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x460a0c]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x46020c]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x45fe0c]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x48]
cmp edx, ecx
jl 0x421906
pop edi
pop ebx
pop esi
ret
Function at 0x424d00
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
mov al, byte [0x4731f4]
test al, al
jne 0x424d93
push esi
push edi
push 0x400
call fcn.0042917b
add esp, 4
mov dword [0x4731f8], eax
xor esi, esi
push 8
push esi
call fcn.00424dc0
mov ecx, dword [0x4731f8]
add esp, 8
shl eax, 0x18
mov dword [ecx + esi*4], eax
mov edx, 8
mov ecx, dword [0x4731f8]
mov eax, dword [ecx + esi*4]
mov edi, eax
and edi, 0x80000000
neg edi
sbb edi, edi
add eax, eax
and edi, 0x4c11db7
xor edi, eax
dec edx
mov dword [ecx + esi*4], edi
jne 0x424d3f
mov ecx, dword [0x4731f8]
push 0x20
mov edx, dword [ecx + esi*4]
push edx
call fcn.00424dc0
mov ecx, dword [0x4731f8]
add esp, 8
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 0xff
jbe 0x424d23
pop edi
mov byte [0x4731f4], 1
pop esi
ret
Function at 0x425080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push esi
mov esi, dword [esp + 0x40c]
test esi, esi
jne 0x42509c
xor eax, eax
pop esi
add esp, 0x400
ret
push ebx
push ebp
push edi
call fcn.00424d00
mov ebp, dword [esp + 0x41c]
or edx, 0xffffffff
test ebp, ebp
jne 0x4250e8
mov edi, dword [0x4731f8]
mov eax, dword [esp + 0x414]
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
and ecx, 0xff
xor ecx, ebx
shr edx, 8
mov ecx, dword [edi + ecx*4]
xor edx, ecx
inc eax
dec esi
jne 0x4250bf
pop edi
mov eax, edx
pop ebp
pop ebx
not eax
pop esi
add esp, 0x400
ret
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, dword [0x4731f8]
mov ecx, dword [esp + 0x414]
xor eax, eax
mov al, byte [ecx]
mov ebx, dword [esp + eax*4 + 0x10]
inc ebx
mov dword [esp + eax*4 + 0x10], ebx
mov ebx, edx
and ebx, 0xff
xor ebx, eax
shr edx, 8
mov eax, dword [edi + ebx*4]
xor edx, eax
inc ecx
dec esi
jne 0x425102
xor edi, edi
xor eax, eax
lea ecx, [esp + 0x10]
mov esi, 7
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x425132
lea ecx, [esp + 0x2c]
mov esi, 0x79
mov ebx, 0x80
add edi, dword [ecx]
add ecx, 4
dec esi
jne 0x42514a
cmp ebx, 0x100
jge 0x42516f
mov esi, 0x100
lea ecx, [esp + ebx*4 + 0x10]
sub esi, ebx
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x425165
shr edi, 2
cmp edi, eax
pop edi
sbb ecx, ecx
mov eax, edx
neg ecx
mov word [ebp], cx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret

Function at 0x4276b0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
jge 0x4276c3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4276d2
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
xor bl, bl
call fcn.0041e660
mov esi, eax
test esi, esi
jne 0x4276e6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push edi
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4276f5
mov bl, 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret

Function at 0x42cb3c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4542a8
push 0x42d7c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [0x4736c0]
test eax, eax
je 0x42cb84
mov dword [ebp - 4], 1
call eax
jmp 0x42cb80
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x42cb8d
jmp 0x431122
push 0xa
call fcn.0042d8d9
push 0x16
call fcn.00433091
pop ecx
pop ecx
push 3
call fcn.0042925c

Function at 0x42cb92
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4542c0
push 0x42d7c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [fcn.0042cb3c]
test eax, eax
je 0x42cbda
mov dword [ebp - 4], 1
call eax
jmp 0x42cbd6
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x42cbe3
jmp fcn.0042cb3c
Function at 0x431139
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x431159
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004308fa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x43117a
test byte [esp + 8], 2
je 0x43117a
mov dword [0x473608], 0xd
mov dword [0x47360c], 5
jmp 0x431155
xor eax, eax
ret

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

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
push dword [esi + 0x10]
call fcn.00438f8c
mov dword [esi + 0x10], eax
and eax, 0xff
add eax, dword [esi + 0x14]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x14], eax
shr eax, 0x18
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push dword [esi + 0x18]
call fcn.00438f8c
add esp, 0x10
mov dword [esi + 0x18], eax
pop esi
ret 4
Function at 0x447170
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
je 0x4471f0
cmp eax, 0x40
jbe 0x447198
push esi
lea ecx, [esi + 0x40]
call fcn.004476a0
mov dword [esi + 0xa8], 0x14
mov edx, dword [esi + 0xa8]
mov ecx, 0x40
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x4471c0
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.00447670
push 0x40
push esi
mov ecx, edi
call fcn.00447cf0
mov dword [esi + 0xa8], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x447206
push eax
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esi + 0x40]
call fcn.00447cf0
pop esi
ret

Function at 0x447210
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0xa8], 0xffffffff
je 0x44722f
push edi
push 0
push 0
call fcn.00447170
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004476a0
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x447245
mov ecx, esi
call fcn.00447670
push 0x40
push edi
mov ecx, esi
call fcn.00447cf0
lea ecx, [esp + 8]
push 0x14
push ecx
mov ecx, esi
call fcn.00447cf0
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.004476a0
mov ecx, dword [esp + 0x24]
test ecx, ecx
jbe 0x44729f
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret
Function at 0x447670
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 8], eax
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 0x24], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x4491d0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x10
mov eax, dword [ebp + 8]
lea edi, [esp + 0x1c]
cdq
and edx, 7
lea esi, [ebp + 0x18]
add eax, edx
mov ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
sar ebx, 3
call fcn.0040f2a0
cmp eax, 0x40
mov ecx, esi
jbe 0x449224
call fcn.004276a0
test eax, eax
je 0x449255
mov ecx, esi
call fcn.004276a0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x449255
call fcn.004276a0
test eax, eax
je 0x449255
mov ecx, esi
call fcn.0040f2a0
mov ecx, esi
mov edi, eax
call fcn.004276a0
mov esi, eax
mov eax, edi
lea edi, [esp + 0x1c]
mov ecx, eax
mov edx, ecx
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 ecx, dword [ebp]
mov edx, dword [eax + 0x470cdc]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x449257
xor eax, eax
mov ecx, 0x100
mov edx, dword [ebp + 4]
mov esi, dword [eax + 0x470d24]
mov dword [edx + eax], esi
add eax, 4
dec ecx
jne 0x449272
cmp eax, 0x1000
jl 0x44926d
xor esi, esi
xor edi, edi
mov eax, dword [ebp]
lea ecx, [edi + eax]
lea eax, [esi + 1]
cdq
idiv ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
lea eax, [esi + 2]
add edi, 4
mov cl, byte [esp + edx + 0x1c]
cdq
idiv ebx
mov ch, byte [esp + esi + 0x1c]
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv ebx
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, ecx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebx
cmp edi, 0x48
mov esi, edx
jl 0x44928f
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.004489d0
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x4492ef
mov esi, 4
mov edi, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.004489d0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 4], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], eax
add esi, 8
dec edi
jne 0x449327
cmp esi, 0x1004
jl 0x449322
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x44a230
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov eax, dword [esp + 0x18]
test ebx, ebx
jne 0x44a245
mov eax, dword [esp + 0x1c]
xor edi, eax
mov ebp, 4
mov ecx, edi
shr ecx, 0x18
mov byte [esp + 0x10], cl
mov al, cl
mov edx, dword [esp + 0x10]
and al, 0x80
and edx, 0xff
neg al
sbb eax, eax
mov esi, edx
and eax, 0x14d
and esi, 0x7f
and eax, 0xff
and cl, 1
shl esi, 1
xor esi, eax
mov eax, edx
neg cl
sbb ecx, ecx
and ecx, 0xa6
shr eax, 1
xor ecx, eax
xor ecx, esi
mov eax, ecx
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, ecx
xor eax, edi
shl eax, 8
xor eax, edx
dec ebp
mov edi, eax
jne 0x44a24c
inc ebx
cmp ebx, 2
jl 0x44a239
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret