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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100c51e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x100785a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x100786bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x100785bd
mov eax, 0xffffffc7
jmp 0x100786be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x100785ce
cmp dword [esi + 8], eax
jne 0x100785bd
cmp dword [esi + 8], eax
jne 0x100785e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x100785e7
mov eax, 0xffffffc7
jmp 0x100786be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x100785fb
push eax
mov ecx, ebx
call fcn.10077da0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1004d3d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1007862c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1004d3f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10077510
test eax, eax
mov dword [esp + 0x38], eax
je 0x1007865f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1057e1a0
call fcn.1004d5d0
mov eax, dword [esp + 0x38]
jmp 0x100786be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.100783d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x100786a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.100783f0
mov esi, eax
test esi, esi
jne 0x100786d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.100783d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10078675
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1057e1a0
call fcn.1004d5d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1057e1a0
call fcn.1004d5d0
mov eax, esi
jmp 0x100786be
Function at 0x10088c30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100c5ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100c7418]
push 0
lea ecx, [esp + 0x20]
call fcn.100be8b2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10088590
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100be7e0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100bb0b8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100bb0b8
push 1
push 0
push 0
mov ecx, esi
call fcn.100bb060
push 1
push 0
push 1
mov ecx, esi
call fcn.100bb060
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100be924
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10088db0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100c5af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100be8b2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10088590
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100be7e0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100c7418]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10088e74
cmp dword [esp + 0x40], 1
jne 0x10088e72
cmp ecx, eax
jge 0x10088e74
mov eax, ecx
cmp eax, 0xc8
jge 0x10088e80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10088c30
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100c741c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100be924
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10089670
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100c5ba3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100b94f3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x1057fc30
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x1057fb78
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100c709c]
push eax
mov ecx, edi
call fcn.100beb5a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100c0076
test eax, eax
je 0x1008978c
mov ecx, dword [esp + 0x3c]
call fcn.100beb87
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100c73f8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10089750
push edi
mov ecx, esi
call fcn.100bc1ce
mov ecx, esi
call fcn.10089940
cmp dword [esp + 0x38], 1
jne 0x10089785
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100bc309
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x1008b990
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1008b9c3
push esi
call fcn.10099d50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1008b9bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1008ba49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1008ba32
mov eax, dword [esi + 8]
test eax, eax
je 0x1008b9e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1008ba2e
cmp eax, 2
je 0x1008ba32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008b9da
cmp eax, 3
je 0x1008ba0d
cmp eax, 1
jne 0x1008b9da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1008b9da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1008b9da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1008ba70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1008ba58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1008ba70
add esp, 4
pop esi
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp dword [eax - 0x16836f70], edx
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10021590
Capabilities:
Encode data using xor

Disassembly:
push es
wait
xor dword [edx + 3], ebx
invalid
or eax, ebp
insb byte es:[edi], dx
push ebx
cmp ch, byte [ecx]
push es
pop ds
jne 0x10021542
test dword [edi], edi
mov ebp, 0xa6cc3a87
invalid
pop ds
loopne 0x100215b6
push ecx
push 0x26c11c7f
xchg esi, eax
lea edi, [esi + 0x56b731eb]
adc eax, 0x117f8af0
adc eax, 0x9af0c7f
pop ds
jle 0x100214ed
cmpsd dword [esi], dword es:[edi]
popfd
sbb ebp, ecx
test byte gs:[edx], dl
lds esi, [edi]
jecxz 0x10021587
and cl, byte [ecx]
dec edx
sbb ebx, dword [ebx + 2]
xchg dword [ebx + 0x1d384a9b], esi
lea esp, [esi - 0x4c]
jb 0x1002150c
iretd
xor bh, bh
pop esp
cmp ch, byte [ebx - 0x7bbd0813]
mov edx, 0x6bcda710
adc byte [edi - 0x578a9433], ah
call [edx + edi - 0x55]
in eax, dx
test dword [edx - 0x7c], 0xcda710ba
adc byte [edi - 0x578a9433], ah
xlatb
adc byte [edi - 0x578a9433], ah
xlatb
out 0xe4, eax
sbb eax, 0xc3c6306f
outsd dx, dword [esi]
imul ecx, dword [ecx], 0x50008cd6
xor byte [ecx + 0x211fab4e], cl
mov edx, dword [ecx - 0x59ce1041]
fdivrp st(4)
add eax, edx
sub dword [eax], edx
stosd dword es:[edi], eax
test eax, 0xc6198615
clc
sbb bh, byte [ebp + 0x66]
jecxz 0x10021586
adc byte [ebx + 0x198615a9], ch
invalid
cwde
add al, 0x47
push esp
invalid

Function at 0x10a8c714
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10a8c71e
pushal
call 0x10a8c724
pop ebp
sub ebp, 0x10
sub ebp, 0xa8c714
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10a8c748
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10a8c751
mov eax, 0xa8c714
add eax, ebp
add eax, 0x63
mov ecx, 0x57c
mov edx, 0x583d8807
xor byte [eax], dl
inc eax
dec ecx
jne 0x10a8c768
jmp 0x10a8c77b
mov edx, cs
mov word [esi + 0x707073b], cs
xchg dh, al
inc dword [edi]
pop es
pop es
add al, 0xca
mov edi, 0x7070701
mov ebp, 0x707072f
invalid
Function at 0x10044350
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004451d
pushal
mov esi, section.text
lea edi, [esi - 0x2f000]
push edi
or ebp, 0xffffffff
jmp 0x1004437a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10044381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10044370
mov eax, 1
add ebx, ebx
jne 0x10044393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10044388
jne 0x100443a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10044388
xor ecx, ecx
sub eax, 3
jb 0x100443b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004442a
mov ebp, eax
add ebx, ebx
jne 0x100443c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100443d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100443f4
inc ecx
add ebx, ebx
jne 0x100443e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100443d5
jne 0x100443f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100443d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10044414
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10044405
jmp 0x10044376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10044414
add edi, ecx
jmp 0x10044376
pop esi
mov edi, esi
mov ecx, 0x691
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10044432
cmp byte [edi], 0x11
jne 0x10044432
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10044437
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x100444af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x441dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4425c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10044464
mov ecx, edi
jns 0x10044493
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44260]
or eax, eax
je 0x100444a9
mov dword [ebx], eax
add ebx, 4
jmp 0x10044481
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100444e0
cmp al, 0xef
ja 0x100444d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100444b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100444c2
mov ebp, dword [esi + 0x44264]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10044514
sub esp, 0xffffff80
jmp 0x1000b547
Function at 0x40894b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408984
inc edx
add ebx, 0xac43e35c
xor dword [edi], esi
sub ebx, 0x9818ccdc
sub edx, 1
add edi, 1
dec edx
sub edx, 0x1dc3bea
cmp edi, ecx
jne fcn.0040894b
add ebx, edx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x408953
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
sub ecx, 0xfbc984f3
sub ebx, ebx
call fcn.00408987
mov ecx, 0x397b915f
and ecx, ecx
xor dword [esi], eax
mov ebx, ecx
and ecx, ebx
inc esi
push 0x2b01d15a
pop ebx
cmp esi, edx
jne fcn.00408953
mov ecx, 0xdd4d000
ret
Function at 0x401635
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409194
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x28], 0x4000
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 2
call sub.MPR.dll_WNetOpenEnumA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401681
xor eax, eax
jmp 0x40181d
mov edx, dword [ebp - 0x28]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00404760
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4017e0
mov dword [ebp - 0x20], 0
jmp 0x4016d6
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jae 0x4017de
mov edx, dword [ebp - 0x20]
shl edx, 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0xc]
and ecx, 1
cmp ecx, 1
jne 0x4017a7
mov edx, dword [ebp - 0x20]
shl edx, 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x14]
push ecx
lea ecx, [ebp - 0x38]
call section..text
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
push edx
call fcn.00401aef
add esp, 4
mov byte [ebp - 0x30], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401190
mov eax, dword [ebp - 0x30]
and eax, 0xff
test eax, eax
je 0x4017a7
push 8
call fcn.0040434b
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x40176b
push 0
mov ecx, dword [ebp - 0x40]
call section..text
mov dword [ebp - 0x44], eax
jmp 0x401772
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
shl eax, 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax + 0x14]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.004010a7
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402490
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x20]
shl ecx, 5
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0xc]
and eax, 2
cmp eax, 2
jne 0x4017d9
mov ecx, dword [ebp - 0x20]
shl ecx, 5
mov edx, dword [ebp - 0x10]
add edx, ecx
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401635
jmp 0x4016cd
jmp 0x4017eb
cmp dword [ebp - 0x18], 0x103
je 0x4017eb
jmp 0x4017f8
cmp dword [ebp - 0x18], 0x103
jne 0x401690
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x24]
push edx
call sub.MPR.dll_WNetCloseEnum
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401818
xor eax, eax
jmp 0x40181d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40182d
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4091a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], 0x4000
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 2
call sub.MPR.dll_WNetOpenEnumA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401879
xor eax, eax
jmp 0x4019ca
mov edx, dword [ebp - 0x28]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00404760
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40198d
mov dword [ebp - 0x20], 0
jmp 0x4018ce
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jae 0x40198b
mov edx, dword [ebp - 0x20]
shl edx, 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0xc]
and ecx, 1
cmp ecx, 1
jne 0x401954
push 8
call fcn.0040434b
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x401918
push 0
mov ecx, dword [ebp - 0x34]
call section..text
mov dword [ebp - 0x38], eax
jmp 0x40191f
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
shl ecx, 5
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004010a7
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402490
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x20]
shl edx, 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0xc]
and ecx, 2
cmp ecx, 2
jne 0x401986
mov edx, dword [ebp - 0x20]
shl edx, 5
mov eax, dword [ebp - 0x10]
add eax, edx
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040182d
jmp 0x4018c5
jmp 0x401998
cmp dword [ebp - 0x18], 0x103
je 0x401998
jmp 0x4019a5
cmp dword [ebp - 0x18], 0x103
jne 0x401888
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x24]
push eax
call sub.MPR.dll_WNetCloseEnum
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4019c5
xor eax, eax
jmp 0x4019ca
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x401aef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4091d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push 0
lea ecx, [ebp - 0x14]
call section..text
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040106a
push str._tst
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004011a5
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040106a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401190
push 0
push 0x40000080
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x401bb8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401190
mov al, byte [ebp - 0x24]
jmp 0x401bce
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401190
mov al, byte [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x401c87
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xf003f
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push str.REG_SZ
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402480
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402480
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402480
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x401d05
mov al, 1
jmp 0x401d07
xor al, al
mov esp, ebp
pop ebp
ret