joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410130
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44b0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2c0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
push 1
push 0x4586d0
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], edi
call fcn.004062b0
cmp esi, edi
je 0x4101dd
mov eax, esi
lea edx, [eax + 2]
jmp 0x4101c0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4101c0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x80]
call fcn.004062b0
push 2
push 0x4590d0
lea ecx, [esp + 0x80]
call fcn.004062b0
mov eax, str._u_zknetdrv
lea edx, [eax + 2]
jmp 0x410200
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410200
sub eax, edx
sar eax, 1
push eax
push str._u_zknetdrv
lea ecx, [esp + 0x80]
call fcn.004062b0
mov eax, dword [esp + 0x8c]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00431aff
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x410268
cmp dword [esp + 0x90], 8
jb 0x410261
mov eax, dword [esp + 0x7c]
push eax
call fcn.0043261c
add esp, 4
xor eax, eax
jmp 0x410353
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x41027a
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
push eax
add ecx, 1
push ecx
push esi
call fcn.00438098
push 0x40
lea edx, [esp + 0x40]
push edi
push edx
xor ebx, ebx
call fcn.00433ff0
add esp, 0x18
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
push edi
push edi
push edi
push edi
push edi
push esi
push edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 1
mov word [esp + 0x84], di
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41030d
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x410308
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, 1
push esi
call fcn.00433713
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
cmp eax, edi
je 0x41032b
push eax
call esi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41033a
push eax
call esi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x90], 8
jb 0x410351
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0043261c
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0043244e
add esp, 0x90
ret
Function at 0x411440
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44b473
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x45f2c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x464380
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
lea ebx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebx], 0x464380
mov byte [esp + 0x14], 1
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ecx
push 0x4590d6
xor ecx, ecx
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], al
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], eax
call fcn.00411f50
xor eax, eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x416590
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push edi
push 0x40
mov edi, ecx
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], eax
call fcn.00433ff0
mov edx, dword [esi]
mov dword [esp + 0x18], 0
mov ebx, dword [edx + 8]
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x10], ebx
jbe 0x41666d
jmp 0x4165e4
mov ebx, dword [esp + 0x10]
cmp ebp, ebx
jae 0x4165ea
mov ebx, ebp
mov eax, dword [esi]
test eax, eax
je 0x416648
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0xc]
push ecx
call edx
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x416648
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [eax + 0x10]
push ecx
call edx
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x416648
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x10]
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
call eax
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x416648
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
add esp, 8
xor eax, eax
test ebx, ebx
jbe 0x416660
mov edi, edi
mov cl, byte [esp + eax + 0x18]
xor byte [edi], cl
add eax, 1
add edi, 1
cmp eax, ebx
jb 0x416650
add byte [esp + 0xf], 1
sub ebp, ebx
jne 0x4165e0
mov ecx, dword [esp + 0x58]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043244e
add esp, 0x50
ret
Function at 0x416840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x460], eax
cmp dword [ecx + 0xa4], 1
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x20], eax
jne 0x4169fd
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
add eax, 0xfffffff0
cmp eax, 0x3f0
ja 0x4169fd
mov eax, dword [ecx + 0xa8]
call fcn.00420fa0
mov edi, eax
test edi, edi
je 0x4169fd
lea eax, [esp + 0x68]
push eax
push ebx
push esi
push edx
mov eax, ecx
call fcn.004162d0
add esp, 0x10
test eax, eax
jne 0x416a02
movzx ebx, byte [edi + 8]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00421030
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
call edx
mov edi, dword [esp + 0x20]
add esp, 0xc
sub edi, ebx
add edi, 0xffffffff
lea eax, [esp + ebx + 0x69]
push edi
push eax
push ebx
lea ecx, [esp + 0x75]
call fcn.00416590
add esp, 0xc
push ebx
lea eax, [esp + 0x6d]
push eax
push edi
lea ecx, [esp + ebx + 0x75]
call fcn.00416590
add esp, 0xc
call fcn.00421000
mov al, byte [esp + 0x68]
xor edi, edi
test ebx, ebx
mov byte [esp + 0x13], al
lea esi, [esp + ebx + 0x69]
jbe 0x416946
mov edi, edi
mov cl, byte [esp + edi + 0x28]
xor cl, byte [esi]
add edi, 1
or al, cl
add esi, 1
cmp edi, ebx
jb 0x416930
mov byte [esp + 0x13], al
lea edi, [ebx + ebx]
mov ebx, edi
mov edi, dword [esp + 0x14]
sub edi, ebx
xor edx, edx
xor al, al
xor ecx, ecx
sub edi, 2
je 0x41697a
lea esp, [esp]
or al, byte [ecx + esi]
add ecx, 1
mov bl, al
neg bl
or bl, al
not bl
movzx ebx, bl
shr ebx, 7
add edx, ebx
cmp ecx, edi
jb 0x416960
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x14]
add esi, edx
mov dl, byte [esi]
xor dl, 1
or cl, dl
add esi, 1
test cl, cl
je 0x4169ac
mov eax, 0xffffbf00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
sub eax, esi
lea eax, [esp + eax + 0x68]
cmp eax, dword [ebp + 0x18]
jbe 0x4169d1
mov eax, 0xffffbc00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push esi
push edx
mov dword [ecx], eax
call fcn.00436c40
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
mov eax, 0xffffbf80
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
Function at 0x416b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xa4], 1
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x18]
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], 0
je 0x416b9f
mov eax, 0xffffbf80
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x416b88
test eax, eax
mov edi, dword [ebx + 4]
mov dword [esp + 0x20], edi
je 0x416bbe
call fcn.00420fa0
test eax, eax
je 0x416b88
movzx eax, byte [eax + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0xa8]
call fcn.00420fa0
test eax, eax
mov dword [esp + 0x30], eax
je 0x416b88
movzx esi, byte [eax + 8]
lea ecx, [esi + esi + 2]
cmp edi, ecx
mov dword [esp + 0x2c], esi
jb 0x416b88
push edi
push 0
push edx
call fcn.00433ff0
mov eax, dword [esp + 0x34]
add esp, 0xc
push esi
lea edx, [esp + 0x44]
push edx
push eax
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x416c1a
add eax, 0xffffbb80
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
lea edx, [ebx + 8]
call fcn.004186e0
mov ebx, dword [esp + 0x24]
lea ecx, [esi + esi + 2]
sub ebx, ecx
add ebx, edi
push esi
lea edx, [esp + 0x44]
mov byte [ebx], 1
push edx
sub eax, 1
add ebx, 1
push ebx
mov dword [esp + 0x48], eax
call fcn.00436c40
mov edi, dword [esp + 0x3c]
xor eax, eax
add ebx, esi
add esp, 0xc
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00421030
mov ecx, esi
call fcn.00421070
push ebx
mov edx, 8
mov eax, esi
call fcn.00421090
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0x10]
add esp, 4
push eax
mov eax, esi
call fcn.00421090
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x44]
add esp, 4
push ecx
mov edx, esi
lea eax, [esp + 0x14]
call fcn.00421090
add esp, 4
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004210c0
test byte [esp + 0x3c], 7
mov eax, 1
je 0x416cbe
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
sub edx, esi
push esi
sub edx, eax
sub edx, 1
push ebx
push edx
lea ecx, [edi + eax]
lea esi, [esp + 0x1c]
call fcn.00416590
add esp, 0xc
call fcn.00421000
mov edx, dword [esp + 0x18]
add edx, 8
call fcn.004186e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, eax
add ecx, 1
mov eax, 0xff
sar eax, cl
mov ecx, dword [esp + 0x2c]
push edi
push edi
and byte [edi], al
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x28]
mov byte [ecx + ebx], 0xbc
call fcn.004162d0
mov ecx, dword [esp + 0x94]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
Function at 0x417c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x32c
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x328], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
cmp ebx, 0x180
push edi
mov dword [esp + 0x10], eax
mov esi, ecx
jbe 0x417cca
mov eax, 0xffffffc8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
push 0x1a0
lea ecx, [esp + 0x194]
push 0
push ecx
call fcn.00433ff0
push 0x118
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00433ff0
mov eax, ebx
shr eax, 0x18
push ebx
mov byte [esp + 0x1bc], al
mov ecx, ebx
mov edx, ebx
lea eax, [esp + 0x1c4]
shr ecx, 0x10
shr edx, 8
push esi
push eax
mov byte [esp + 0x1c5], cl
mov byte [esp + 0x1c6], dl
mov byte [esp + 0x1c7], bl
mov byte [esp + 0x1cb], 0x30
call fcn.00436c40
lea edi, [ebx + 0x19]
add esp, 0x24
mov byte [esp + ebx + 0x1a8], 0x80
mov dword [esp + 0x14], edi
xor eax, eax
jmp 0x417d50
mov byte [esp + eax + 0x170], al
add eax, 1
cmp eax, 0x20
jl 0x417d50
lea ecx, [esp + 0x170]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, 0x100
call fcn.00422d00
add esp, 8
xor ebx, ebx
xor eax, eax
test edi, edi
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
jbe 0x417df6
lea esi, [esp + 0x190]
lea eax, [esp + 0x130]
sub esi, eax
lea ecx, [ecx]
xor ecx, ecx
lea eax, [esp + ecx + 0x130]
mov dl, byte [esi + eax]
xor byte [eax], dl
add ecx, 1
cmp ecx, 0x10
jl 0x417db2
add esi, 0x10
cmp edi, 0x10
mov eax, 0x10
jae 0x417dd5
mov eax, edi
sub edi, eax
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004233c0
add esp, 0xc
test edi, edi
ja 0x417db0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x138]
add byte [esp + 0x193], 1
mov dword [esp + ebx + 0x140], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + ebx + 0x144], eax
mov dword [esp + ebx + 0x148], ecx
mov dword [esp + ebx + 0x14c], edx
add ebx, 0x10
cmp ebx, 0x30
jl 0x417d7b
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov eax, 0x100
call fcn.00422d00
mov esi, dword [esp + 0x18]
add esp, 8
mov edi, 3
jmp 0x417e70
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x1c]
push 1
push eax
mov eax, edx
call fcn.004233c0
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x174]
mov dword [esi], ecx
mov ecx, dword [esp + 0x178]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
add esp, 0xc
add esi, 0x10
sub edi, 1
jne 0x417e70
mov eax, 0x118
lea ecx, [esp + 0x18]
sub eax, 1
mov byte [ecx], 0
add ecx, 1
test eax, eax
jne 0x417ec1
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
Function at 0x417ef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push 0x30
lea ebp, [esp + 0x10]
mov eax, ebp
push 0
push eax
call fcn.00433ff0
add esp, 0xc
mov dword [esp + 8], 3
mov ebx, 1
mov eax, 0x10
add byte [esi + eax - 1], bl
jne 0x417f44
add byte [esi + eax - 2], bl
jne 0x417f44
add byte [esi + eax - 3], bl
jne 0x417f44
add byte [esi + eax - 4], bl
jne 0x417f44
sub eax, 4
test eax, eax
jg 0x417f25
push ebp
lea eax, [esi + 0x20]
push ebx
push eax
mov eax, esi
call fcn.004233c0
add esp, 0xc
add ebp, 0x10
sub dword [esp + 8], ebx
jne 0x417f20
mov ebp, edi
lea edx, [esp + 0xc]
xor ecx, ecx
sub ebp, edx
jmp 0x417f70
lea eax, [esp + ecx + 0xc]
movzx edx, byte [eax + ebp]
xor byte [eax], dl
movzx edx, byte [edi + ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [edi + ecx + 2]
xor byte [eax + 2], dl
movzx edx, byte [edi + ecx + 3]
xor byte [eax + 3], dl
movzx edx, byte [edi + ecx + 4]
xor byte [eax + 4], dl
movzx edx, byte [edi + ecx + 5]
xor byte [eax + 5], dl
add ecx, 6
cmp ecx, 0x30
jl 0x417f70
lea eax, [esp + 0xc]
push eax
lea eax, [esi + 0x20]
push eax
mov eax, 0x100
call fcn.00422d00
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x3c]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043244e
add esp, 0x38
ret
Function at 0x41ceb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [ebp + 1]
push eax
push 0
push esi
call fcn.00433ff0
xor edx, edx
add esp, 0xc
test ebp, ebp
mov dword [esp + 0xc], edx
jbe 0x41cf47
movzx eax, byte [esp + 0x1c]
push edi
xor edi, edi
test eax, eax
jbe 0x41cf3b
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 4]
mov al, byte [edx + esi]
shl ebx, 5
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1c], al
cmp ebx, edx
ja 0x41cefb
xor eax, eax
jmp 0x41cf18
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 8]
mov eax, edx
shr eax, 5
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0x1f
shr eax, cl
and eax, 1
mov ecx, edi
shl al, cl
add edi, 1
add edx, ebp
or byte [esp + 0x1c], al
movzx eax, byte [esp + 0x20]
cmp edi, eax
jb 0x41cef3
mov dl, byte [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov byte [ecx + esi], dl
mov edx, ecx
add edx, 1
cmp edx, ebp
mov dword [esp + 0x10], edx
jb 0x41ced8
pop edi
mov ecx, 1
xor al, al
cmp ebp, ecx
jb 0x41cf94
mov bl, byte [ecx + esi]
mov dl, bl
and dl, al
xor bl, al
mov byte [esp + 0x18], dl
mov al, bl
and al, 1
mov dl, 1
sub dl, al
mov al, byte [ecx + esi - 1]
imul dl
mov byte [esp + 0xb], al
mov byte [ecx + esi], bl
and al, bl
movzx ebx, byte [esp + 0xb]
xor byte [ecx + esi], bl
or al, byte [esp + 0x18]
shl dl, 7
or dl, byte [ecx + esi - 1]
add ecx, 1
cmp ecx, ebp
mov byte [ecx + esi - 2], dl
jbe 0x41cf52
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x421100
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
xor edx, edx
cmp ecx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x1d0], ecx
jne 0x421188
mov dword [eax + 0x10], 0xf3bcc908
mov dword [eax + 0x14], 0x6a09e667
mov dword [eax + 0x18], 0x84caa73b
mov dword [eax + 0x1c], 0xbb67ae85
mov dword [eax + 0x20], 0xfe94f82b
mov dword [eax + 0x24], 0x3c6ef372
mov dword [eax + 0x28], 0x5f1d36f1
mov dword [eax + 0x2c], 0xa54ff53a
mov dword [eax + 0x30], 0xade682d1
mov dword [eax + 0x34], 0x510e527f
mov dword [eax + 0x38], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x9b05688c
mov dword [eax + 0x40], 0xfb41bd6b
mov dword [eax + 0x44], 0x1f83d9ab
mov dword [eax + 0x48], 0x137e2179
mov dword [eax + 0x4c], 0x5be0cd19
ret
mov dword [eax + 0x10], 0xc1059ed8
mov dword [eax + 0x14], 0xcbbb9d5d
mov dword [eax + 0x18], 0x367cd507
mov dword [eax + 0x1c], 0x629a292a
mov dword [eax + 0x20], 0x3070dd17
mov dword [eax + 0x24], 0x9159015a
mov dword [eax + 0x28], 0xf70e5939
mov dword [eax + 0x2c], 0x152fecd8
mov dword [eax + 0x30], 0xffc00b31
mov dword [eax + 0x34], 0x67332667
mov dword [eax + 0x38], 0x68581511
mov dword [eax + 0x3c], 0x8eb44a87
mov dword [eax + 0x40], 0x64f98fa7
mov dword [eax + 0x44], 0xdb0c2e0d
mov dword [eax + 0x48], 0xbefa4fa4
mov dword [eax + 0x4c], 0x47b5481d
ret
Function at 0x422730
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5e4
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x5e0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x459108
push eax
mov edi, ecx
call fcn.00438ae5
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x422805
push 0x1d8
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00433ff0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00421100
push ebx
push 0x400
lea ecx, [esp + 0x1fc]
push 1
push ecx
call fcn.00438466
add esp, 0x1c
test eax, eax
jbe 0x4227d0
lea edx, [esp + 0x1e8]
push edx
lea esi, [esp + 0x14]
call fcn.00422150
push ebx
push 0x400
lea eax, [esp + 0x1f4]
push 1
push eax
call fcn.00438466
add esp, 0x14
test eax, eax
ja 0x4227a3
lea ecx, [esp + 0x10]
call fcn.00422220
mov eax, 0x1d8
lea ecx, [esp + 0x10]
sub eax, 1
mov byte [ecx], 0
add ecx, 1
test eax, eax
jne 0x4227e2
push ebx
call fcn.0043885a
add esp, 4
test eax, eax
push ebx
je 0x42281f
call fcn.004352b8
add esp, 4
mov eax, 0xffffff86
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5e0]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret
call fcn.004352b8
mov ecx, dword [esp + 0x5f0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043244e
mov esp, ebp
pop ebp
ret

Function at 0x422840
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
mov edi, ecx
cmp edi, 0x80
mov esi, edx
jbe 0x422886
mov ebx, dword [esp + 0x64]
push ebx
push edi
lea edx, [esp + 0x18]
mov ecx, ebp
call fcn.004226a0
add esp, 8
neg ebx
sbb ebx, ebx
and ebx, 0xfffffff0
add ebx, 0x40
mov edi, ebx
lea ebp, [esp + 0x10]
push 0x80
lea eax, [esi + 0xd0]
push 0x36
push eax
call fcn.00433ff0
push 0x80
lea ebx, [esi + 0x150]
push 0x5c
push ebx
call fcn.00433ff0
add esp, 0x18
test edi, edi
jbe 0x4228cd
mov eax, ebx
mov ecx, ebp
movzx edx, byte [ecx]
xor byte [eax - 0x80], dl
movzx edx, byte [ecx]
xor byte [eax], dl
add ecx, 1
add eax, 1
sub edi, 1
jne 0x4228b7
mov ecx, dword [esp + 0x64]
mov eax, esi
call fcn.00421100
lea eax, [esi + 0xd0]
push eax
mov eax, 0x80
call fcn.00422150
add esp, 4
mov eax, 0x40
lea ecx, [esp + 0x10]
sub eax, 1
mov byte [ecx], 0
add ecx, 1
test eax, eax
jne 0x4228f5
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043244e
add esp, 0x4c
ret
Function at 0x422af0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x800
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
nop
mov edx, eax
and dl, 0x80
neg dl
lea esi, [eax + eax]
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
sbb edx, edx
and edx, 0x1b
xor edx, esi
xor edx, eax
and edx, 0xff
add ecx, 1
cmp ecx, 0x100
mov eax, edx
jl 0x422b00
mov eax, 1
mov ecx, 0x4629e0
jmp 0x422b40
mov edx, eax
and dl, 0x80
neg dl
mov dword [ecx], eax
sbb edx, edx
and edx, 0x1b
add eax, eax
xor edx, eax
and edx, 0xff
add ecx, 4
cmp ecx, 0x462a08
mov eax, edx
jl 0x422b40
mov byte [0x4620e0], 0x63
mov byte [0x46426b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x4620e0], al
mov byte [eax + 0x464208], bl
add ebx, 1
cmp ebx, 0x100
jl 0x422b78
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [ecx + 0x4620e0]
mov eax, edx
and al, 0x80
neg al
lea esi, [edx + edx]
sbb eax, eax
and eax, 0x1b
xor eax, esi
and eax, 0xff
mov esi, eax
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
mov dword [ecx*4 + 0x463e08], eax
rol eax, 8
mov dword [ecx*4 + 0x463a08], eax
rol eax, 8
mov dword [ecx*4 + 0x463608], eax
rol eax, 8
mov dword [ecx*4 + 0x463208], eax
movzx eax, byte [ecx + 0x464208]
test eax, eax
je 0x422ca1
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x422ca9
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x462e08], edx
rol edx, 8
mov dword [ecx*4 + 0x462a08], edx
rol edx, 8
mov dword [ecx*4 + 0x4625e0], edx
rol edx, 8
mov dword [ecx*4 + 0x4621e0], edx
add ecx, 1
cmp ecx, 0x100
jl 0x422bf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret