joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41208b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4344dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043435b

Function at 0x4395c0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439280
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10003649
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x1000379a
test ebx, ebx
je 0x1000379a
test ecx, ecx
je 0x1000379a
push esi
xor esi, esi
lea eax, [ebp - 0x20c]
push 0x208
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.1008dc90
push 0xffffffffffffffff
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.100907ee
push 0xffffffffffffffff
push 0x100d1d18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.100957ea
push 0x103
push str.QQDoctorQQDoctorComCfg
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.100957ea
add esp, 0x38
lea eax, [ebp - 0x20c]
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.10003613
test eax, eax
je 0x1000377f
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x214], esi
test eax, eax
je 0x10003785
lea ecx, [ebp - 0x214]
push ecx
push esi
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000377f
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x14]
jbe 0x1000374a
mov esi, 0x80028016
jmp 0x10003775
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10003785
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000377f
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x210]
jmp 0x1000378a
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x10003795
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x1000379f
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10003a1e
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 4], ecx
push ebx
mov ebx, edx
test ecx, ecx
jne 0x10003a39
or eax, 0xffffffff
jmp 0x10003b78
test ebx, ebx
jg 0x10003a45
push 0xfffffffffffffffe
pop eax
jmp 0x10003b78
cmp dword [ebp + 8], 0
jne 0x10003a4f
push 0xfffffffffffffffd
jmp 0x10003a3f
cmp dword [ebp + 0xc], 0
jg 0x10003a59
push 0xfffffffffffffffc
jmp 0x10003a3f
cmp dword [ebp + 0x10], 0
jne 0x10003a63
push 0xfffffffffffffffb
jmp 0x10003a3f
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jg 0x10003a6f
push 0xfffffffffffffffa
jmp 0x10003a76
cmp dword [ebp + 0xc], edi
jge 0x10003a7c
push 0xfffffffffffffff9
pop eax
jmp 0x10003b77
push esi
xor esi, esi
mov edx, esi
mov ecx, esi
mov esi, dword [ebp - 4]
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv ebx
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x10003a86
xor esi, esi
mov edi, esi
mov ebx, esi
mov dl, byte [ebp + ebx - 0x104]
movzx eax, byte [ebp + ebx - 0x204]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10003ad2
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + edi - 0x104], dl
mov byte [ebp + ebx - 0x104], al
inc ebx
cmp ebx, 0x100
jl 0x10003aac
mov edi, dword [ebp + 0x14]
mov eax, esi
test edi, edi
jle 0x10003b74
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
sub edx, ebx
inc eax
and eax, 0x800000ff
jns 0x10003b10
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [ebp + eax - 0x104]
add esi, eax
and esi, 0x800000ff
jns 0x10003b2d
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp - 4]
mov cl, byte [ebp + esi - 0x104]
mov al, byte [ebp + eax - 0x104]
mov byte [ebp + esi - 0x104], al
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x104], cl
movzx eax, byte [ebp + esi - 0x104]
movzx ecx, cl
add ecx, eax
movzx eax, cl
mov al, byte [ebp + eax - 0x104]
xor al, byte [edx + ebx]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
sub edi, 1
jne 0x10003b01
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003c1e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003c79
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003c6a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10003c66
cmp esi, ecx
jae 0x10003c6a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10003c54
cmp esi, ecx
jb 0x10003c6e
xor eax, eax
jmp 0x10003c78
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10003e0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003e84
cmp dword [ebp - 8], 1
je 0x10003e5c
cmp dword [ebp - 8], 2
je 0x10003e5c
push 0xd
pop eax
jmp 0x10003e84
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x10003e7e
test ecx, ecx
je 0x10003e79
test cl, 1
jne 0x10003e57
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x10003e7e
jmp 0x10003e57
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003f53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x218], ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x10003f7f
mov eax, dword [edi]
jmp 0x10003f81
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push str.http_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000403f
push esi
mov esi, 0x208
mov dword [ebp - 0x214], ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push 0x100d0a54
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [ebp - 0x218], ebx
pop esi
jne 0x1000403f
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095f64
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10001a48
add esp, 0xc
lea ecx, [ebp - 0x20c]
push eax
push ecx
mov ecx, edi
call fcn.10001ddf
xor eax, eax
inc eax
jmp 0x10004041
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10004051
Capabilities:
Query environment variable

Disassembly:
push 0x814
mov eax, 0x100bbc55
call fcn.1008b481
mov esi, ecx
mov edi, 0x400
lea eax, [ebp - 0x810]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.1008dc90
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.1008dc90
mov dword [ebp - 0x820], edi
xor eax, eax
lea edi, [ebp - 0x81c]
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
mov edi, 0x20019
mov dword [ebp - 4], ebx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_pathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d94
test eax, eax
jne 0x100041c2
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x100d0a54
lea ecx, [ebp - 0x81c]
call fcn.10003e0d
test eax, eax
sete bl
test eax, eax
je 0x10004142
lea ecx, [ebp - 0x81c]
call fcn.10003d7a
push edi
push str.SoftwareMicrosoftIE_SetupSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d94
test eax, eax
jne 0x10004142
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push str.Path
lea ecx, [ebp - 0x81c]
call fcn.10003e0d
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
je 0x100041c2
mov edi, 0x200
lea eax, [ebp - 0x410]
push edi
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jle 0x100041c2
push str.iexplore.exe
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.10095ba5
pop ecx
pop ecx
test eax, eax
je 0x100041a6
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push str.iexplore.exe
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.100957ea
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call fcn.10001a48
pop ecx
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.10001ddf
lea ecx, [ebp - 0x81c]
call fcn.10003d7a
mov eax, ebx
call fcn.1008b42b
ret

Function at 0x100041d5
Capabilities:
Create process on windows

Disassembly:
push 0xc
push 0x100fd9a8
call fcn.1008b8e0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push 5
push esi
push esi
call fcn.10001e70
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x1c], eax
jmp 0x1000420b
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.1008b926
ret
Function at 0x1000421b
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x100bbc8d
call fcn.1008b481
mov esi, ecx
push 0x100d0a54
lea ecx, [ebp - 0x40]
call fcn.100028c0
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.100041d5
mov edi, eax
push 0x20
pop eax
cmp eax, edi
jbe 0x1000439e
lea ecx, [ebp - 0x40]
call fcn.10003f53
test eax, eax
je 0x10004399
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.iexplore.exe
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1008ced4
pop ecx
pop ecx
test eax, eax
je 0x10004399
push 0x100d0a54
lea ecx, [ebp - 0x28]
call fcn.100028c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004051
test eax, eax
je 0x1000438e
push 0x40
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 0x44
push ebx
push eax
call fcn.1008dc90
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
add ebx, 4
add ebx, dword [esi + 0x10]
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10095838
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100042f5
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f53
jmp 0x100043a2
push 0x100d1f58
push ebx
push edi
call fcn.100954e7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.10095d66
push 0x100d1f5c
push ebx
push edi
call fcn.10095d66
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x1000432b
mov esi, dword [esi]
push esi
push ebx
push edi
call fcn.10095d66
add esp, 0xc
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.100956fc
pop ecx
test esi, esi
je 0x100042e3
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x90]
call esi
xor esi, esi
inc esi
jmp 0x100042e5
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f53
push 0x20
pop eax
cmp eax, edi
sbb esi, esi
neg esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f53
mov eax, esi
call fcn.1008b42b
ret
Function at 0x1000443d
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 8
mov eax, 0x100bbcf2
call fcn.1008b481
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x14], esi
call fcn.1000564f
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100044b5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100044b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100044b5
lea ecx, [ebp - 0x14]
call fcn.100043b5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x100044b8
mov ecx, eax
call fcn.1000443d
test eax, eax
je 0x100044b8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100044b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100044b8
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018f3
mov eax, esi
call fcn.1008b42b
ret

Function at 0x10004712
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ebx, 0x412
mov dword [ebp - 0x424], eax
xor edi, edi
lea eax, [ebp - 0x418]
push ebx
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x420], edi
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x420]
push eax
push 0x20119
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004885
push ebx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
push edi
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x41c]
lea esi, [ebp - 0x418]
mov ebx, edi
push eax
mov eax, esi
push eax
push edi
push edi
jmp 0x1000480a
inc ebx
cmp ebx, 4
ja 0x1000483d
mov eax, dword [ebp - 0x41c]
add eax, 0x209
mov dword [ebp - 0x41c], eax
test esi, esi
je 0x100047e3
lea ecx, [ebp - 0x418]
cmp ecx, esi
je 0x100047e3
push esi
call fcn.100956fc
mov eax, dword [ebp - 0x41c]
pop ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10095838
mov esi, eax
pop ecx
test esi, esi
je 0x10004838
lea eax, [ebp - 0x41c]
push eax
push esi
push 0
push 0
push str.Start_Page
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 0xea
je 0x100047ad
test edi, edi
jne 0x10004840
test esi, esi
je 0x10004840
push esi
call fcn.10001a48
pop ecx
push eax
push esi
jmp 0x1000484e
push 8
pop edi
jmp 0x10004825
push 8
pop edi
mov ebx, 0x100d0a54
push ebx
call fcn.10001a48
pop ecx
push eax
push ebx
mov ecx, dword [ebp - 0x424]
call fcn.10001ddf
test esi, esi
je 0x1000486e
lea eax, [ebp - 0x418]
cmp eax, esi
je 0x1000486e
push esi
call fcn.100956fc
pop ecx
cmp dword [ebp - 0x420], 0
je 0x10004883
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10004ce3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x100bbe5b
call fcn.1008b481
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.1000159b
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x10004d43
lea eax, [ecx - 1]
test eax, eax
js 0x10004da9
cmp eax, ecx
jg 0x10004da9
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x10004d43
cmp eax, 0x2f
je 0x10004d43
push 1
push 0x100d1d18
lea ecx, [ebp - 0x14]
call fcn.10003991
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004d56
test eax, 0x4800
jne 0x10004d8e
lea ecx, [ebp - 0x14]
call fcn.10004c7e
lea ecx, [ebp - 0x14]
call fcn.100043b5
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], ebx
je 0x10004d8b
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
mov dword [ebp - 0x18], edi
call fcn.1000159b
add eax, 0x10
mov dword [edi], eax
call fcn.10004ce3
pop ecx
test eax, eax
je 0x10004d8e
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.100018f3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.100018f3
mov eax, ebx
call fcn.1008b42b
ret
push 0x80070057
call fcn.10001e58
int3

Function at 0x10004db4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
jb 0x10004dcc
mov ecx, dword [ecx]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x10004dea
or edx, 0xffffffff
mov eax, edx
jmp 0x10004e02
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test edx, edx
jg 0x10004e02
jl 0x10004dfa
test eax, eax
jae 0x10004e02
or eax, 0xffffffff
mov edx, closesocket
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x10005156
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x238], edx
push edi
push 2
mov dword [ebp - 0x234], ecx
mov esi, edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10005193
xor eax, eax
jmp 0x1000525e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10005255
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x228], eax
je 0x100051d5
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100051b3
jmp 0x100051db
mov esi, dword [ebp - 0x218]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100051f6
mov eax, esi
jmp 0x1000525e
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1000521c
cmp dword [ebp - 0x228], esi
je 0x10005222
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10005206
jmp 0x10005253
mov esi, dword [ebp - 0x228]
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x10005231
sub edx, ecx
lea eax, [ebp - 0x20c]
mov ecx, dword [ebp - 0x238]
sar edx, 1
push edx
push eax
call fcn.10005c3c
mov edi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret

Function at 0x1000619f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [esi]
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 8], 0x10
push dword [esi + 0x100d2370]
call edi
mov dword [ebp + esi - 0x1c], eax
add esi, 4
cmp esi, 0x10
jl 0x100061c8
mov ebx, dword [ebp - 0xc]
mov esi, 0xe3779b90
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [esi + ebx]
xor ecx, eax
sub edx, ecx
mov ecx, edx
mov eax, edx
shl ecx, 4
add ecx, dword [ebp - 0x1c]
shr eax, 5
add eax, dword [ebp - 0x18]
xor ecx, eax
lea eax, [esi + edx]
xor ecx, eax
lea esi, [esi + 0x61c88647]
sub ebx, ecx
sub dword [ebp - 8], 1
jne 0x100061e7
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov dword [ebp - 4], edx
call edi
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
push eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret