joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1190
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a9b98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x28]
mov dword [esi], 0
push 0x14
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.004dc114
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 4]
mov dword [ebp - 4], 0
push eax
mov dword [edi], 0
mov dword [edi + 0x30], 0
call fcn.00460530
add esp, 8
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 0x4614a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e13b1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a9b98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xc
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004dc114
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esi + 0x88], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], 0
mov byte [esi + 0xd4], 1
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
movq qword [esi + 0x60], xmm0
mov ecx, dword [esi + 0x24]
mov byte [ebp - 4], 3
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0x20]
push eax
push 1
lea eax, [esi + 0x68]
push 0
push eax
call fcn.00463550
mov dword [esi + 0x44], 0
xorps xmm0, xmm0
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], 0
mov edx, dword [esi + 0x24]
mov edi, dword [esi]
add edi, 0x248
push edi
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ecx
mov eax, dword [0x6ac0d8]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xc4], 0
mov byte [esi + 0xc8], 0
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], ecx
push edx
call fcn.00463e90
add esp, 0x20
test al, al
jne 0x4616b2
cmp byte [0x6ac03d], 1
jbe 0x461699
movzx eax, byte [edi]
push eax
call fcn.004649c0
push eax
mov eax, dword [esi]
add eax, 0x3e8
push eax
push str._s_pingprobe_type__s_is_inappropriate_for_this_scan_type__resetting._n
push 0x400
call fcn.004560d0
add esp, 0x14
mov eax, dword [esi]
xor ecx, ecx
mov dword [eax + 0x248], ecx
mov word [eax + 0x24c], cx
mov eax, dword [esi]
mov dword [eax + 0x250], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x488cc0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
lea eax, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004881b0
mov esi, eax
add esp, 8
test esi, esi
je 0x488d01
mov eax, dword [ebp + 0xc]
sub esi, edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
mov dword [eax], ecx
mov cl, 3
mov dword [eax + 4], edx
mov byte [eax + 8], cl
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4fd4f0
push edi
call dword [0x4e34e4]
add esp, 8
test eax, eax
je 0x488d28
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x488d2a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push edi
call fcn.00488140
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x488dc5
push 0x2e
push edi
call fcn.004dd8c3
mov esi, eax
add esp, 8
test esi, esi
je 0x488d1f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x488d58
sub ecx, edx
cmp ecx, 0xc8
ja 0x488d1f
lea edx, [ebp - 0xd4]
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x488d73
call dword [0x4e3344]
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp + esi - 0xd4], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00488140
mov esi, eax
add esp, 0xc
test esi, esi
je 0x488d1f
mov eax, edi
lea ecx, [ebp - 0xd4]
sub eax, ecx
add esi, eax
test esi, esi
je 0x488d1f
mov eax, dword [ebp + 0xc]
sub esi, edi
movsd xmm0, qword [ebp - 8]
mov cl, 0x13
pop edi
movsd qword [eax], xmm0
mov byte [eax + 8], cl
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call dword [0x4e3344]
mov ecx, dword [ebp + 8]
xor edi, edi
xor esi, esi
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov al, byte [ecx]
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4ffaa9], 8
je 0x488ee3
nop
mov al, byte [ecx + 1]
inc ecx
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4ffaa9], 8
jne 0x488ed0
mov al, byte [ebp + 0xb]
lea edx, [ecx + 1]
cmp al, 0x2d
jne 0x488ef6
mov dword [ebp - 0xc], 1
jmp 0x488efe
cmp al, 0x2b
mov dword [ebp - 0xc], esi
cmovne edx, ecx
cmp byte [edx], 0x30
jne 0x489034
mov al, byte [edx + 1]
cmp al, 0x78
je 0x488f16
cmp al, 0x58
jne 0x489034
movsd xmm2, qword [0x4fd558]
add edx, 2
mov al, byte [edx]
movsx ecx, al
mov byte [ebp + 0xb], al
cmp ecx, dword [ebp - 0x10]
jne 0x488f3e
cmp dword [ebp - 4], 0
jne 0x488f90
mov dword [ebp - 4], 1
inc edx
jmp 0x488f21
movzx eax, al
test byte [eax + 0x4ffaa9], 0x10
je 0x488f90
test edi, edi
jne 0x488f59
cmp byte [ebp + 0xb], 0x30
jne 0x488f59
inc dword [ebp - 8]
jmp 0x488f86
inc edi
cmp edi, 0x1e
jg 0x488f85
test byte [ecx + 0x4ffaa9], 2
je 0x488f6d
add ecx, 0xffffffd0
jmp 0x488f73
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x488f86
inc esi
cmp dword [ebp - 4], 0
je 0x488f8d
dec esi
inc edx
jmp 0x488f21
mov eax, dword [ebp - 8]
add eax, edi
je 0x489034
mov eax, dword [ebp + 0xc]
shl esi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x488fad
cmp al, 0x50
jne 0x48900f
mov al, byte [edx + 1]
xor ecx, ecx
mov byte [ebp + 0xb], al
cmp al, 0x2d
jne 0x488fc1
lea edi, [ecx + 1]
lea eax, [ecx + 2]
jmp 0x488fcd
xor eax, eax
xor edi, edi
cmp byte [ebp + 0xb], 0x2b
sete al
inc eax
add edx, eax
mov al, byte [edx]
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4ffaa9], 2
je 0x489034
movsx eax, byte [ebp + 0xb]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4ffaa9], 2
jne 0x488fe0
mov eax, ecx
neg eax
test edi, edi
cmove eax, ecx
add esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
cmp dword [ebp - 0xc], 0
je 0x48901c
xorps xmm1, xmmword [0x5266d0]
push esi
sub esp, 8
movsd qword [esp], xmm1
call dword [0x4e3360]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48e020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
xor eax, dword [ebp + 0x10]
test esi, esi
je 0x48e04f
push edi
mov edi, dword [ebp + 8]
movzx edx, byte [edi + esi - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub esi, 1
jne 0x48e034
pop edi
pop esi
pop ebp
ret

Function at 0x48e060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 6], 0
jne 0x48e0aa
mov edx, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0xc]
xor edx, esi
test esi, esi
je 0x48e09d
push edi
lea edi, [ebx + 0xf]
add edi, esi
mov ecx, edx
lea edi, [edi - 1]
mov eax, edx
shl ecx, 5
shr eax, 2
add ecx, eax
movzx eax, byte [edi + 1]
add ecx, eax
xor edx, ecx
sub esi, 1
jne 0x48e080
pop edi
pop esi
mov dword [ebx + 8], edx
mov eax, edx
mov byte [ebx + 6], 1
pop ebx
pop ebp
ret
mov eax, dword [ebx + 8]
pop ebx
pop ebp
ret
Function at 0x4a4960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 8], 0xff
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp - 0xc], 0x10
push edi
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
xor edi, dword [eax + 4]
mov dword [ebp - 0x10], edx
xor edx, dword [eax + 0x18]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0xc], ebx
xor edx, dword [ebp + 0xc]
mov ebx, dword [eax]
xor ebx, dword [eax + 0x10]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
xor dword [eax + 4], ecx
mov ecx, edi
xor ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
xor dword [eax], edx
mov edx, ebx
xor edx, esi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
shld ecx, esi, 0x11
mov dword [eax + 8], edx
shl esi, 0x11
xor ecx, edi
xor esi, ebx
mov dword [eax + 0x14], ecx
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov dword [eax + 0x10], esi
mov esi, dword [ebp - 4]
mov edx, esi
shrd esi, ebx, 0x13
shl edx, 0xd
shr ebx, 0x13
or ecx, esi
or edx, ebx
mov dword [eax + 0x18], ecx
sub dword [ebp - 0xc], 1
mov dword [eax + 0x1c], edx
jne 0x4a49a6
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call fcn.00482ed0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
call fcn.00482ed0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
or eax, 0xffffffff
cmp dword [0x6cd000], 0
push esi
jne 0x4d6d98
xor esi, esi
push ebx
mov edx, esi
mov ecx, esi
shr edx, 1
mov ebx, edx
xor ebx, 0xedb88320
and cl, 1
cmove ebx, edx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov edx, ebx
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
and bl, 1
cmove ecx, edx
mov dword [esi*4 + 0x6ccc00], ecx
inc esi
cmp esi, 0x100
jl 0x4d6ce7
mov dword [0x6cd000], 1
pop ebx
mov esi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x4d6dbe
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6ccc00]
cmp edx, esi
jl 0x4d6da5
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4d6dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor edx, edx
test esi, esi
jle 0x4d6dfd
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a8f80]
cmp edx, esi
jl 0x4d6de4
pop edi
not ecx
mov eax, ecx
mov edx, ecx
shr eax, 8
movzx esi, al
movzx eax, cl
shl eax, 8
or eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
or eax, edx
shr ecx, 0x18
shl eax, 8
or eax, ecx
pop esi
pop ebp
ret

Function at 0x4d7680
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
dec byte [ecx]
xor edi, edi
nop dword [eax]
mov eax, edi
inc byte [ecx]
cdq
inc edi
idiv dword [ebp + 0x10]
movzx esi, byte [ecx]
mov eax, dword [ebp + 0xc]
mov bl, byte [esi + ecx + 2]
movzx eax, byte [edx + eax]
add al, bl
add byte [ecx + 1], al
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [ecx + 1]
mov byte [eax + ecx + 2], bl
cmp edi, 0x100
jl 0x4d7690
mov al, byte [ecx]
pop edi
pop esi
mov byte [ecx + 1], al
pop ebx
pop ebp
ret
Function at 0x4d90f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6a9b98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor dl, dl
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
movzx esi, dl
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx + esi*4]
xor eax, dword [ecx + esi*4]
jne 0x4d913d
or eax, 0xffffffff
jmp 0x4d918e
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x4d9163
mov eax, ecx
shr eax, 8
test eax, eax
je 0x4d9159
mov al, byte [eax + 0x5222b0]
add al, 0x18
jmp 0x4d917c
mov al, byte [ecx + 0x5222b0]
add al, 0x10
jmp 0x4d917c
mov ecx, eax
shr ecx, 8
test ecx, ecx
je 0x4d9176
mov al, byte [ecx + 0x5222b0]
add al, 8
jmp 0x4d917c
mov al, byte [eax + 0x5222b0]
movzx ecx, al
inc ecx
cmp ecx, 0x20
jb 0x4d9189
xor eax, eax
jmp 0x4d918e
or eax, 0xffffffff
shl eax, cl
mov ecx, dword [ebx + esi*4 + 0x10]
mov edi, eax
mov dword [ebp + esi*4 - 0x14], eax
cmp eax, ecx
jbe 0x4d91a4
mov eax, ecx
mov dword [ebp + esi*4 - 0x14], ecx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + esi*4]
mov ebx, dword [ebp - 0x18]
cmp eax, esi
ja 0x4d9276
cmp eax, 0xffffffff
jb 0x4d91d6
inc dl
cmp dl, 4
jb 0x4d9127
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dc3a3
mov esp, ebp
pop ebp
ret
cmp dl, 4
jae 0x4d92b9
cmp edi, ecx
jae 0x4d92b9
lea esi, [ebx + 0x10]
push esi
push ebx
call fcn.004d8b90
mov ecx, dword [ebx + 0x20]
mov edi, eax
movups xmm0, xmmword [ebp - 0x14]
add esp, 8
mov dword [edi + 0x20], ecx
mov ecx, dword [ebx + 0x24]
mov dword [edi + 0x24], ecx
xor cl, cl
movups xmmword [esi], xmm0
nop dword [eax + eax]
movzx eax, cl
mov edx, dword [ebx + eax*4 + 0x10]
cmp edx, 0xffffffff
jb 0x4d923e
inc cl
cmp cl, 4
jb 0x4d9210
mov dword [ebx + 0x24], edi
pop edi
pop esi
mov dword [ebx + 0x20], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dc3a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + eax*4]
test edx, edx
jne 0x4d924d
and ecx, 0x80000000
jmp 0x4d9257
mov eax, edx
not edx
shr eax, 1
and eax, edx
and ecx, eax
test ecx, ecx
je 0x4d9223
mov dword [ebx + 0x20], edi
pop edi
pop esi
mov dword [ebx + 0x24], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dc3a3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
inc dl
mov dword [ebx + eax*4 + 0x10], esi
cmp dl, 4
jae 0x4d9298
movzx edi, dl
mov al, 4
add edi, 4
sub al, dl
movzx ecx, al
xor eax, eax
lea edi, [ebx + edi*4]
rep stosd dword es:[edi], eax
push dword [ebx + 0x20]
call fcn.004d8eb0
push dword [ebx + 0x24]
call fcn.004d8eb0
add esp, 8
mov dword [ebx + 0x24], 0x6cd24c
mov dword [ebx + 0x20], 0x6cd24c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dc3a3
mov esp, ebp
pop ebp
ret
Function at 0x4c9efc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.00405b24
xor eax, eax
push ebp
push 0x4ca067
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41db78]
call fcn.00403df4
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x428fdc]
call fcn.0042f1a8
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x429120]
call fcn.00430a98
mov dword [ebp - 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x43cdd8]
call fcn.0044d594
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x4ca04a
push dword fs:[edx]
mov dword fs:[edx], esp
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edx, dword [ebp - 0x2c8]
mov eax, dword [ebp - 8]
call fcn.00430e68
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0042f778
xor ecx, ecx
xor edx, edx
call fcn.0042aa70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x46d25c]
call fcn.00406750
add esp, 4
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004220d4
mov eax, dword [ebx]
call fcn.00406574
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca051
mov eax, dword [ebp - 8]
call fcn.00403e24
mov eax, dword [ebp - 0xc]
call fcn.00403e24
mov eax, dword [ebp - 0x10]
call fcn.00403e24
mov eax, dword [ebp - 0x14]
call fcn.00403e24
ret
Function at 0x4cc3e0
Capabilities:
Query service status

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov esi, edx
xor edi, edi
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
je 0x4cc42e
push 0xf01ff
mov eax, esi
call fcn.00405764
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
je 0x4cc428
push esp
push esi
call sub.advapi32.dll_QueryServiceStatus
mov edi, dword [esp + 4]
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, edi
add esp, 0x1c
pop edi
pop esi
pop ebx
ret

Function at 0x4d0d50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d0ee3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d0e66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004cca8c
lea eax, [ebx + 0x54]
mov edx, dword [0x46f884]
call fcn.00405d4c
xor eax, eax
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x5c]
mov edx, dword [0x46f8b0]
call fcn.00405d4c
xor eax, eax
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x64]
mov edx, dword [0x46f824]
call fcn.00405d4c
xor eax, eax
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0xc]
call fcn.0040657c
mov esi, eax
test esi, esi
jl 0x4d0df2
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebx + 0xc]
lea eax, [edx + eax*8 + 0x3c]
mov edx, dword [0x46f904]
call fcn.00405d4c
inc edi
dec esi
jne 0x4d0dd4
lea eax, [ebx + 0xc]
mov edx, dword [0x46f970]
call fcn.00405d4c
xor eax, eax
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x14]
mov edx, dword [0x46f9fc]
call fcn.00405d4c
mov eax, ebx
call fcn.00405538
lea eax, [ebx + 4]
call fcn.00405538
mov dword [ebx + 8], 5
lea eax, [ebx + 0x18]
call fcn.00405538
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, ebx
mov edx, dword [0x46faf0]
call fcn.00405d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0eea
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405550
ret
Function at 0x4d9064
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov edi, eax
lea ebp, [esp + 4]
xor ebx, ebx
mov dword [edi + 0x2c], edi
mov dword [edi + 0x28], 0x4d7230
mov eax, dword [edi + 0x28]
mov dword [esp], eax
lea eax, [edi + 0x2988]
push eax
push 0x20
push edi
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [edi + 0x918], eax
push 1
lea eax, [esp + 0x14]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4d923d
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4d923d
mov dword [ebp], 0xc
lea eax, [esp + 0x10]
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0xffffffff
push 0x4d9248
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8e0], eax
push 0x4d9268
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8e4], eax
push 0x4d9284
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8e8], eax
push 0x4d92a0
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8ec], eax
push 0x4d92bc
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8f0], eax
push 0x4d92e8
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8f4], eax
push 0x4d9304
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8f8], eax
push 0x4d9318
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x8fc], eax
push 0x4d932c
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x900], eax
push 0x4d9344
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x904], eax
push 0x4d935c
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x908], eax
push 0x4d937c
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x90c], eax
xor esi, esi
mov eax, dword [edi + esi*4 + 0x8e0]
push eax
call sub.KERNEL32.DLL_ResetEvent
inc esi
cmp esi, 0xc
jne 0x4d91ec
push 0x4d939c
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x2968], eax
push 0x4d93c8
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0xc4], eax
push 0x4d93f8
push 0
push 0
push ebp
call sub.KERNEL32.DLL_CreateEventA
mov dword [edi + 0x30], eax
mov bl, 1
mov eax, ebx
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret