joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3247
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x525258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x48f56a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f576
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.0041fb70
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x48f5e3
push 0x48
call fcn.0045652a
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x48f5d7
push 0x48
push 0
push ebx
call fcn.00491120
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0048e1e0
jmp 0x48f5d9
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f610
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041fb70
push 3
push 0x5053b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041ad90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f65f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x48f6ae
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x48f6ae
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.0041fb70
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.004056d0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48f6e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48f6da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f721
push edx
push ecx
call fcn.004560cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x48f703
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004564ea
mov esp, ebp
pop ebp
ret 0x14
call fcn.0049b686
int3
Function at 0x4d6356
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x529500]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4d6397
cmp byte [edx], 0xa
jne 0x4d6397
or byte [eax + edi + 0x28], 4
jmp 0x4d639c
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x4d648d
mov al, byte [ebx]
cmp al, 0x1a
je 0x4d646e
cmp al, 0xd
je 0x4d63c5
mov byte [esi], al
inc esi
inc ebx
jmp 0x4d6463
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x4d63e5
cmp byte [eax], 0xa
jne 0x4d63da
push 2
mov byte [esi], 0xa
pop eax
jmp 0x4d63e0
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x4d6463
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d645c
cmp dword [ebp - 0x14], 0
je 0x4d645c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x529500]
test byte [eax + edi + 0x28], 0x48
je 0x4d6433
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x4d6423
mov byte [esi], dl
jmp 0x4d645f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x529500]
mov byte [eax + edi + 0x2a], dl
jmp 0x4d645f
cmp byte [ebp - 1], 0xa
jne 0x4d6445
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x4d6445
mov byte [esi], 0xa
jmp 0x4d63e2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c529c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4d6460
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x4d63ae
jmp 0x4d648d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x529500]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4d6488
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4d648d
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6498
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x529500]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x4d64dc
cmp word [edx], bx
jne 0x4d64dc
or byte [edi + eax + 0x28], 4
jmp 0x4d64e1
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x4d6635
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x4d6615
cmp ax, word [ebp - 0x10]
je 0x4d651a
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x4d660a
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x4d6540
push 0xa
pop ecx
cmp word [eax], cx
jne 0x4d6530
push ecx
pop eax
push 4
jmp 0x4d6535
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x4d6604
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d65fb
cmp dword [ebp - 0x18], 0
je 0x4d65fb
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x529500]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x4d65c7
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x4d658b
mov word [esi], ax
jmp 0x4d65bf
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x529500]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x529500]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x529500]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x4d660a
cmp word [ebp - 4], ax
jne 0x4d65dc
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x4d65dc
mov word [esi], ax
add esi, 2
jmp 0x4d660a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c529c
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4d6607
jmp 0x4d65fe
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x4d64fa
jmp 0x4d6635
mov ecx, dword [ecx*4 + 0x529500]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x4d662c
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x4d6635
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d711e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d6d1e

Function at 0x4d7129
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d6ea1

Function at 0x4dc5d3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dbd57

Function at 0x4dc5de
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dbf96

Function at 0x4dc8d6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dc7a3
Function at 0xf2592b
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf66562
push ebx
push 0x510b1fba
shr dword [esp], 0x7d
mov ebx, dword [esp]
mov bl, byte [ecx + ebx - 2]
dec byte [esp + 3]
xor ebx, edx
and ebx, 0xff
dec byte [esp + 2]
mov ebx, dword [ebx*4 + 0xf6f34c]
shr edx, 8
xor edx, ebx
inc ecx
sal byte [esp + 2], 0x82
neg word [esp]
xor edx, 0x291dfa3
push 0x48b0a125
dec edi
lea esp, [esp + 8]
jne 0xf43240
mov ebx, 0xf414972e
push ebx
mov ebx, dword [esp + 4]
lea esp, [esp + 8]
not edx
jmp 0xf51f8a
mov dword [ebp], edx
push 0x8b351420
lea esp, [esp + 4]
jmp fcn.00a87fe1
jmp 0xf4323f
lea esp, [esp + 8]
je 0xf4329a
jmp 0xf54932

Function at 0xf31bd5
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], esi
mov esi, 0x42a9568e
inc si
push esi
movzx esi, byte [eax + esi - 0x42a9568f]
xor esi, ecx
and esi, 0xff
push 0x1ea6f28b
mov esi, dword [esi*4 + 0xf54478]
shr ecx, 8
sar dword [esp], 0x7f
xor ecx, esi
sub word [esp + 3], 0xc826
inc eax
xor ecx, 0x5284f689
rol dword [esp + 4], 0x85
dec edi
mov dword [esp + 4], 0xd790308c
lea esp, [esp + 8]
jne 0xf31bd8
mov esi, 0xb7244b3f
pop esi
Function at 0x587ad0
Capabilities:
Encode data using xor

Disassembly:
popal
cld
cmpsd dword [esi], dword es:[edi]
test al, 0x9a
aad 0x89
imul eax, dword [ebp + 1], 0x54b97301
aam 0xfe
nop
frstor dword [ebp - 0x72]
sub eax, 0xf916e0f
iretd
jg 0x587b47
fnstenv [ecx]
inc esi
mul byte [esi + 0xc158189]
shl edi, 1
sbb eax, 0x7ee3e650
out 0x5b, eax
push ebp
inc edx
mov ch, 0xe6
jge 0x587a89
jne 0x587a88
cmp eax, 0xa07f3436
mov fs, word [edi]
adc dh, dl
stc
retf 0x7d1
aaa
imul eax, dword [esi - 0x5d9c7ef9], 0xcdfec226
dec esi
dec edx
xor byte [ecx - 0x37667f96], ch
mov ebx, 0x525f6efe
invalid

Function at 0x633067
Capabilities:
Execute syscall

Disassembly:
add esi, dword [edi + 0x53094011]
xchg edx, eax
push eax
mov word [edx - 0x5d], es
pop ebp
fsub dword [edx + 0x29]
test al, 0x6c
std
wait
pop edi
inc edx
push ebp
mov al, 0x84
inc eax
sbb ebp, ecx
fist word [0xfc64fdc4]
in eax, dx
fistp word [ebx*2 - 0x501f52a2]
scasb al, byte es:[edi]
inc ebp
cwde
xchg ecx, eax
mov al, 0x77
adc al, 0x65
imul ecx, dword [ebp - 0x21], 0x932915f1
dec edi
nop
pushal
xchg edi, eax
mov byte [eax + 9], dl
jns 0x632ffd
sbb dword [esi + edi*8], edx
mov ah, dh
mov esp, 0x8d149dbe
rcl byte [esi + 0x1b8399d]
dec esi
aaa
push eax
scasb al, byte es:[edi]
and dword [ebx + 0x13378638], esp
lea esp, [eax - 0x7c7a0135]
loop 0x632ff9
shl dword [edi + 0x126127cf], 0x2c
sldt edx
in al, dx
push 0x6a
sti
pop edi
mov dword [0x98561672], eax
push ss
push esi
cwde
push ss
push esi
cwde
jl 0x632ff1
fld xword [ebp + 0x7ab1b908]
push ebx
push ss
lds ebp, [ecx]
syscall
dec ebx
pushfd
imul edi, dword [ecx], 0x1a32cc97
ret 0x1df

Function at 0x649e62
Capabilities:
Encode data using xor

Disassembly:
cwde
imul ecx, dword [ebx + edx*8 + 0x4e], 0x18
sahf
xchg ecx, eax
sub dword [eax + 0x3d0213bf], esi
stc
or ecx, ebp
adc eax, 0x6f9efefd
sahf
outsd dx, dword [esi]
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x559c78d5
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2a1f30b2
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check mutex on windows

