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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push 0x21
push 8
mov ebx, 3
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10babf0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push edi
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x10], ecx
lea ecx, [ebp + 0xc]
push ecx
push 0
push esi
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
push 0x10bab00
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x20]
push 0
push 0
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x10babdf
cmp edi, 0xffffffff
je 0x10babdf
push 0x1388
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x10babd5
mov edx, dword [ebp + 8]
mov dword [edx + 0x8448], 1
mov ebx, dword [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x1c
Function at 0x10bb340
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xde0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
xor ebx, ebx
cmp dword [edi + 0x12964], ebx
jne 0x10bb4e5
push 0x400
call fcn.010284a0
lea eax, [eax*4 + 8]
mov dword [ebp - 4], eax
add eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push ebx
push 1
push 0x400
push edi
call fcn.010b1980
mov eax, dword [esi]
mov edx, dword [eax + 0x2c8]
lea ecx, [ebp - 0x3dc]
push ecx
push 0x202
call edx
test eax, eax
jne 0x10bb4d9
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], eax
call dword [sym.imp.msvcrt.dll_localtime]
push 0x41
lea edx, [ebp - 0x48]
push ebx
push edx
mov edi, eax
call sub.msvcrt.dll_memset
push edi
push 0x1015e6c
lea eax, [ebp - 0x48]
push 0x3f
push eax
call dword [sym.imp.msvcrt.dll_strftime]
push 0xa01
lea ecx, [ebp - 0xde0]
push ebx
push ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi]
add esp, 0x2c
test dword [eax + 0x1c8e4], 0x4000
lea edi, [ebx + 1]
je 0x10bb403
mov edi, dword [ebp + 0x20]
mov ecx, dword [eax + 0x8238]
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [eax + 0x81a4]
neg ecx
sbb ecx, ecx
and ecx, 0x20
add ecx, 0x20
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
add eax, 0x35ca
push eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul edx, edx, 0x3e8
sub ecx, edx
push ecx
lea eax, [ebp - 0x48]
push eax
push edi
push 3
push 1
push 0x1015e60
push 0x1015e00
lea ecx, [ebp - 0xde0]
push 0x7ff
push ecx
call fcn.01029620
push 0x201
lea edx, [ebp - 0x24c]
push 0
push edx
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
add esp, 0x40
lea eax, [ebp - 0x24c]
push eax
push ecx
push edx
push esi
call fcn.01043a60
test eax, eax
je 0x10bb4a1
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0xde0]
push ecx
call fcn.010291f0
mov edx, dword [esi]
cmp dword [edx + 0x1e998], ebx
je 0x10bb4b8
lea eax, [ebp - 0xde0]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
lea eax, [ebp - 0xde0]
push eax
push esi
call fcn.01043910
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24c]
mov ebx, eax
call edx
mov eax, dword [esi]
add eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x10be620
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x1048a80
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10be64c
mov ecx, dword [esi + 0x1c0]
push eax
call ecx
push esi
call fcn.010be530
movzx edx, word [esi + 0x7eb4]
push edx
push esi
call fcn.0102d0b0
push esi
call fcn.010be5a0
pop esi
pop ebp
ret 4

Function at 0x10bfb40
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp byte [eax + 0x12c5c], 0
lea ecx, [eax + 0x12c5c]
je 0x10bfc40
push edi
push ecx
push eax
call fcn.010b4660
mov eax, dword [esi]
push 0x1017920
add eax, 0x12c5c
push eax
push 0x10178d8
call fcn.0107e5b0
mov edi, eax
test edi, edi
je 0x10bfbad
mov ecx, dword [esi]
push 0
push 0
push 0
push edi
push connect
push ecx
call fcn.010b3850
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esi]
cmp dword [eax + 0x8238], 0
pop edi
je 0x10bfbc9
mov eax, dword [eax + 0x5a8]
lea edx, [ebp + 8]
push edx
call eax
test eax, eax
je 0x10bfc28
push 0x20a
lea ecx, [ebp - 0x20c]
push 0
push ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi]
lea edx, [eax + 0x12c5c]
push edx
add eax, 0x766c
push eax
push 0x1016590
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0102aaf0
add esp, 0x20
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [esi]
cmp dword [eax + 0x8238], 0
je 0x10bfc28
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x5a4]
push edx
call eax
mov ecx, dword [esi]
push 0x82
add ecx, 0x12c5c
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10c0470
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x16e0]
mov edx, dword [eax + 0x374]
push 3
push 0
push 0
push ecx
call edx
mov ecx, dword [edi]
mov dword [ecx + 0x16dc], eax
mov edx, dword [edi]
cmp dword [edx + 0x16dc], 0
je 0x10c05bb
push ebx
push esi
xor ebx, ebx
mov edi, edi
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push 0
add eax, 0x5e0
push eax
push 0x10c0300
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp + ebx*4 - 0x10], eax
test eax, eax
je 0x10c053b
mov dword [ebp + 8], 5
lea esp, [esp]
push 0xc29
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10c0535
mov eax, dword [edi]
mov edx, dword [eax + 0x1720]
mov dword [eax + edx*4 + 0x16e4], esi
mov eax, dword [edi]
add eax, 0x1720
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov eax, dword [edi]
mov edx, dword [eax + 0x16e0]
mov eax, dword [eax + 0x378]
lea ecx, [esi + 0xc10]
push ecx
push 0xc10
push esi
push edx
call eax
sub dword [ebp + 8], 1
jne 0x10c04e0
inc ebx
cmp ebx, 3
jb 0x10c04b0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x484]
push 0xffffffffffffffff
push 1
lea edx, [ebp - 0x10]
push edx
push ebx
call eax
mov ecx, dword [edi]
xor esi, esi
mov dword [ebp + 8], ecx
test ebx, ebx
jle 0x10c057c
mov eax, dword [ebp + esi*4 - 0x10]
test eax, eax
je 0x10c0577
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x1c0]
call eax
inc esi
cmp esi, ebx
jl 0x10c0563
mov esi, 0x16e4
mov ecx, dword [edi]
cmp dword [esi + ecx], 0
lea eax, [esi + ecx]
je 0x10c05a2
mov eax, dword [eax]
test eax, eax
je 0x10c05a2
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
add esi, 4
cmp esi, 0x1720
jb 0x10c0581
mov edx, dword [edi]
pop esi
mov dword [edx + 0x1720], 0
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10c0dc0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x8000
xor ebx, ebx
call fcn.010284a0
mov edi, dword [ebp + 8]
lea eax, [edi + eax*4 + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push ebx
push 1
push 0x8000
push edi
call fcn.010b1980
push 0xa00003
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x10c0f1f
push 0xa00002
push ebx
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
jae 0x10c0efb
jmp 0x10c0e40
cmp ebx, 0xa00000
jae 0x10c0ef7
mov ecx, dword [edi + 0x420]
push 0x1c
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
call ecx
test eax, eax
je 0x10c0ef7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10c0ef7
cmp dword [ebp - 0x10], 0x1000
jne 0x10c0ee3
cmp dword [ebp - 8], 0x20000
jne 0x10c0ee3
mov ecx, dword [ebp - 0xc]
test cl, 0x74
je 0x10c0ee3
test ecx, 0x100
jne 0x10c0ee3
mov edi, 0xa00000
sub edi, ebx
cmp eax, edi
jae 0x10c0ea1
mov edi, eax
mov esi, dword [ebp - 0x20]
test edi, edi
je 0x10c0ee3
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0
push 0x400
lea eax, [ebx + edx]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x478]
push esi
push ecx
call eax
test eax, eax
je 0x10c0ee0
sub edi, 0x400
add ebx, 0x400
add esi, 0x400
test edi, edi
jne 0x10c0ea8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
add eax, ecx
cmp eax, dword [ebp - 0x38]
jb 0x10c0e40
test ebx, ebx
jne 0x10c0f12
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov dword [ebp - 4], 0
add edi, 0x44
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10c0f28
mov dword [eax], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10c13e0
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [esi]
push 0x258
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.010c1340
test eax, eax
jne 0x10c1471
mov edx, dword [edi]
push esi
push edx
call fcn.010c12b0
mov eax, dword [edi]
mov ecx, dword [eax + 0x12c]
push 0x64
call ecx
push esi
push edi
call fcn.010c1340
test eax, eax
jne 0x10c1471
push ebx
lea ebx, [eax + 4]
mov edx, dword [edi + 8]
mov eax, dword [esi]
mov ecx, dword [edx + 0x24c]
push 0x320
push eax
call ecx
cmp eax, 0x102
jne 0x10c1462
mov edx, dword [edi]
push esi
push edx
call fcn.010c12b0
push esi
push edi
call fcn.010c1340
test eax, eax
jne 0x10c1470
sub ebx, 1
jne 0x10c1434
mov eax, dword [edi]
push esi
push eax
call fcn.010c12b0
pop ebx
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [ecx + 0x16c]
push 0
push edx
call eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x10c3030
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0x8268], 0
jne 0x10c30c4
push 0x20a
lea ecx, [ebp - 0x20c]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 0xc]
push 0x1001cc0
push edx
push 0x100b59c
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0102aaf0
add esp, 0x20
cmp word [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
je 0x10c3099
nop
add eax, 2
cmp word [eax], 0
jne 0x10c3090
lea ecx, [ebp - 0x20c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
mov eax, ecx
mov ecx, dword [esi]
push eax
push 1
push 0x100222c
push 0x1018168
push connect
push ecx
call fcn.010b2fe0
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10c32b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.010c3200
test eax, eax
je 0x10c3377
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.010284a0
lea ebx, [eax*4 + 8]
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x2000
push esi
call fcn.010b1980
push 0x20a
lea ecx, [ebp - 0x210]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [edi + 8]
mov ecx, dword [edx + 0x220]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x26
push 0
call ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0102a730
test eax, eax
je 0x10c3368
push 0x1018280
mov eax, edx
push eax
call fcn.0102a600
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c3368
mov esi, 1
test al, 0x10
jne 0x10c336b
mov esi, dword [ebp - 4]
mov edx, dword [edi]
add edx, ebx
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10c3390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.010c3200
test eax, eax
je 0x10c3457
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.010284a0
lea ebx, [eax*4 + 8]
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x2000
push esi
call fcn.010b1980
push 0x20a
lea ecx, [ebp - 0x210]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [edi + 8]
mov ecx, dword [edx + 0x220]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x26
push 0
call ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0102a730
test eax, eax
je 0x10c3448
push 0x10182d0
mov eax, edx
push eax
call fcn.0102a600
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c3448
mov esi, 1
test al, 0x10
jne 0x10c344b
mov esi, dword [ebp - 4]
mov edx, dword [edi]
add edx, ebx
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10c3470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.010c3200
test eax, eax
je 0x10c3537
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.010284a0
lea ebx, [eax*4 + 8]
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x2000
push esi
call fcn.010b1980
push 0x20a
lea ecx, [ebp - 0x210]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [edi + 8]
mov ecx, dword [edx + 0x220]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x26
push 0
call ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0102a730
test eax, eax
je 0x10c3528
push 0x1018320
mov eax, edx
push eax
call fcn.0102a600
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c3528
mov esi, 1
test al, 0x10
jne 0x10c352b
mov esi, dword [ebp - 4]
mov edx, dword [edi]
add edx, ebx
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10c3830
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 4], 0
test eax, eax
jne 0x10c3850
xor ebx, ebx
jmp 0x10c385e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10c3853
sub eax, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebp + 0x10]
mov edx, dword [eax + 0x48c]
push 4
push 0x3000
lea ecx, [ebx + 2]
push ecx
push 0
push edi
call edx
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10c39cf
mov ecx, dword [esi]
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp + 0xc]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x424]
push edi
call eax
test eax, eax
je 0x10c39cf
push 0x20a
lea ecx, [ebp - 0x214]
push 0
push ecx
call sub.msvcrt.dll_memset
mov ebx, dword [esi]
add esp, 0xc
push 0x8000
call fcn.010284a0
lea eax, [eax*4 + 8]
mov dword [ebp + 0xc], eax
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x8000
push ebx
call fcn.010b1980
mov ebx, dword [esi + 8]
push 0x103
lea edx, [ebp - 0x214]
push edx
push 0x100b51c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
mov eax, dword [ebx + 0x218]
push edi
call eax
test eax, eax
je 0x10c39b5
push 0x10185ec
lea ecx, [ebp - 0x214]
push ecx
call fcn.0102a960
test eax, eax
je 0x10c39b5
mov edx, dword [esi]
cmp dword [edx + 0x819c], 6
push 0
push 0
jb 0x10c3970
mov ecx, dword [ebp + 0x10]
mov edx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov eax, dword [esi + 8]
push 0
push 0
push 0
push ecx
push edx
push edi
push 0
push 0x1fffff
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
mov edx, dword [eax + 0x98]
push ecx
call edx
mov eax, dword [ebp + 8]
jmp 0x10c3989
mov eax, dword [ebp + 0x10]
mov ecx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x10c39b5
mov edx, dword [esi + 8]
push eax
mov eax, dword [edx + 0x1bc]
mov edi, 1
call eax
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10c3af0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push 0x15
push 8
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10c3b71
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 8], ecx
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
push 0x10c3aa0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push ebx
mov dword [esi], edi
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10c3b58
mov edx, dword [edi + 0x1c0]
push eax
call edx
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0x14
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x14
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x14
Function at 0x10cab60
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push 0x19
push 8
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10cabf1
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], edx
lea edx, [ebp + 0x18]
push edx
push edi
push esi
push 0x10caae0
mov dword [esi], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
push edi
push edi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], eax
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x10cabe0
cmp edi, 0xffffffff
je 0x10cabe0
mov eax, dword [ebx]
test eax, eax
je 0x10cabcf
cmp eax, 0xffffffff
jne 0x10cabf0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x12c]
push 0x14
call edx
jmp 0x10cabc4
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x10cda30
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.01055b50
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
add eax, 0x15814
push eax
call edi
test eax, eax
jne 0x10cda7e
mov eax, dword [esi]
mov ecx, dword [eax + 0x1580c]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0x1018e54
push 0x1014d6c
push connect
push eax
mov dword [ebp + 8], ecx
call fcn.010b2fe0
mov eax, dword [esi]
push eax
call fcn.01043500
mov ecx, dword [esi]
mov dword [ecx + 0x1295c], 1
mov edx, dword [esi]
mov dword [edx + 0x12968], 1
mov eax, dword [esi]
push 1
add eax, 0x12964
push eax
call edi
push esi
call fcn.0104c310
push esi
call fcn.01049e80
mov edi, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x10945d0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10cdadb
mov edx, dword [edi + 0x1c0]
push eax
call edx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x10ce200
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10ce2a1
push edi
mov ecx, 1
lea eax, [esi + 1]
or edi, 0xffffffff
lea ecx, [ecx]
mov dl, cl
sub dl, 0x51
xor dl, byte [edi + eax]
inc ecx
xor byte [eax], dl
inc eax
cmp ecx, 0x828
jb 0x10ce220
mov eax, dword [ebp + 8]
xor byte [esi], 0xac
push 0x828
push esi
push 3
push 0x1018efc
push 0x1014d6c
push connect
push eax
call fcn.010b2fe0
push 0x20a
push 0
push esi
call sub.msvcrt.dll_memset
push 0x20a
lea ecx, [esi + 0x20a]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x20a
lea edx, [esi + 0x414]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x20a
push 0
add esi, 0x61e
push esi
call sub.msvcrt.dll_memset
add esp, 0x30
pop edi
pop esi
pop ebp
ret 8