joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bcf0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x44e086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
lea ecx, [esp + 4]
call fcn.00408bb0
mov eax, dword [esp + 0x124]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x120], 0
call fcn.00409a00
push 0x5c
push 0x2f
lea ecx, [esp + 0xc]
call fcn.00409d00
lea ecx, [esp + 4]
call fcn.00408cf0
test eax, eax
jle 0x40bd9f
lea ecx, [esp + 0x8c]
call fcn.00408bb0
lea ecx, [esp + 0x8c]
lea edx, [esp + 4]
push ecx
push edx
mov byte [esp + 0x124], 1
call fcn.0040a2c0
add esp, 8
lea ecx, [esp + 0x8c]
call fcn.00409020
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x8c]
mov esi, eax
mov byte [esp + 0x11c], 0
call fcn.00408c80
jmp 0x40bdb1
lea ecx, [esp + 4]
call fcn.00409020
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
pop esi
jne 0x40bdf1
mov ecx, dword [esp + 0x124]
test ecx, ecx
je 0x40bdc6
call fcn.004253f0
lea ecx, [esp]
mov dword [esp + 0x118], 0xffffffff
call fcn.00408c80
xor al, al
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
lea ecx, [esp]
mov dword [esp + 0x118], 0xffffffff
call fcn.00408c80
mov ecx, dword [esp + 0x110]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x40ca20
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x40ca40
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x44e563
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
call fcn.0041e6c0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 0xce
mov dword [esi], vtable.TreeNode.0
je 0x40fa96
cmp byte [eax], bl
je 0x40fa96
push eax
mov ecx, esi
call fcn.00410580
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x40fac8
cmp byte [edi], bl
je 0x40fac8
push 0x28
call fcn.0042929a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x40fac3
push edi
mov ecx, eax
call fcn.00406010
jmp 0x40fac5
xor eax, eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x41dff0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
test ebp, ebp
push edi
je 0x41e1b8
mov ebx, dword [esp + 0x120]
test ebx, ebx
je 0x41e1b8
push ebp
push ebp
call fcn.0041dfc0
mov edi, dword [esp + 0x130]
add esp, 8
mov ecx, edi
push 0x3f0
push eax
call fcn.00405ac0
mov eax, 0x55555556
xor esi, esi
imul ebp
mov eax, edx
xor ecx, ecx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x41e111
mov dword [esp + 0x10], edx
xor eax, eax
xor edx, edx
mov al, byte [esi + ebx]
mov dl, byte [esi + ebx + 1]
inc esi
mov edi, edx
inc esi
xor edx, edx
mov dl, byte [esi + ebx]
inc esi
mov ebp, edx
mov edx, eax
sar edx, 2
and edx, 0x3f
and eax, 3
shl eax, 4
mov dl, byte [edx + 0x454938]
mov byte [esp + ecx + 0x14], dl
mov edx, edi
sar edx, 4
and edx, 0xf
and edi, 0xf
or edx, eax
inc ecx
shl edi, 2
mov al, byte [edx + 0x454938]
mov edx, ebp
sar edx, 6
and edx, 3
mov byte [esp + ecx + 0x14], al
or edx, edi
inc ecx
and ebp, 0x3f
inc ecx
mov al, byte [edx + 0x454938]
mov dl, byte [ebp + 0x454938]
mov byte [esp + ecx + 0x13], al
mov byte [esp + ecx + 0x14], dl
inc ecx
cmp ecx, 0x100
jl 0x41e0de
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x12c]
push eax
call fcn.00405e90
xor ecx, ecx
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x41e054
test ecx, ecx
je 0x41e103
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x130]
call fcn.00405e90
mov edi, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
mov eax, ebp
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x41e175
dec edx
jne 0x41e1b8
xor edx, edx
xor eax, eax
mov dl, byte [esi + ebx]
mov al, byte [esi + ebx + 1]
mov ebp, edx
mov esi, eax
mov ecx, ebp
sar ecx, 2
and ecx, 0x3f
mov dl, byte [ecx + 0x454938]
mov ecx, edi
push edx
call fcn.004056f0
mov eax, esi
and ebp, 3
sar eax, 4
and eax, 0xf
shl ebp, 4
or eax, ebp
mov cl, byte [eax + 0x454938]
push ecx
mov ecx, edi
call fcn.004056f0
and esi, 0xf
mov dl, byte [esi*4 + 0x454938]
push edx
jmp 0x41e1a8
xor eax, eax
mov al, byte [esi + ebx]
mov esi, eax
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
mov dl, byte [ecx + 0x454938]
mov ecx, edi
push edx
call fcn.004056f0
and esi, 3
mov ecx, edi
shl esi, 4
mov al, byte [esi + 0x454938]
push eax
call fcn.004056f0
push 0x3d
mov ecx, edi
call fcn.004056f0
push 0x3d
mov ecx, edi
call fcn.004056f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x41fa70
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov byte [ebp], 0
test esi, esi
mov ebx, ecx
mov dword [edi], 0
je 0x41fb32
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41fb32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x41faf9
push 0
push edi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41fae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x41fad0
pop edi
mov byte [ebp], 1
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41fb44
push eax
call fcn.00425480
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
cmp dword [edi], 0
jne 0x41faf0
mov byte [ebp], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov eax, dword [ebx + 8]
test eax, eax
je 0x41fb44
push eax
push esi
push 1
push ecx
call fcn.0042a599
add esp, 0x10
cmp eax, esi
mov dword [edi], eax
jne 0x41fb1c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov eax, dword [ebx + 8]
test byte [eax + 0xc], 0x20
jne 0x41fb44
pop edi
mov byte [ebp], 1
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41fb44
mov edx, dword [ecx]
push str.NULL_buf_or_bufSize
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
Function at 0x41fb50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44f7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call fcn.0041f630
test al, al
jne 0x41fb92
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x41fb8b
mov eax, dword [ecx]
push str.Failed_to_write_because_file_is_not_open.
call dword [eax + 0x10]
xor al, al
jmp 0x41fc66
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
test edi, edi
je 0x41fbab
mov dword [edi], 0
mov dword [edi + 4], 0
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, ebp
or ecx, eax
je 0x41fc64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
test eax, eax
jl 0x41fbda
jg 0x41fbd3
cmp ebp, 0x989680
jbe 0x41fbda
mov esi, 0x989680
jmp 0x41fbdc
mov esi, ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x41fc0e
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41fc7b
mov edx, dword [esp + 0x10]
cmp edx, esi
jne 0x41fc7b
jmp 0x41fc31
mov eax, dword [ecx + 8]
test eax, eax
je 0x41fc31
push eax
push 1
push esi
push ebx
call fcn.0042a681
add esp, 0x10
cmp eax, 1
jne 0x41fcc8
mov edx, esi
mov dword [esp + 0x10], edx
add ebx, esi
sub ebp, esi
mov esi, dword [esp + 0x58]
mov eax, 0
sbb esi, eax
cmp edi, eax
mov dword [esp + 0x58], esi
je 0x41fc56
mov esi, dword [edi]
add esi, edx
mov dword [edi], esi
mov ecx, dword [edi + 4]
adc ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x58]
mov eax, ebp
or eax, ecx
jne 0x41fbc1
mov al, 1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14
mov esi, dword [esp + 0x60]
test esi, esi
je 0x41fcc4
lea ecx, [esp + 0x18]
call fcn.00406110
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0
call fcn.00406d00
mov edi, dword [esi]
lea ecx, [esp + 0x18]
call fcn.00446f00
push eax
push str.WriteFileError
mov ecx, esi
call dword [edi + 0x28]
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.00406400
xor al, al
jmp 0x41fc66
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x41fcda
mov edx, dword [ecx]
push str.fwrite_failed.
call dword [edx + 0x10]
xor al, al
jmp 0x41fc66
Function at 0x41fce0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f808
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x28
cmp eax, 0xffffffff
je 0x41fd75
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41fd60
mov esi, dword [esp + 0x40]
test esi, esi
je 0x41fd60
push ebx
lea ecx, [esp + 0xc]
call fcn.00406110
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.00406d00
mov ebx, dword [esi]
lea ecx, [esp + 0xc]
call fcn.00446f00
push eax
mov ecx, esi
call dword [ebx + 0x10]
mov eax, dword [esi]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.00406400
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 0x41fd9c
push ecx
call fcn.0044d260
push eax
call fcn.0042a78b
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 0x41fdb0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f828
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x2c
cmp eax, 0xffffffff
push edi
je 0x41fe72
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 0x41fe52
push esi
mov esi, dword [esp + 0x44]
cmp esi, edi
je 0x41fe39
lea ecx, [esp + 0xc]
call fcn.00406110
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.00406d00
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.00446f00
push eax
mov ecx, esi
call dword [edi + 0x10]
mov edx, dword [esi]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00406400
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.0041f490
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 0x41fe9a
push ecx
call fcn.0044d260
push eax
call fcn.0042a803
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 0x41fec0
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 0x420b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f84b
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.00406110
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.00405410
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 0x420bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f86b
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.00406110
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.0040ce40
push eax
mov ecx, ebx
call fcn.00446f00
push eax
mov ecx, edi
call fcn.00405e90
push 0
mov ecx, edi
call fcn.00405410
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 0x4211d0
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.0040ce40
cmp eax, 0x10
jae 0x4211fa
mov edi, 0x10
push 0
mov ecx, esi
call fcn.0040dba0
dec edi
jne 0x4211ee
mov al, byte [esp + 0x34]
test al, al
jne 0x421211
mov ecx, esi
call fcn.00446f00
push eax
mov ecx, ebx
call fcn.00421010
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x421227
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 0x42123d
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 0x42135e
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x42135e
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [ebx + 0x30]
sar ebp, 7
sub eax, 0
je 0x421329
dec eax
je 0x42127c
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.00421f80
lea eax, [ebp - 1]
add esi, 0x10
test eax, eax
jle 0x42134f
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.00421f80
mov eax, dword [esp + 0x34]
add esi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x4212ce
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
test ebp, ebp
jle 0x42134f
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
push edi
push esi
mov ecx, ebx
call fcn.00421f80
mov eax, dword [esp + 0x34]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x421335
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 0x421a90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x421ab3
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x24
ret 0x14
mov ebx, dword [edi + 0x30]
cmp ebx, 2
je 0x421ad1
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x421ad1
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x24
ret 0x14
mov esi, dword [esp + 0x38]
test esi, esi
je 0x421c27
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x421c27
cdq
and edx, 0x7f
add eax, edx
mov ecx, eax
mov eax, ebx
sar ecx, 7
sub eax, 0
mov dword [esp + 0x38], ecx
je 0x421bf8
dec eax
je 0x421b13
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret 0x14
mov al, byte [esp + 0x48]
test al, al
je 0x421b35
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
jmp 0x421b4c
mov eax, dword [esp + 0x44]
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
jle 0x421bd6
mov edi, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00422430
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 + 0x48]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
jne 0x421b5c
mov eax, dword [esp + 0x44]
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]
pop edi
mov dword [eax + 0xc], edx
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
test ecx, ecx
jle 0x421c18
mov ebx, dword [esp + 0x40]
mov ebp, ecx
push ebx
push esi
mov ecx, edi
call fcn.00422430
add esi, 0x10
add ebx, 0x10
dec ebp
jne 0x421c02
mov ecx, dword [esp + 0x38]
pop edi
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x14
Function at 0x421e70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x48], edx
jle 0x421f7b
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 + 0x460864]
mov ecx, dword [ecx*4 + 0x461064]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x460c64]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460464]
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 + 0x460c64]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x461064]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460864]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460464]
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 + 0x460c64]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x461064]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460864]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460464]
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 + 0x460c64]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x461064]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460864]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x460464]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x48]
cmp edx, ecx
jl 0x421e86
pop edi
pop ebx
pop esi
ret
Function at 0x423bd8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44faa8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x423bfd
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x423bfd
mov al, 1
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push ebx
lea ecx, [esp + 8]
call fcn.00406110
lea eax, [esi + 0x18]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x3c], 0
call fcn.00406940
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xc]
call fcn.00446f00
push eax
mov ecx, esi
call fcn.004239e0
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
call fcn.00406400
mov ecx, dword [esp + 0x30]
mov al, bl
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x424e40
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
mov al, byte [0x4734b4]
test al, al
jne 0x424ed3
push esi
push edi
push 0x400
call fcn.0042929a
add esp, 4
mov dword [0x4734b8], eax
xor esi, esi
push 8
push esi
call fcn.00424f00
mov ecx, dword [0x4734b8]
add esp, 8
shl eax, 0x18
mov dword [ecx + esi*4], eax
mov edx, 8
mov ecx, dword [0x4734b8]
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 0x424e7f
mov ecx, dword [0x4734b8]
push 0x20
mov edx, dword [ecx + esi*4]
push edx
call fcn.00424f00
mov ecx, dword [0x4734b8]
add esp, 8
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 0xff
jbe 0x424e63
pop edi
mov byte [0x4734b4], 1
pop esi
ret