Disassembly:
push esi
xor esi, esi
push str.DE622D185C1BC760E40CCDB249B95612
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jb 0x40102d
jae 0x40102d
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
test eax, eax
je 0x401043
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x401045
mov eax, esi
pop esi
ret
Function at 0x401050
Capabilities:
Create directory
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
jb 0x401079
jae 0x401079
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x104]
push 0x1a
push eax
push 0
call esi
cmp eax, 1
je 0x4010e7
jb 0x4010b2
jae 0x4010b2
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push 1
lea ecx, [ebp - 0x104]
push 0x23
push ecx
push 0
call esi
cmp eax, 1
je 0x4010e7
lea edx, [ebp - 0x104]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x104]
push edx
push 0x104
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40120a
push ebx
jb 0x401114
jae 0x401114
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov edi, 0x406064
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [ebp - 0x104]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, str.QQAccelex.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jb 0x40119b
jae 0x40119b
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jb 0x4011d3
jae 0x4011d3
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
lea edx, [ebp - 0x208]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x208]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x208]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4013c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
or ebx, 0xffffffff
jb 0x4013e4
jae 0x4013e4
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40147a
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [ebp - 0x128]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40146a
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [ebp - 0x104]
push str.explorer.exe
push ecx
call edi
add esp, 8
test eax, eax
je 0x401464
lea edx, [ebp - 0x128]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40146a
lea eax, [ebp - 0x104]
push str.explorer.exe
push eax
call edi
add esp, 8
test eax, eax
jne 0x40143e
mov ebx, dword [ebp - 0x120]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
call fcn.004013c0
mov dword [ebp - 4], eax
xor bl, bl
jb 0x4014b8
jae 0x4014b8
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401535
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401525
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
cmp eax, dword [ebp - 0x124]
jne 0x401510
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
cmp ecx, eax
je 0x401523
lea edx, [ebp - 0x12c]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401525
jmp 0x4014f9
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018f0
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], 0x648
mov dword [ebp - 8], 0
jb 0x401925
jae 0x401925
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0xc], ebx
je 0x401a45
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jb 0x40196c
jae 0x40196c
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetNetworkParams
test eax, eax
je 0x40198d
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
test edx, edx
je 0x4019be
lea edi, [ebx + 0x110]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 8], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jb 0x4019dd
jae 0x4019dd
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov ebx, dword [ebx + 0x10c]
test ebx, ebx
je 0x401a32
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
shl edx, 4
add edx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x401a2c
cmp dword [ebp - 8], 0x80
jae 0x401a2c
lea edi, [ebx + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
inc ecx
add edx, 0x10
mov dword [ebp - 8], ecx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4019f2
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401d70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [0x4062f0]
push esi
push edi
mov ecx, 0x43
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jb 0x401da6
jae 0x401da6
push es
adc eax, dword [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov ax, word [0x4062f4]
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0x100
mov word [ebx], ax
call edi
push 1
mov word [ebx + 2], ax
call edi
mov word [ebx + 4], ax
xor eax, eax
push 1
mov word [ebx + 6], ax
mov word [ebx + 8], ax
mov word [ebx + 0xa], ax
call edi
push 1
mov dword [ebp - 4], eax
call edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
and ecx, 0xffff
add ecx, 2
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0xc], esi
jne 0x401e16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x18]
add edi, 2
push edi
push esi
push edx
call fcn.00401a50
add esp, 0xc
test eax, eax
jne 0x401e32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jb 0x401e52
jae 0x401e52
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add ebx, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov eax, ecx
inc eax
mov dword [ebp + 0x18], eax
and eax, 0xffff
mov ecx, eax
add ebx, eax
mov edx, ecx
mov ax, word [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp - 8]
mov word [ebx], ax
mov word [ebx + 2], cx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea eax, [ebp + 8]
mov ecx, dword [0x4062f0]
mov edx, dword [0x4062fc]
push 0x10
push eax
mov eax, dword [ebp + 0x18]
push 0
add ax, 0x10
and eax, 0xffff
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret