joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462270
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0xffffffff
jne 0x462291
mov ecx, dword [esp + 0x20]
push str.File_access_error:_invalid_handle
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
xor al, al
pop ebx
ret 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00461df0
test al, al
jne 0x4622ac
pop edi
pop esi
pop ebx
ret 0x14
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00422070
mov edi, dword [esp + 0x18]
mov ecx, ebx
push edi
call fcn.00422c70
mov ecx, ebx
call fcn.004220a0
xor ebx, ebx
cmp eax, ebx
jne 0x4622e6
mov ecx, dword [esp + 0x20]
push str.File_access_error:_no_data_available.
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
xor al, al
pop ebx
ret 0x14
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ebx
push ecx
push edi
push eax
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x462326
mov esi, dword [esp + 0x20]
push str.FileAccess:_Read_failed.
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
pop edi
pop esi
xor al, al
pop ebx
ret 0x14
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x10]
add edx, edi
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0x14]
adc ecx, ebx
cmp eax, edi
mov dword [esi + 0x14], ecx
je 0x462354
mov ecx, dword [esp + 0x20]
push str.File_access_error:_did_not_read_full_requested_amount_of_data.
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
xor al, al
pop ebx
ret 0x14
pop edi
pop esi
mov al, 1
pop ebx
ret 0x14

Function at 0x462360
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0xffffffff
jne 0x462373
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00461df0
test al, al
jne 0x46238e
pop edi
pop esi
pop ebx
ret 0x10
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.00422070
mov ebx, dword [esp + 0x18]
mov ecx, edi
push ebx
call fcn.00422c70
mov ecx, edi
call fcn.004220a0
test eax, eax
jne 0x4623b8
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
lea edx, [esp + 0x10]
push 0
push edx
push ebx
push eax
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4623df
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004223b0
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
add ecx, edx
pop edi
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 0x14]
adc eax, 0
mov dword [esi + 0x14], eax
pop esi
mov al, 1
pop ebx
ret 0x10
Function at 0x463500
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x463585
cmp eax, 0x40
jbe 0x46352c
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0046e120
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
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 0x463554
lea edi, [esi + 0x40]
push edi
call fcn.0046e050
push edi
push 0x40
push esi
call fcn.0046e090
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46359f
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0046e090
add esp, 0xc
pop esi
ret

Function at 0x4635b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x4635cf
push edi
push 0
push 0
call fcn.00463500
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.0046e120
add esp, 8
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x4635e7
push esi
call fcn.0046e050
push esi
push 0x40
push edi
call fcn.0046e090
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.0046e090
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0046e120
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x463640
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 0x4644c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00463450
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00463460
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
mov ecx, 0x28
lea esi, [esp + 0x4c]
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18c]
push ecx
push edx
push eax
call fcn.00463500
mov ecx, dword [esp + 0x254]
add esp, 0x1c
dec ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
je 0x46464c
push ebx
push ebp
mov dword [esp + 0x10], 0
mov ebx, 1
lea ebp, [esp + 0x1c]
xor edx, edx
mov ecx, 0x28
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x184]
lea edi, [esp + 0xe4]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov eax, ebx
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov byte [esp + 0x31], cl
mov ecx, dword [esp + 0x238]
mov edx, ebx
shr eax, 0x18
shr edx, 8
mov byte [esp + 0x30], al
mov byte [esp + 0x32], dl
test ecx, ecx
mov byte [esp + 0x33], bl
mov eax, 4
jbe 0x464609
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.00463500
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.004635b0
add esp, 0x18
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x14
jb 0x4645d8
mov ecx, 0x28
lea esi, [esp + 0x44]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4645ac
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x46462c
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x46460f
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
add esi, 0x14
sub ebp, 0x14
mov dword [esp + 0x10], esi
lea eax, [ebx - 1]
cmp eax, ecx
jb 0x46454e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret
Function at 0x465c00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48a760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [esp + 0x78]
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
mov ebp, 1
push esi
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov byte [esp + 0x7c], 0
test edi, edi
jne 0x465dc3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x465e15
push eax
call fcn.0046fd5a
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x465c7c
xor al, al
jmp 0x465e19
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push ebp
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x465d62
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, 4
jne 0x465cee
cmp ecx, 4
jne 0x465d3e
mov ecx, dword [ebp]
lea edx, [esp + 0x18]
push ecx
push 0x4b3660
push edx
call fcn.00470124
mov ecx, dword [esp + 0x8c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.00418c40
push ebp
mov byte [esp + 0x80], 1
call fcn.0046f89f
add esp, 4
jmp 0x465e15
cmp eax, 1
jne 0x465d16
mov ecx, dword [esp + 0x80]
push ebp
call fcn.00418c40
push ebp
mov byte [esp + 0x80], 1
call fcn.0046f89f
add esp, 4
jmp 0x465e15
cmp eax, 2
jne 0x465d3e
mov ecx, dword [esp + 0x80]
push ebp
call fcn.00418c40
push ebp
mov byte [esp + 0x80], 1
call fcn.0046f89f
add esp, 4
jmp 0x465e15
push ecx
mov ecx, dword [esp + 0x84]
push ebp
call fcn.00418630
push ebp
mov byte [esp + 0x80], 1
call fcn.0046f89f
add esp, 4
jmp 0x465e15
lea ecx, [esp + 0x18]
call fcn.00419150
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0
call fcn.0041a710
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x18]
mov ebx, dword [edi]
call fcn.004220a0
push eax
push str.RegistryQueryError2
mov ecx, edi
call dword [ebx + 0x28]
mov edx, dword [edi]
push esi
push str.ValueName
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
call fcn.00419440
push ebp
call fcn.0046f89f
add esp, 4
jmp 0x465e15
lea ecx, [esp + 0x40]
call fcn.00419150
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], ebp
call fcn.0041a710
mov edi, dword [esp + 0x84]
lea ecx, [esp + 0x40]
mov ebx, dword [edi]
call fcn.004220a0
push eax
push str.RegistryQueryError
mov ecx, edi
call dword [ebx + 0x28]
mov eax, dword [edi]
push esi
push str.ValueName
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.00419440
mov al, byte [esp + 0x7c]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10
Function at 0x465f20
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 0x24]
sub esp, 0xc8
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
push esi
mov esi, ecx
mov byte [eax], 0
mov ecx, dword [esp + 0xfc]
push edi
mov byte [ecx], 0
mov ecx, ebx
call fcn.004182d0
mov ebp, dword [esp + 0xf8]
mov edi, dword [esp + 0xdc]
add esi, 8
push edi
mov ecx, esi
mov dword [ebp], 0
call fcn.0041a2e0
push 0x4ba230
push str.http:__
mov ecx, esi
call fcn.00419a70
push 0x4ba230
push str.https:__
mov ecx, esi
call fcn.00419a70
push 0x2f
mov ecx, esi
call fcn.00418140
push 0x3a
mov ecx, esi
call fcn.00418140
mov ecx, esi
call fcn.00418050
mov ecx, esi
call fcn.00422090
test eax, eax
jne 0x465fe0
mov esi, dword [esp + 0xec]
push str.Invalid_hostname_for_resolving_hostname_to_IP_address.
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov eax, dword [esi]
push edi
push str.hostname
mov ecx, esi
call dword [eax + 0x28]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc8
ret 0x28
mov ecx, esi
call fcn.004220a0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x465fd1
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x466000
mov edx, dword [ecx]
mov dword [ebp], edx
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov cl, byte [eax + 3]
mov dl, byte [eax + 2]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._d._d._d._d
push eax
call fcn.00470124
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.0041a2e0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc8
ret 0x28

Function at 0x466050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a7a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00466130
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x14], ebx
call fcn.00419150
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00419150
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x60], bl
mov dword [esi], vtable.HostnameResolve.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x467fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a9eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.00419150
xor ebx, ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], 0x1bb
mov byte [esi + 0x34], bl
call fcn.00419150
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
mov dword [esi + 0x60], 0x50
mov byte [esi + 0x64], bl
call fcn.00422400
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 2
call fcn.00465750
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 3
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
call fcn.00419150
lea ecx, [esi + 0xe8]
mov byte [esp + 0x14], 4
call fcn.00419150
lea ecx, [esi + 0x140]
mov byte [esp + 0x14], 5
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov byte [esi + 0x124], bl
mov byte [esi + 0x125], bl
mov byte [esi + 0x126], bl
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov byte [esi + 0x138], bl
mov byte [esi + 0x139], bl
mov byte [esi + 0x13a], bl
call fcn.00454d20
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x270], ebx
mov byte [esi + 0x274], bl
mov dword [esi], vtable.SChannelWin32.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46b2e0
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 0x46b2f5
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 0x46b2fc
inc ebx
cmp ebx, 2
jl 0x46b2e9
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x46b370
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x4bc5b0
mov dl, byte [edi + 0x4b5c58]
mov al, dl
mov cl, dl
and al, 2
mov bl, dl
neg al
sbb al, al
and cl, 1
and eax, 0xb4
mov byte [esp + 0xd], cl
neg cl
sbb cl, cl
and ecx, 0x5a
shr bl, 2
xor bl, cl
mov byte [esp + 0xe], cl
xor bl, al
mov cl, dl
xor bl, dl
shr cl, 1
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0xd]
xor cl, dl
shr cl, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor cl, bl
mov bl, byte [esp + 0xe]
xor cl, bl
mov bl, byte [edi + 0x4b5d58]
xor cl, al
mov al, bl
and al, 2
xor cl, dl
neg al
sbb al, al
and eax, 0xb4
mov byte [esp + 0xd], al
mov al, bl
and al, 1
mov byte [esp + 0xe], al
neg al
sbb al, al
and eax, 0x5a
shr bl, 2
mov byte [esp + 0xf], al
xor bl, al
mov al, byte [esp + 0xd]
xor bl, al
mov al, byte [edi + 0x4b5d58]
xor bl, al
mov byte [esp + 0x13], al
mov byte [esp + 0x11], bl
mov bl, byte [esp + 0x13]
shr al, 1
xor al, bl
mov bl, byte [esp + 0xe]
shr al, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor al, bl
mov bl, byte [esp + 0xf]
xor al, bl
mov bl, byte [esp + 0xd]
xor al, bl
mov bl, byte [edi + 0x4b5d58]
xor al, bl
mov byte [esp + 0x14], bl
mov bl, byte [esp + 0x11]
mov byte [esp + 0x16], al
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], al
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x14], cl
mov dword [esi - 0x400], ebx
mov bl, byte [esp + 0x10]
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], dl
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x15], al
mov dword [esi], ebx
mov bl, byte [esp + 0x11]
mov byte [esp + 0x14], bl
mov bl, byte [edi + 0x4b5d58]
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x15], dl
mov dword [esi + 0x400], eax
mov al, byte [esp + 0x10]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], al
add esi, 4
mov ecx, dword [esp + 0x14]
inc edi
mov dword [esi + 0x7fc], ecx
cmp esi, 0x4bc9b0
jl 0x46b37d
pop edi
pop esi
mov dword [0x4b5e58], 0
pop ebx
add esp, 0xc
ret
Function at 0x46e050
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x477b9e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x477bbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00477555
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x477bdf
test byte [esp + 8], 2
je 0x477bdf
mov dword [0x4bd1b8], 0xd
mov dword [0x4bd1bc], 5
jmp 0x477bba
xor eax, eax
ret
Function at 0x482930
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov dword [esp], ecx
test eax, eax
jle 0x4829a3
mov ecx, dword [esp + 8]
push ebx
add eax, 7
push ebp
push esi
mov esi, dword [esp + 0x1c]
shr eax, 3
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov ebp, esi
sub ecx, edi
mov eax, edi
sub ebp, edi
mov edx, 8
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec edx
mov byte [eax + ebp - 1], bl
jne 0x482964
mov ecx, dword [esp + 0x10]
push esi
push esi
lea eax, [ecx + 4]
push eax
call fcn.0047ff40
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
add edi, 8
add esi, 8
mov dword [ecx], edx
mov eax, dword [esi - 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x482957
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10

Function at 0x482af0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov dword [esp], ecx
test eax, eax
jle 0x482b63
mov ecx, dword [esp + 8]
push ebx
add eax, 7
push ebp
push esi
mov esi, dword [esp + 0x1c]
shr eax, 3
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov ebp, esi
sub ecx, edi
mov eax, edi
sub ebp, edi
mov edx, 8
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec edx
mov byte [eax + ebp - 1], bl
jne 0x482b24
mov ecx, dword [esp + 0x10]
push esi
push esi
lea eax, [ecx + 4]
push eax
call fcn.00480ab0
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
add edi, 8
add esi, 8
mov dword [ecx], edx
mov eax, dword [esi - 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x482b17
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x482eb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48b44c
push eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
push esi
call fcn.00422070
mov esi, dword [esp + 0x1b4]
mov ebp, 0x40
cmp esi, 3
jne 0x482eed
mov ebp, 0x80
lea ecx, [esp + 0x6c]
call fcn.00422400
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x19c], 0
cmp edx, ebp
jle 0x482f41
mov ecx, dword [esp + 0x1ac]
lea eax, [esp + 0x6c]
push eax
push esi
push edx
push ecx
call fcn.00483160
add esp, 0x10
lea ecx, [esp + 0x6c]
call fcn.004220a0
push esi
mov ebx, eax
call fcn.00483110
mov edx, eax
add esp, 4
cmp edx, ebp
jle 0x482f48
mov edx, ebp
jmp 0x482f48
mov ebx, dword [esp + 0x1ac]
mov ecx, ebp
push edi
mov esi, ecx
xor eax, eax
lea edi, [esp + 0x90]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebp
xor eax, eax
lea edi, [esp + 0x114]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
lea edi, [esp + 0x90]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov esi, ebx
lea edi, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
pop edi
jle 0x482fd7
mov cl, byte [esp + eax + 0x8c]
mov bl, byte [esp + eax + 0x110]
xor cl, 0x36
xor bl, 0x5c
mov byte [esp + eax + 0x8c], cl
mov byte [esp + eax + 0x110], bl
inc eax
cmp eax, ebp
jl 0x482fb0
lea ecx, [esp + 0x2c]
call fcn.00422400
lea eax, [esp + 0x8c]
push ebp
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a4], 1
call fcn.00422fd0
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a4]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00422fd0
lea ecx, [esp + 0x4c]
call fcn.00422400
mov esi, dword [esp + 0x1b4]
lea eax, [esp + 0x4c]
mov bl, 2
push eax
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a4], bl
call fcn.00422080
push eax
lea ecx, [esp + 0x38]
call fcn.004220a0
push eax
call fcn.00483160
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.00422400
lea ecx, [esp + 0x110]
push ebp
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a4], 3
call fcn.00422fd0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xc]
push edx
call fcn.00422120
mov eax, dword [esp + 0x1b8]
lea ecx, [esp + 0xc]
push eax
push esi
call fcn.00422080
push eax
lea ecx, [esp + 0x18]
call fcn.004220a0
push eax
call fcn.00483160
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x19c], bl
call fcn.00422c00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x19c], 1
call fcn.00422c00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x19c], 0
call fcn.00422c00
lea ecx, [esp + 0x6c]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00422c00
mov ecx, dword [esp + 0x194]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x194
ret
Function at 0x483530
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 0x483e30
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xffffffdc
lea eax, [edi + 0x24]
sub esi, edi
mov dl, byte [eax + 0x20]
mov byte [eax], dl
mov cl, byte [eax - 0x10]
xor cl, dl
mov byte [eax + 0x10], cl
inc eax
lea edx, [esi + eax]
cmp edx, 0x10
jl 0x483e40
xor ecx, ecx
lea esi, [edi + 0x14]
mov byte [esp + 0xc], cl
mov edx, 0xffffffec
mov eax, esi
sub edx, edi
mov ebx, dword [esp + 0xc]
and ebx, 0xff
mov bl, byte [ebx + str._.C]
xor byte [eax], bl
mov bl, byte [eax]
inc eax
mov byte [esp + 0xc], bl
lea ebx, [edx + eax]
cmp ebx, 0x30
jl 0x483e68
mov bl, byte [esp + 0xc]
add bl, cl
inc ecx
cmp ecx, 0x12
mov byte [esp + 0xc], bl
jl 0x483e5f
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x483ea0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov al, byte [ecx + 0x13]
mov edx, 0xfffffffc
push ebx
mov byte [esp + 4], al
push esi
lea eax, [ecx + 4]
sub edx, ecx
mov esi, dword [esp + 8]
mov bl, byte [eax]
xor ecx, ecx
and esi, 0xff
mov cl, byte [eax + 0x40]
xor ecx, esi
mov cl, byte [ecx + str._.C]
xor bl, cl
mov byte [eax], bl
mov cl, bl
inc eax
mov byte [esp + 8], cl
lea ecx, [edx + eax]
cmp ecx, 0x10
jl 0x483eb4
pop esi
pop ebx
pop ecx
ret