joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002c00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1016120b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x140]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x138], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push ebx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, esi
jne 0x10002d32
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x10002c8e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
cmp eax, esi
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], ecx
jne 0x10002d32
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x24]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
jne 0x10002d12
jmp 0x10002cd0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10002c00
mov ebx, eax
cmp ebx, esi
jne 0x10002d7c
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x10002cd0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002d25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002d50
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.101003d3
add esp, 0x128
ret 4
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002d9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x10002d52
Function at 0x10008700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x20
push 0x1016b4f8
mov eax, dword [ebp + 8]
push eax
call fcn.10101b39
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10008729
xor al, al
jmp 0x100087b1
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10101ab4
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.101019bf
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.10101ab4
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100ffe35
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000877d
mov edx, dword [ebp - 8]
push edx
call fcn.101014f4
add esp, 4
xor al, al
jmp 0x100087b1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.1010180c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.101014f4
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000b730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 4], 0
je 0x1000b796
call fcn.1002e150
push 0
push 0
push esi
push 0x1000b700
push 0
push 0
mov edi, eax
call fcn.101025af
push edi
mov esi, eax
call fcn.1002e1f0
add esp, 0x1c
test esi, esi
je 0x1000b778
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pushal
pushfd
push esi
call fcn.1000b690
add esp, 4
mov dword [ebp + 8], eax
popfd
popal
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c5a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x10161e80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101b734c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10c]
cmp eax, 0x8ba
jne 0x1000c67f
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.10100e30
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 0
call fcn.100db890
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.10101c10
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100b1f70
mov edi, eax
test edi, edi
je 0x1000c7f2
push 0
push 0
push 0
push 6
push edi
call fcn.100b1f20
mov esi, eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x114]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.100b1f50
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x1000c7f4
cmp eax, 0x8bb
jne 0x1000c770
mov byte [ebp], 0
push 0xff
push 0
lea edx, [ebp + 1]
push edx
call fcn.10100e30
add esp, 0xc
mov eax, dword [ebp + 0x118]
push eax
push 0
call fcn.100db890
add esp, 4
push eax
lea ecx, [ebp]
push ecx
call fcn.10101c10
add esp, 0xc
lea edx, [ebp]
push edx
push 0
push 0xf001f
call fcn.100b1f70
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x1000c7f2
push 0
push 0
push 0
push 6
push ebx
call fcn.100b1f20
mov esi, eax
mov dword [ebp - 0x20], esi
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push eax
lea edx, [esi + 0x10]
push edx
push edi
call fcn.10102150
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x1000c731
mov eax, dword [ebp + 0x114]
push eax
mov eax, edi
call fcn.1000b730
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.100b1f50
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x1000c766
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, 1
jmp 0x1000c7f4
cmp eax, 0x8bc
jne 0x1000c7f2
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.10100e30
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 0
call fcn.100db890
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.10101c10
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100b1f70
mov edi, eax
test edi, edi
je 0x1000c7f2
push 0
push 0
push 0
push 6
push edi
call fcn.100b1f20
mov esi, eax
mov edx, dword [esi]
or edx, dword [esi + 4]
je 0x1000c668
push 0x8000
push 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x1000c668
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.101003d3
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001c1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], eax
mov cl, 0x61
mov al, 0x64
push esi
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
push edi
mov byte [esp + 0x15], al
mov byte [esp + 0x1d], al
mov al, 0x6c
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x1a], 0x76
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1001c2de
lea edx, [esp + 0x24]
mov al, 0x65
push edx
push esi
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x67
mov byte [esp + 0x2f], 0x4f
mov byte [esp + 0x30], 0x70
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x4b
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0x45
mov byte [esp + 0x37], 0x78
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x39], 0
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test edi, edi
je 0x1001c2de
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101003d3
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.101003d3
add esp, 0x28
ret 0x14

Function at 0x1001ddf0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.1002e150
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001dd70
push 0
push 0
mov edi, eax
call fcn.101025af
push edi
mov esi, eax
call fcn.1002e1f0
add esp, 0x1c
test esi, esi
jne 0x1001de42
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1001de60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov byte [esp + 0xc], al
mov byte [esp + 0xd], al
mov al, 0x74
mov dl, 0x77
mov cl, 0x69
mov byte [esp + 0x15], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x23], al
push esi
lea eax, [esp + 8]
push eax
mov byte [esp + 0xc], 0x44
mov byte [esp + 0xd], dl
mov byte [esp + 0xe], 0x6d
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x16], 0
mov byte [esp + 0x18], 0x44
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x27], 0x72
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x62
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1001df4c
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x1001df45
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
mov dword [esp + 0x14], 1
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.101003d3
add esp, 0x2c
ret
Function at 0x1001ebf0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10164eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov byte [esi + 4], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.10102c1f
add esp, 4
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x68
mov byte [esp + 0x20], 0x69
mov byte [esp + 0x21], 0x6a
mov byte [esp + 0x22], 0x6b
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], 0x6d
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x71
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x78
mov byte [esp + 0x2f], 0x79
mov byte [esp + 0x30], 0x75
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x42
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], 0x44
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x47
call fcn.10102c2c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001ed07
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
cmp eax, ebx
jle 0x1001ed3e
mov edi, eax
call fcn.10102c2c
and eax, 0x8000001f
jns 0x1001ed21
dec eax
or eax, 0xffffffe0
inc eax
mov al, byte [esp + eax + 0x18]
add al, 1
mov byte [esp + 0xc], al
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, esi
call fcn.1001eb20
sub edi, 1
jne 0x1001ed10
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101003d3
add esp, 0x3c
ret
Function at 0x1001f9f0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10162412
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
mov edi, dword [esp + 0x140]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x2d]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x34], bl
call fcn.10100e30
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x1001fa90
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001fa77
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.10009d90
jmp 0x1001fb3c
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x1001faba
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1016aa44
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009d90
jmp 0x1001fb3c
cmp word [eax + 0xa], 4
je 0x1001fac8
push 0x1016aa44
jmp 0x1001fb35
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov cl, 0x64
mov dl, 0x25
mov dword [esp + 0x14], eax
mov byte [esp + 0x1d], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0x26], cl
movzx ecx, byte [esp + 0x17]
push ecx
mov byte [esp + 0x20], dl
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x29], dl
movzx edx, byte [esp + 0x1a]
push edx
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x36], 0x2e
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3f], bl
call fcn.10101c10
add esp, 0x18
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.1000a050
mov dword [esp + 0x134], ebx
mov dword [esp + 0x10], 1
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.101003d3
add esp, 0x128
ret
Function at 0x1001fb80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x10162448
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.1001f9f0
add esp, 8
xor ebx, ebx
mov dword [esp + 0x40], ebx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x1001fbf9
mov dword [esp + 0x40], eax
cmp dword [esp + 0x20], 0x10
jb 0x1001fbf2
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100eedad
add esp, 4
xor eax, eax
jmp 0x1001fc86
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
mov word [esp + 0x24], 2
jae 0x1001fc0f
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [esp + 0x4c]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi]
mov word [esp + 0x26], ax
push 0x10
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1001fc65
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001fbf2
mov edx, dword [esp + 0xc]
push edx
call fcn.100eedad
add esp, 4
xor eax, eax
jmp 0x1001fc86
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001fc81
mov eax, dword [esp + 0xc]
push eax
call fcn.100eedad
add esp, 4
mov eax, 1
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101003d3
add esp, 0x3c
ret
Function at 0x10020b30
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jg 0x10020b41
pop ebp
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3278]
cmp eax, ebx
je 0x10020b89
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x10020c25
mov eax, dword [edi + 0x3278]
mov esi, dword [edi + 0x3274]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
mov dword [edi + 0x3278], ebx
call fcn.100ffef8
add esp, 4
mov dword [edi + 0x3274], ebx
push 0x510
call fcn.100ffe35
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10020c25
push 0x510
push ebx
push esi
call fcn.10100e30
mov eax, dword [esp + 0x24]
mov edx, esi
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10020bb7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x104], ecx
mov dword [esi + 0x100], edx
mov dword [esi + 0x108], ebp
mov dword [edi + 0x3274], esi
call fcn.1002e150
push ebx
push ebx
push esi
push 0x1001fcc0
push ebx
push ebx
mov ebp, eax
call fcn.101025af
push ebp
mov dword [edi + 0x3278], eax
call fcn.1002e1f0
add esp, 0x1c
cmp dword [edi + 0x3278], ebx
jne 0x10020c2c
push esi
mov dword [edi + 0x3278], ebx
call fcn.100ffef8
add esp, 4
mov dword [edi + 0x3274], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x10021e40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x101b734c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x410], 0
push 0x1ff
push 0
lea eax, [ebp - 0x40f]
push eax
call fcn.10100e30
add esp, 0xc
lea ecx, [ebp - 0x410]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov byte [ebp - 0x210], 0
push 0x1ff
push 0
lea edx, [ebp - 0x20f]
push edx
call fcn.10100e30
add esp, 0xc
push 0x200
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameA]
mov byte [ebp - 0xc], 0x25
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x25
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10101c10
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101003d3
mov esp, ebp
pop ebp
ret

Function at 0x10022400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101b734c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102bbf60], 0
jne 0x100224bf
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x32
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1c], 0x4e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x4f
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x102bbf60], eax
cmp dword [0x102bbf60], 0
jne 0x100224cc
xor eax, eax
jmp 0x100224d1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101003d3
mov esp, ebp
pop ebp
ret
Function at 0x10026e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101b734c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x138], 0x128
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10026e41
jmp 0x10026e9f
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10026e89
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x10026e74
mov eax, dword [ebp - 0x130]
push eax
call fcn.10026e10
add esp, 4
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
jmp 0x10026e54
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call fcn.10033760
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.101003d3
mov esp, ebp
pop ebp
ret