joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101beeee
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.101bee6a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101bf05d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101bf05d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101bf012
jg 0x101bef4a
test eax, eax
je 0x101bf008
push 1
push 0x1000
call fcn.101b129e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101bef6d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101befff
push 0x8000
push ebx
call fcn.101bed9b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101bef96
jg 0x101bef91
cmp ecx, 0x1000
jb 0x101bef96
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101b1e45
add esp, 0x10
cmp eax, 0xffffffff
je 0x101befdb
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101bef91
jl 0x101befc2
test ecx, ecx
jne 0x101bef83
push dword [ebp - 0xc]
push ebx
call fcn.101bed9b
push esi
call fcn.101ae088
add esp, 0xc
xor ebx, ebx
jmp 0x101bf06b
cmp byte [edi + 0x24], 0
je 0x101beff2
cmp dword [edi + 0x20], 5
jne 0x101beff2
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101beffd
mov ebx, dword [edi + 0x18]
jmp 0x101befff
xor ebx, ebx
push esi
call fcn.101ae088
pop ecx
jmp 0x101bf06b
test ecx, ecx
jg 0x101befd4
jl 0x101bf012
test eax, eax
jae 0x101befd4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101b3d6c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101bf032
cmp byte [edi + 0x1c], 0
je 0x101befd4
jmp 0x101bf063
push ebx
call fcn.101abd4c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101befd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101bf06b
cmp byte [edi + 0x1c], 0
je 0x101bf068
mov ebx, dword [edi + 0x18]
jmp 0x101bf06b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101b3d6c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101bfa80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101bfaad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101bfaad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5f4c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f4c9b
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b9ec0]
pop edx
test eax, eax
je 0x5f4d6d
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f4d5c
test dword [ebp - 0x2a8], 1
jne 0x5f4d5c
and dword [ebp - 0x2a8], 0x100
jne 0x5f4d5c
push esi
push edx
push 4
push esi
call dword [edx + 0x122d39b1]
pop edx
pop esi
test eax, eax
je 0x5f4cff
jmp 0x5f4d5c
cmp word [esi], 0x5a4d
jne 0x5f4d5c
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f4d5c
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d375d]
pop edx
test eax, eax
je 0x5f4d5c
lea eax, [ebp - 0x28c]
push eax
call fcn.005f4bdc
test eax, eax
jne 0x5f4d55
jmp 0x5f4d5c
mov eax, esi
jmp 0x5f4d6d
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f4c9b
pop esi
leave
ret 4
Function at 0x1006908
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1006945
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1006922
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1006961
dec esi
je 0x100695a
dec esi
jne 0x1006966
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100c7473
Capabilities:
Get number of processors

Disassembly:
jmp 0x100bb794
call fcn.100bb77f
salc
arpl word [ebp - 0x79], cx
loop 0x100bb78a
adc eax, 0x24748b56
add al, 0x8d
mov dh, 0xd4
adc byte [edx], al
add byte [ecx + 0x5e042474], cl
push edx
mov dword [esp], ebp
push esp
pop ebp
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 0x80
xchg dword [esp], ebp
pop esp
sub esp, 4
mov dword [esp], ebx
push edi
mov dword [esp], esi
push 0x188b
mov dword [esp], edi
jmp 0x100e13b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x100da1dd
jmp 0x100c6476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x100d5856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x100dde32
jmp 0x100d586d
call fcn.100d5858
adc byte [eax - 0x77], dl
loopne 0x100d587c
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
rol byte [edi + eax*4], 4
and al, 0x5c
push eax
pop dword [ebp - 4]
push ecx
mov ecx, 0xc
add ecx, ebp
mov eax, dword [ecx]
pop ecx
push esi
mov dword [esp], eax
push dword [ebp - 4]
sub dword [esp], 0x3f8325ed
pop ecx
add ecx, 0x3f8325ed
push esi
mov dword [esp], ecx
push eax
mov eax, 8
add eax, ebp
mov edx, dword [eax]
pop eax
push eax
mov eax, 0x64
add edx, eax
pop eax
push ebx
mov dword [esp], edx
jmp 0x100bb77d
jmp 0x100da1f4
call fcn.100da1df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x100bbbce
push esi
mov esi, 0x6114390f
xor esi, 0x61143917
mov eax, esi
pop esi
mov eax, dword fs:[eax]
push eax
pop dword [ebp - 4]
push dword [ebp - 4]
pop eax
push dword [eax + 0x30]
sub dword [esp], 0x63f80c4b
pop ecx
add ecx, 0x63f80c4b
push eax
mov eax, 0xfffffff8
add eax, ebp
mov dword [eax], ecx
pop eax
push dword [ebp - 8]
pop edx
push ecx
mov ecx, 8
add ecx, edx
mov eax, dword [ecx]
pop ecx
push edx
mov edx, 0xffffffec
add edx, ebp
mov dword [edx], eax
pop edx
push ebx
mov ebx, 0
mov dword [ebp - 0x10], ebx
pop ebx
cmp dword [ebp - 0x10], 0
je 0x100bc698
jmp 0x100bd265

Function at 0x100e66f2
Capabilities:
Access peb ldr_data

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax - 0x4e23]
mov dword [esp + 4], eax
pop eax
jmp 0x100d5a70
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
mov ecx, 0x44235e6d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x45a15bf1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x104f93f0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x8c]
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], 0x56
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x63
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x87
mov byte [ebp - 0x4c], 0x6b
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x4a], 0x72
mov byte [ebp - 0x49], 0x6e
mov byte [ebp - 0x48], 0x65
mov byte [ebp - 0x47], 0x6c
mov byte [ebp - 0x46], 0x33
mov byte [ebp - 0x45], 0x32
mov byte [ebp - 0x44], 0x2e
mov byte [ebp - 0x43], 0x64
mov byte [ebp - 0x42], 0x6c
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x87
mov dword [0x105e32c8], 0xb8d
mov dword [0x105e32c4], 0xcd
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x104f9536
xor eax, eax
lea ecx, [ebp - 0x8c]
mov dword [0x105e32c8], 0xfffffe10
mov dword [0x105e32c4], 0x1a64
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xac], eax
call fcn.104f9c40
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.104f9680
xor ecx, ecx
mov dword [0x105e32c8], 0x21d9
cmp eax, 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], ecx
jne 0x104f9573
mov eax, dword [ebp - 0xb4]
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x8c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x4b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
je 0x104f94c2
jmp 0x104f9536
mov eax, dword [ebp - 0xb0]
mov dword [0x105e32c4], 0x94
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x105e32c8]
add ecx, 0x9fc
mov dword [0x105e32c4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xb8], eax
call fcn.104f91d0
mov eax, dword [ebp - 0xb8]
mov word [eax], 0x5a4d
add eax, 0x3c
mov dword [ebp - 0xbc], eax
xor eax, eax
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], 0xc0
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0xc0], 0x4550
add edx, 0xffc00000
mov dword [0x105e32c8], 0x10da
mov esi, dword [ebp - 0x98]
mov dword [esi + 0x5c], edx
mov edx, dword [0x105e32c8]
mov edi, dword [ebp - 0xb8]
mov dword [esi + 0x58], edi
mov dword [0x105e32c4], 0x11c
add edx, 0x1b90
mov dword [0x105e32c8], edx
cmp edi, 0
mov dword [ebp - 0xb4], eax
je 0x104f9525
mov eax, dword [ebp - 0xb8]
add eax, 0x2683
mov dword [0x105e32c4], 0x48a
mov dword [ebp - 0xb4], eax
jmp 0x104f9525
Function at 0x104f99d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x105e32cc], 0
mov dword [0x105e32d0], 0
mov dword [0x105e32dc], 0
mov dword [0x105e32c8], 0x263a
mov dword [0x105e32c4], 0x1b86
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x104f9b75
xor eax, eax
mov ecx, 0x263a
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x104f9a47
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov ebx, esi
add ebx, 1
add edx, 1
add ecx, 0xffffe647
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x105e32cc], edx
mov dword [0x105e32c4], 0xe08
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x105e32d0], edx
mov dword [0x105e32c4], 0x94c
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x105e32d4], cl
mov ecx, dword [ebp - 0x34]
mov dword [0x105e32c8], ecx
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x1c]
mov byte [edx + edi], cl
mov dword [0x105e32c4], 0x1891
mov cl, byte [0x105e32d4]
mov edx, dword [0x105e32d0]
mov edi, dword [ebp - 0x1c]
mov byte [edi + edx], cl
mov dword [0x105e32c8], 0x11ad
mov edx, dword [0x105e32cc]
movzx edx, byte [edi + edx]
mov ecx, dword [0x105e32d0]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x105e32dc], ecx
mov dword [0x105e32c4], 0xdf3
mov dword [0x105e32c8], 0x1469
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov dword [0x105e32c4], 0x1f6c
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
je 0x104f9b73
mov eax, dword [0x105e32cc]
mov ecx, dword [0x105e32d0]
mov edx, dword [0x105e32c8]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
jmp 0x104f9a47
jmp 0x104f9b75
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x104f9ee0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.104f9840
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x104fa02f
jmp 0x104fa074
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x104f9fc4
jmp 0x104f9fad
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.104fa7f0
lea ecx, [0x104fae30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], 0x320000
mov edx, dword [0x105e32b0]
mov dword [esp + 0x8c], edx
mov edx, dword [0x105e32b4]
mov dword [esp + 0x38], edx
mov edx, dword [0x105e32b8]
mov dword [esp + 0x54], edx
mov edx, dword [0x105e32bc]
mov dword [esp + 0x40], edx
mov edx, dword [0x105e32c0]
mov dword [esp + 0x68], edx
mov dword [0x105e32c8], 0xd80
mov dword [0x105e32c4], 0xffffff97
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x104fa05c
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jmp 0x104fa074
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x104fa05c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [0x105e32c8], 0x7d4
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], eax
mov dword [0x105e32c4], 0xffffe833
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.104f93f0
mov dword [0x105e32c4], 0x1531
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x105e32c8], 0x1920
mov dword [esp + 0xc], eax
jmp 0x104f9fa0
lea eax, [esp + 0x38]
mov dword [0x105e32c4], 0x2c2
mov dword [esp + 8], eax
call fcn.104fac90
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x104f9f28
jmp 0x104f9fa0
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x104f9f07
jmp 0x104f9fad
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x104fa4e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x105e32d0], 0
mov byte [0x105e32d4], 0
mov dword [0x105e32c4], 0x2679
mov dword [0x105e32cc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x104fa5fb
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x105e32d8], 0
mov dword [0x105e32c8], 0x1587
mov edx, dword [0x105e32d0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x105e32d8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x105e32d0], edx
mov dword [0x105e32c4], 0x19e3
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x105e32d4], cl
mov dword [0x105e32c4], 0x1b42
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x105e32d4]
mov edx, dword [0x105e32d0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x105e32c4], 0x658
mov edx, dword [0x105e32cc]
add edx, 1
mov dword [0x105e32cc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x104fa52a
jmp 0x104fa632
mov dword [0x105e32cc], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x104fa52a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x105e32c4]
add eax, 0x27
mov dword [0x105e32c4], eax
mov eax, dword [0x105e32cc]
add eax, 1
mov dword [0x105e32cc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x104fa5fb
jmp 0x104fa5e7
mov eax, dword [0x105e32c8]
add eax, 0x251d
mov dword [0x105e32c4], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x104fac90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [0x105e32c8], 0x1b9e
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x818
xor edx, edx
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x105e32c4], 0x818
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x104fad06
mov dword [0x105e32c4], 0x184e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x104fadd2
jmp 0x104fae0e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
je 0x104fad82
jmp 0x104fad59
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [0x105e32c4], ecx
add esp, 0x34
pop esi
pop ebp
ret
mov eax, dword [0x105e32c8]
add eax, 0xfffff9ea
mov dword [0x105e32c4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x104fadbd
jmp 0x104fae0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffff7f5
mov dword [0x105e32c4], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ecx
jl 0x104fad06
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x104fae0e
mov dword [0x105e32c4], 0x262f
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2], 0x6f
je 0x104fad36
jmp 0x104fae0e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x104facd9
jmp 0x104fae0e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x104fae0e
mov eax, 0xbb7
mov ecx, 1
mov dword [0x105e32c8], 0xa3c
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
je 0x104fad24
xor eax, eax
mov ecx, dword [0x105e32c8]
add ecx, 0xffffffb5
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jmp 0x104fad24
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0e2ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0e2ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x233e37bc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x29423cf7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x414a43
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0xfffffffb
lea esp, [esp]
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x414a60
cmp dl, 0xcc
jne 0x414aaa
inc eax
cmp eax, 0xffffffff
jle 0x414a53
mov al, byte [ecx]
cmp al, 0x8b
je 0x414a70
cmp al, 0x89
jne 0x414aaa
cmp byte [ecx + 1], 0xff
jne 0x414aaa
mov eax, 0x414aae
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x41e670], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x415014]
push eax
call dword [0x415038]
mov al, 1
ret 0xc
xor al, al
jmp 0x414aa7