joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4144e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509f9e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x64], 9
je 0x414533
push 3
push 0x70fe80
mov ecx, esi
call fcn.0040f5c0
jmp 0x4145ea
push 0x19
push str.SOFTWAREMicrosoftOffice
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407f60
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00414610
mov edi, eax
cmp esi, edi
je 0x4145ac
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x414585
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004120a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41459d
mov eax, dword [esi]
jmp 0x41459f
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004107b0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4145c1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4145ea
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408600
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret 4
Function at 0x419fe0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a4f3
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi], 0
jne 0x41a0a3
cmp dword [esi + 4], 0
jne 0x41a0a3
push 0
push 0
push 0
push 0
push 0x70f8c0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
je 0x41a0a3
push 0x1b7740
push 0x1b7740
push 0xea60
push 0xea60
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004e7b30
add esp, 0xc
lea ecx, [ebp - 0x810]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x400
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41a0da
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x41a0ba
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00408600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret 0x20
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov edi, dword [ebp + 0x20]
push eax
push edi
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 4], eax
test eax, eax
jne 0x41a130
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x828]
xor bl, bl
call fcn.0040f850
jmp 0x41a0a5
lea ecx, [esi + 0x139c]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x41a147
push 0xffffffffffffffff
push 0
push eax
call fcn.00408060
mov al, byte [ebp + 0x24]
lea ecx, [ebp - 0x828]
mov dword [esi + 0x13b4], edi
mov bl, 1
mov byte [esi + 0x13b8], al
call fcn.0040f850
jmp 0x41a0a5
Function at 0x41b7b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a6e9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x72400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
call fcn.0041be30
lea ecx, [edi + 0x139c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41b820
mov eax, dword [ecx]
jmp 0x41b822
mov eax, ecx
mov byte [eax], 0
push 0
mov byte [ebp - 4], 1
push 0x70fe7c
mov dword [edi + 4], 0
mov dword [edi], 0
call fcn.00407f60
mov dword [edi + 0x13b4], 0
mov byte [edi + 0x13b8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
lea esi, [edi + 0x1c]
mov dword [edi + 0x18], edx
mov ecx, 1
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jl 0x41b866
mov dword [edi + 0x14], 0x270
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41be30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, 0x1571
mov eax, 1
mov dword [edi + 0x1384], 0xffffffff
lea esi, [edi + 8]
mov dword [edi + 4], 0x1571
mov ecx, edx
lea esi, [esi + 4]
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
inc eax
mov dword [esi - 4], edx
cmp eax, 0x270
jl 0x41be52
mov dword [edi], 0x270
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x41c8e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x41c8f0
pop esi
ret
Function at 0x41c930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x41c940
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x41c982
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x426d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b618
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x426e5e
cmp byte [ebx + 0x3d], 0
je 0x426e5e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x426d89
xor al, al
jmp 0x426e60
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00426bf0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x426def
sub eax, 1
je 0x426df3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x426e46
xor bl, bl
jmp 0x426e48
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x426e28
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004ee83a
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x426deb
cmp byte [ebx + 0x3d], 0
je 0x426e46
test esi, esi
jne 0x426db1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004115a0
jmp 0x426dae
mov bl, 1
cmp ecx, 0x10
jb 0x426e5a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408600
mov al, bl
jmp 0x426e60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret

Function at 0x427720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509706
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x72400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004ce575
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004d2daf
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429b70
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x58], ebx
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
cmp ecx, 1
jb 0x429cf3
mov eax, 0x38
cmp ecx, eax
cmovbe eax, ecx
push eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.004e80a0
movups xmm0, xmmword [0x67be68]
lea esi, [ebx + 0x10]
push 0x1000
movups xmmword [esi], xmm0
lea eax, [ebx + 0x58]
mov dword [ebp - 0x60], esi
movups xmm0, xmmword [0x67be78]
push 0x67beb0
push eax
movups xmmword [esi + 0x10], xmm0
mov dword [ebp - 0x54], eax
movups xmm0, xmmword [0x67be88]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x67be98]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [0x67bea8]
movq qword [esi + 0x40], xmm0
call fcn.004e80a0
add esp, 0x18
mov dword [ebp - 0x44], esi
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x12
xor esi, esi
nop dword [eax]
xor edx, edx
lea ebx, [edx + 4]
movzx eax, byte [edi]
lea ecx, [esi + 1]
shl edx, 8
inc edi
or edx, eax
cmp ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
cmovne eax, edi
xor esi, esi
cmp ecx, dword [ebp - 0x50]
mov edi, eax
cmovne esi, ecx
sub ebx, 1
jne 0x429c35
mov eax, dword [ebp - 0x44]
xor dword [eax], edx
add eax, 4
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x44], eax
jne 0x429c30
mov esi, dword [ebp - 0x60]
xor edi, edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00429d30
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 8], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 4], eax
cmp edi, 0x12
jb 0x429c78
mov dword [ebp - 0x40], 4
lea eax, [ebx + 0x58]
xor edi, edi
mov esi, eax
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00429d30
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 8], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 4], eax
cmp edi, 0x100
jl 0x429ca8
mov eax, dword [ebp - 0x54]
add eax, 0x400
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x54], eax
jne 0x429ca4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce564
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.std::exception.0
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], str.Incorrect_key_length
xorps xmm0, xmm0
mov byte [ebp - 0x58], 1
push eax
movq qword [ebp - 0x48], xmm0
call fcn.004e70df
add esp, 8
lea eax, [ebp - 0x4c]
push 0x721dd4
push eax
call fcn.004e7ab6
int3
Function at 0x430530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b618
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x43066d
cmp byte [ebx + 0x3e], 0
je 0x43066d
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x430594
xor al, al
jmp 0x43066f
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00426bf0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4305fe
sub eax, 1
je 0x430602
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x430655
xor bl, bl
jmp 0x430657
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x430637
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004ee83a
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4305fa
cmp byte [ebx + 0x3e], 0
je 0x430655
test esi, esi
jne 0x4305c0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004115a0
jmp 0x4305b9
mov bl, 1
cmp ecx, 0x10
jb 0x430669
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408600
mov al, bl
jmp 0x43066f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret

Function at 0x430a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509706
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x72400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004ce575
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004d2daf
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438f30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x234], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x438f87
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x438f99
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x439067
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop word [eax + eax]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x439051
cmp eax, 4
je 0x439051
cmp eax, edi
je 0x439051
push eax
push 0
push 0x43b
call ebx
test eax, eax
je 0x439051
push str.explorer.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jne 0x439051
mov eax, dword [ebp - 0x228]
cmp edi, eax
je 0x439051
push eax
push 0
push 0x400
call ebx
test eax, eax
je 0x439051
lea ecx, [ebp - 0x238]
push ecx
push 0x8f
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x439051
push dword [ebp - 0x234]
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x43907a
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x438fc0
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004ce564
mov esp, ebp
pop ebp
ret
Function at 0x43ae70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43ae7b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x43af37
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
sub edi, 1
jne 0x43ae90
pop edi
test esi, esi
je 0x43af5a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
sub esi, 1
jne 0x43af40
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x43b5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x43b613
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43b605
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x43b624
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.004e80a0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x43b68b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43b686
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x43b6b8
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x43b69c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.004e80a0
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x43b6cc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43b6c3
cmp byte [esi + 8], 0
je 0x43b6c3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c4a0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x43c4bb
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0
je 0x43c4b0
cmp dword [edi + 0x7c], 0
je 0x43c4cc
call fcn.0043c910
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.0043c210
add esp, 8
test eax, eax
je 0x43c4f0
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.004ecaf6
mov esi, eax
add esp, 4
test esi, esi
je 0x43c533
push 0x4000
call fcn.004ecaf6
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x43c53f
push esi
call fcn.004ecaf1
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x43c59a
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0043b170
test eax, eax
jne 0x43c59a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x43c5bd
mov al, byte [edi + 0x39]
jmp 0x43c5c0
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x43c63e
nop
mov al, byte [ebx]
test al, al
je 0x43c63e
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, dword [esi + 0x70]
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x67d0b0]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67d0b0]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x43c5f0
mov eax, dword [ebp - 0xc]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret