joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1028459d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1029b5a0], 0
mov byte [0x1029b5a4], 0
mov esi, dword [0x1029b594]
add esi, 0xffffd949
mov dword [0x1029b598], esi
mov dword [0x1029b59c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1028462f
mov eax, dword [ebp - 0x20]
add eax, 0xffffc6b4
mov dword [0x1029b594], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1029b598]
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffee8e
mov dword [0x1029b594], ecx
mov dword [0x1029b59c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x10284657
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1029b59c]
add eax, 1
mov dword [0x1029b59c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028462f
jmp 0x10284601
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x100
mov dword [0x1029b5a8], 0
add eax, 0xffffde3a
mov dword [0x1029b594], eax
mov eax, dword [0x1029b5a0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x30], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029b5a8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x30]
idiv edi
mov dword [0x1029b5a0], edx
mov dword [0x1029b594], 0xfd0
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1029b5a4], bl
mov dword [0x1029b594], 0x987
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1029b5a4]
mov ecx, dword [0x1029b5a0]
mov byte [esi + ecx], bl
mov ecx, dword [0x1029b598]
mov edx, ecx
add edx, 0xffffed53
mov dword [0x1029b598], edx
mov esi, dword [0x1029b59c]
add esi, 1
mov dword [0x1029b59c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], edx
jl 0x10284657
jmp 0x102845ec
Function at 0x10284ad5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x1029b594], 0x1155
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [0x1029b598]
add ecx, 0xffffd96b
mov dword [0x1029b598], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1029b594]
add esi, 0xffffeb85
mov dword [0x1029b594], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x10284ba5
mov eax, dword [ebp - 0x1c]
add esp, 0x2c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [0x1029b594], 0x9fd
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x6c
je 0x10284b89
jmp 0x10284c43
mov dword [0x1029b598], 0xf0a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10284c30
jmp 0x10284c43
mov eax, 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10284b36
jmp 0x10284c43
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x10284bdc
mov dword [0x1029b598], 0x2657
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
jl 0x10284ba5
mov eax, dword [ebp - 0x2c]
mov dword [0x1029b594], 0x313
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10284c43
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x6f
jne 0x10284c43
mov dword [0x1029b598], 0x21b5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10284b67
jmp 0x10284c43
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10284b3f
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10284b36
Function at 0x10284df8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov ecx, dword [0x1029b594]
add ecx, 0x23cb
mov dword [0x1029b598], ecx
mov dword [ebp - 0x10], eax
call fcn.10284145
mov ecx, dword [0x1029b598]
mov edx, eax
add ecx, 0x393
mov dword [0x1029b598], ecx
mov ecx, dword [eax + 0x3c]
mov esi, edx
add esi, ecx
cmp dword [eax + ecx], 0x4550
sete bl
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x19], bl
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x19]
test dl, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x10284e65
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1029b594], 0xffffee18
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10284f8c
jmp 0x10284ec3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
jmp 0x10284ed5
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x10284ea7
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
je 0x10284f2c
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x55]
cmp dl, 0
setne ch
mov dh, byte [ebp - 0x56]
and dh, ch
and dh, cl
test dh, 1
mov dword [ebp - 0x50], eax
jne 0x10284ed5
mov al, byte [ebp - 0x56]
test al, 1
jne 0x10284f5f
jmp 0x10284f35
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
jb 0x10284ea7
jmp 0x10284f8c
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov dword [0x1029b594], 0xffffebea
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x1029b598], 0xa69
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10285073
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 [0x1029b59c], 0
mov dword [0x1029b5a0], 0
mov dword [0x1029b5ac], 0
mov dword [0x1029b594], 0x262a
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x102851f6
jmp 0x102850e4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov edi, edx
add edi, 1
add ecx, 1
mov dword [0x1029b598], 0x1602
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1029b59c], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1029b5a0], edx
mov dword [0x1029b598], 0x10
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1029b5a4], cl
mov dword [0x1029b594], 0x1cf
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1029b5a4]
mov edx, dword [0x1029b5a0]
mov byte [ebx + edx], cl
mov edx, dword [0x1029b598]
add edx, 0xffffee0a
mov dword [0x1029b594], edx
mov edx, dword [0x1029b59c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1029b5a0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1029b5ac], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
xor cl, byte [edx + esi]
mov byte [0x1029b5b0], cl
mov dword [0x1029b594], 0xb8d
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x1029b598], 0x98b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x3c], edi
je 0x102851f6
mov eax, dword [0x1029b59c]
mov ecx, dword [0x1029b5a0]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
jmp 0x102850e4
mov dword [0x1029b594], 0x84f
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10285208
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1029b594], 0xc11
mov dword [0x1029b598], 0x191d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10284739
lea ecx, [0x10285439]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x88], 0x12f400
mov edx, dword [0x1029b580]
mov dword [esp + 0x54], edx
mov edx, dword [0x1029b584]
mov dword [esp + 0x74], edx
mov edx, dword [0x1029b588]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1029b58c]
mov dword [esp + 0x68], edx
mov edx, dword [0x1029b590]
mov dword [esp + 0x60], edx
mov dword [0x1029b594], 0x1a51
mov dword [0x1029b598], 0xd1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x102852cb
mov eax, dword [esp + 0x18]
add eax, 0x3c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x102852ee
jmp 0x102852da
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x102852a5
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x102852cb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [0x1029b598], 0x1dc9
mov dword [0x1029b594], 0x190f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.10284ad5
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10285372
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
call fcn.10285494
mov dword [0x1029b594], 0x4ec
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1029b594], 0x1aad
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10285494
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1029b594], 0x777
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x10286250]
mov dl, byte [eax + 0x10286221]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x102854b5
lea eax, [ebp - 0x20]
mov dword [0x1029b594], 0xffffe077
mov dword [0x1029b598], 0x20fc
mov dword [ebp - 0x30], eax
call fcn.10285705
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.102842e8
xor ecx, ecx
mov dword [0x1029b598], 0x1b23
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x102855c8
mov eax, dword [ebp - 0x34]
mov dword [0x1029b594], 0x1726
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 dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1028446f
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x34], ecx
mov dword [0x1029b594], 0x21da
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov dword [0x1029b598], 0x26d
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x102855c8
mov eax, dword [ebp - 0x3c]
add eax, 0x1bd1
mov dword [0x1029b594], 0x124d
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x401100
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x405014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x404398]
movups xmm0, xmmword [str..PhysicalDrive0]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 3
push 0
mov word [ebp - 0x14], ax
mov al, byte [0x40439a]
push 3
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x24]
push 0
push eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
jne 0x401183
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004025e8
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x1000
push 0x405400
push 0xc
lea ecx, [ebp - 0x30]
push ecx
push 0x2d1400
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40116f
mov eax, dword [0x40540c]
test eax, eax
je 0x4011ce
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 0x405400]
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4011c0
mov eax, dword [0x405410]
test eax, eax
je 0x4011ee
lea ecx, [eax + 0x405400]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx], al
lea ebx, [ebx + 1]
test al, al
jne 0x4011e0
mov eax, dword [0x405414]
test eax, eax
je 0x40120e
lea ecx, [eax + 0x405400]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi], al
lea edi, [edi + 1]
test al, al
jne 0x401200
mov eax, dword [0x405418]
test eax, eax
je 0x40122e
lea ecx, [eax + 0x405400]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x401220
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025e8
mov esp, ebp
pop ebp
ret
Function at 0x401ab2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401af1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401af1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401af1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401af1
cmp dword [ecx + 0x74], 0xe
jbe 0x401af1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10004f87
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x101e2a98
call fcn.10042430
sub esp, 0x434
cmp dword [0x102770e4], 0
je 0x10004faa
mov eax, dword [0x102770e0]
jmp 0x10005158
push ebx
push esi
push edi
push 1
pop eax
mov esi, 0x20019
mov dword [0x102770e4], eax
mov dword [0x102770e0], eax
call fcn.10070090
test eax, eax
je 0x10004fcd
mov esi, 0x20219
lea ecx, [ebp - 0x18]
call fcn.1006a150
and dword [ebp - 4], 0
push esi
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.1006a270
push 4
test eax, eax
pop ebx
je 0x1000504e
mov esi, str.RunAs
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.1006c720
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.1006a410
movzx eax, al
test eax, eax
jne 0x1000501e
and dword [0x102770e0], eax
jmp 0x1000503e
push 2
pop ecx
cmp eax, ecx
jne 0x1000502d
mov dword [0x102770e0], ecx
jmp 0x1000503e
push 3
pop ecx
cmp eax, ecx
je 0x10005025
cmp eax, ebx
jne 0x1000503e
mov dword [0x102770e0], ebx
lea ecx, [ebp - 0x18]
call fcn.1006a2c0
test edi, edi
jne 0x10005141
and word [ebp - 0x238], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x236]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x440]
push 0x104
push eax
call fcn.100761a0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], esi
add esp, 0xc
mov dword [ebp - 0x24], str.ingress_sdm.exe
mov dword [ebp - 0x20], str.ist.exe
mov dword [ebp - 0x1c], str.OGuard.exe
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 3
lea esi, [ebp - 0x24]
mov ebx, 0x103
push dword [esi]
lea eax, [ebp - 0x440]
push eax
push 0x10239350
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.100424be
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
call edi
cmp eax, 0xffffffff
je 0x10005127
lea eax, [ebp - 0x440]
push str.winrdlv3.exe
push eax
push 0x10239350
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.100424be
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
call edi
cmp eax, 0xffffffff
je 0x10005135
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 3
jb 0x100050cc
jmp 0x10005141
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [0x102770e0], eax
mov esi, dword [0x102770e0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1006a1f0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x1000a62f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x101e2fd0
call fcn.10042430
sub esp, 0x22c
and dword [ebp - 0x20], 0
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [ebp - 0x1c], ecx
je 0x1000a871
mov ecx, dword [ebp + 0xc]
push esi
call fcn.1005b9d0
push esi
call fcn.10041fde
cmp eax, 1
pop ecx
jl 0x1000a871
mov ax, word [esi]
cmp ax, 0x61
jb 0x1000a67c
cmp ax, 0x7a
jbe 0x1000a690
cmp ax, 0x41
jb 0x1000a871
cmp ax, 0x5a
ja 0x1000a871
cmp word [esi + 2], 0x3a
jne 0x1000a871
mov ecx, dword [0x101fe014]
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
movzx eax, ax
push eax
lea eax, [ebp - 0x14]
push 0x1023eb38
push eax
call fcn.1005e700
mov eax, dword [0x101fe014]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov byte [ebp - 4], 1
mov ebx, 0x103
and word [ebp - 0x238], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x236]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x238]
push ebx
push eax
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x238]
push eax
call fcn.10041fde
test eax, eax
pop ecx
jbe 0x1000a72b
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x14]
push eax
call fcn.1005b9d0
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x10]
push eax
call fcn.1005b9d0
jmp 0x1000a6d4
lea ecx, [ebp - 0x30]
call fcn.1000aaa2
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp dword [eax - 8], 0
jne 0x1000a7d5
lea eax, [ebp - 0x14]
push 0x5c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1005ce20
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.1000aadd
lea ecx, [ebp - 0x30]
call fcn.1000abcd
test eax, eax
je 0x1000a841
and word [ebp - 0x238], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x236]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x238]
push ebx
push eax
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x238]
push eax
call fcn.10041fde
test eax, eax
pop ecx
jbe 0x1000a7c9
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x14]
push eax
call fcn.1005b9d0
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x10]
push eax
call fcn.1005b9d0
jmp 0x1000a772
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.1005b6f0
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.1005ac70
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
call fcn.1000a885
test eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
je 0x1000a812
call fcn.1005b6f0
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.1005ac70
jmp 0x1000a7e1
call fcn.1005b6f0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x1000a84d
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push eax
push 0x1023eb2c
push dword [ebp + 0xc]
call fcn.1005e700
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x1000a84d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.1005b6f0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1000aad2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1005b6f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1005b6f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8