joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b8100
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x3c]
cmp esi, 0x30
jbe 0x10b812f
cmp dword [eax + 0x1c], 0x58465352
jne 0x10b812f
pop edi
mov eax, 0x1000002f
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
lea ebx, [esi - 0x10]
mov edx, 0x1e
cmp ecx, ebx
ja 0x10b81c7
cmp esi, 0x200
jb 0x10b81c7
add eax, ecx
movzx ecx, word [eax + 4]
mov ebx, 0x8664
cmp cx, bx
je 0x10b8279
mov ebx, 0x200
cmp cx, bx
je 0x10b8279
mov dword [edi + 0x4c], eax
movzx ecx, word [eax]
cmp ecx, 0x4550
jg 0x10b81bc
je 0x10b8199
sub ecx, 0x454c
je 0x10b8190
sub ecx, 2
jne 0x10b81c7
mov dword [edi + 4], 0x1c
jmp 0x10b81c7
mov dword [edi + 4], 0x1b
jmp 0x10b81c7
push eax
mov ecx, 0x2000
push eax
push edi
test word [eax + 0x16], cx
je 0x10b81ae
mov dword [edi + 4], 0x20
call fcn.01082d90
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x5a4d
jne 0x10b81c7
mov dword [edi + 4], edx
mov dword [edi + 4], edx
cmp esi, 0x10000
jbe 0x10b81d7
mov esi, 0x10000
mov eax, 0xcccccccd
mul esi
mov ecx, edx
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
lea ebx, [edi + 8]
push ebx
shr eax, 2
shr ecx, 3
push eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], ecx
add ecx, eax
push ecx
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx]
push edx
call fcn.0102ff60
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
push ebx
push edx
mov dword [ebp + 8], edx
mov eax, 0xaaaaaaab
mul esi
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax]
shr edx, 1
add edx, dword [edi + 0x10]
push edx
push ecx
call fcn.0102ff60
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x5c]
push ebx
mov eax, esi
shr eax, 1
add eax, dword [edi + 0x10]
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.0102ff60
mov eax, 0xcccccccd
mul esi
sub esi, dword [ebp - 4]
mov eax, dword [edi + 0x5c]
add esi, dword [edi + 0x10]
mov ecx, dword [eax]
push ebx
shr edx, 4
push edx
push esi
push ecx
call fcn.0102ff60
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
pop ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10b9250
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 0x40
call fcn.01029a40
mov ebx, dword [ebp + 8]
lea eax, [ebx + eax*4 + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
xor edi, edi
push edi
push 1
push 0x40
push ebx
call fcn.010b3c70
push 0x41
lea ecx, [ebp - 0x50]
push edi
push ecx
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [edx], 0x20
mov eax, 0xaaaaaaaa
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov dword [esi + 0xc], eax
push edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esi + 0x18], eax
push edi
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x198]
lea eax, [ebp - 8]
push eax
push edi
push edi
lea ecx, [ebx + 0x7ea6]
push ecx
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call edx
push ebx
call fcn.010b5050
mov edi, eax
test edi, edi
je 0x10b9344
mov eax, dword [ebx + 0x114]
push edi
call eax
cmp byte [eax], 4
jb 0x10b933b
mov ecx, dword [ebx + 0x128]
push 1
push edi
call ecx
mov edx, dword [ebx + 0x128]
push 2
push edi
mov dword [ebp + 0x10], eax
call edx
push 3
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x128]
push edi
call eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10b9326
mov ecx, dword [ecx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10b9332
mov edx, dword [ecx]
mov dword [ebp + 8], edx
test eax, eax
je 0x10b933b
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x194]
push edi
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
push edx
push eax
push edi
push 0x10150a4
lea ecx, [ebp - 0x50]
push 0x3f
push ecx
call fcn.0102ac00
add esp, 0x18
test edi, edi
jne 0x10b938f
cmp dword [ebp + 8], edi
jne 0x10b938f
cmp dword [ebp - 4], edi
jne 0x10b938f
mov eax, 0xabababab
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
jmp 0x10b93e8
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b9395
sub eax, edx
cmp eax, 0x20
jbe 0x10b93a6
mov byte [ebp - 0x30], cl
mov dx, word [0x10150a0]
lea ecx, [ecx]
lea eax, [ebp - 0x50]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b93b6
sub eax, edi
cmp eax, 0x20
jae 0x10b93d5
lea edi, [ebp - 0x50]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10b93c8
mov word [edi], dx
jmp 0x10b93b0
test esi, esi
je 0x10b93e8
push 0x20
lea edx, [ebp - 0x50]
push edx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
lea ecx, [ecx]
mov edx, dword [eax + esi]
xor edx, ecx
mov edi, ecx
mov cl, byte [eax + esi]
rol edi, cl
mov dword [eax + esi], edx
add eax, 4
mov ecx, edi
cmp eax, 0x20
jb 0x10b93f0
add ebx, 0x20
push ebx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10ba5f0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0x10ba2b0
push 0
push 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x8290], eax
test eax, eax
je 0x10ba680
mov edx, dword [esi + 0x250]
push 0x2710
push eax
call edx
cmp eax, 0x102
jne 0x10ba662
test ebx, ebx
je 0x10ba66d
mov ecx, 0x10155ac
push edi
mov edi, 4
mov eax, ebx
sub ecx, ebx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x10ba654
pop edi
jmp 0x10ba66d
mov eax, dword [ebp + 0x10]
push eax
push ebx
push esi
call fcn.010ba390
mov eax, dword [esi + 0x8290]
test eax, eax
je 0x10ba680
mov ecx, dword [esi + 0x1c0]
push eax
call ecx
mov eax, dword [esi + 0x7520]
test eax, eax
je 0x10ba6b1
push eax
push 0x10155a4
lea edx, [ebp - 0x110]
push 0x103
push edx
call fcn.0102ac00
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push ebx
call fcn.0102a7d0
push ebx
push esi
call fcn.0103f730
mov dword [esi + 0x8290], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10ba6f0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x284]
lea eax, [ebp + 8]
push eax
push 0
push 4
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x288]
lea eax, [edx + edx + 0x20c]
push eax
push 0
call ecx
mov esi, eax
test esi, esi
je 0x10ba83a
mov edx, dword [ebp + 8]
lea eax, [edx + edx + 0x20a]
push eax
push 0
push esi
call sub.msvcrt.dll_memset
mov edx, dword [edi + 0x284]
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push esi
push 4
call edx
test eax, eax
je 0x10ba826
push ebx
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x1015574
push 0x1014dcc
push connect
push edi
call fcn.010b5740
test eax, eax
je 0x10ba79c
mov ebx, dword [eax]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test ebx, ebx
je 0x10ba79c
push esi
call fcn.0102b980
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0
push 0x3f
push ebx
push edx
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push ebx
push edi
call fcn.010ba390
cmp dword [edi + 0x7520], 0
je 0x10ba81c
push 0x3f
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x7520]
push eax
push 0x10155b4
lea ecx, [ebp - 0x214]
push 0x103
push ecx
call fcn.0102c0d0
add esp, 0x1c
lea edx, [ebp - 0x214]
push edx
push esi
call fcn.0102bbe0
mov eax, dword [ebp + 8]
push 0
push 0
push 0x3f
push ebx
add eax, 9
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push edi
call fcn.0103f6b0
pop ebx
jmp 0x10ba831
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call fcn.010ba5f0
mov edx, dword [edi + 0x194]
push esi
call edx
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push 0x10ba6d0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10ba85d
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10bd6b0
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 0x10bd760
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 0x10bd670
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 0x10bd74f
cmp edi, 0xffffffff
je 0x10bd74f
push 0x1388
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x10bd745
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 0x10bdef0
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 0x10be095
push 0x400
call fcn.01029a40
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.010b3c70
mov eax, dword [esi]
mov edx, dword [eax + 0x2c8]
lea ecx, [ebp - 0x3dc]
push ecx
push 0x202
call edx
test eax, eax
jne 0x10be089
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 0x1015fbc
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 0x10bdfb3
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 0x1015fb0
push 0x1015f50
lea ecx, [ebp - 0xde0]
push 0x7ff
push ecx
call fcn.0102ac00
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.01045280
test eax, eax
je 0x10be051
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0xde0]
push ecx
call fcn.0102a7d0
mov edx, dword [esi]
cmp dword [edx + 0x1e998], ebx
je 0x10be068
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.01045130
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 0x10c11d0
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 0x104a260
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10c11fc
mov ecx, dword [esi + 0x1c0]
push eax
call ecx
push esi
call fcn.010c10e0
movzx edx, word [esi + 0x7eb4]
push edx
push esi
call fcn.0102e6c0
push esi
call fcn.010c1150
pop esi
pop ebp
ret 4

Function at 0x10c2710
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 0x10c2810
push edi
push ecx
push eax
call fcn.010b69d0
mov eax, dword [esi]
push 0x1017a70
add eax, 0x12c5c
push eax
push 0x1017a28
call fcn.0107fe70
mov edi, eax
test edi, edi
je 0x10c277d
mov ecx, dword [esi]
push 0
push 0
push 0
push edi
push connect
push ecx
call fcn.010b5bc0
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 0x10c2799
mov eax, dword [eax + 0x5a8]
lea edx, [ebp + 8]
push edx
call eax
test eax, eax
je 0x10c27f8
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 0x10166e0
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0102c0d0
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 0x10c27f8
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 0x10c3040
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 0x10c318b
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 0x10c2ed0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp + ebx*4 - 0x10], eax
test eax, eax
je 0x10c310b
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 0x10c3105
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 0x10c30b0
inc ebx
cmp ebx, 3
jb 0x10c3080
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 0x10c314c
mov eax, dword [ebp + esi*4 - 0x10]
test eax, eax
je 0x10c3147
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x1c0]
call eax
inc esi
cmp esi, ebx
jl 0x10c3133
mov esi, 0x16e4
mov ecx, dword [edi]
cmp dword [esi + ecx], 0
lea eax, [esi + ecx]
je 0x10c3172
mov eax, dword [eax]
test eax, eax
je 0x10c3172
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 0x10c3151
mov edx, dword [edi]
pop esi
mov dword [edx + 0x1720], 0
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10c3990
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.01029a40
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.010b3c70
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 0x10c3aef
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 0x10c3acb
jmp 0x10c3a10
cmp ebx, 0xa00000
jae 0x10c3ac7
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 0x10c3ac7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10c3ac7
cmp dword [ebp - 0x10], 0x1000
jne 0x10c3ab3
cmp dword [ebp - 8], 0x20000
jne 0x10c3ab3
mov ecx, dword [ebp - 0xc]
test cl, 0x74
je 0x10c3ab3
test ecx, 0x100
jne 0x10c3ab3
mov edi, 0xa00000
sub edi, ebx
cmp eax, edi
jae 0x10c3a71
mov edi, eax
mov esi, dword [ebp - 0x20]
test edi, edi
je 0x10c3ab3
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 0x10c3ab0
sub edi, 0x400
add ebx, 0x400
add esi, 0x400
test edi, edi
jne 0x10c3a78
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 0x10c3a10
test ebx, ebx
jne 0x10c3ae2
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 0x10c3af8
mov dword [eax], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10c3fb0
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.010c3f10
test eax, eax
jne 0x10c4041
mov edx, dword [edi]
push esi
push edx
call fcn.010c3e80
mov eax, dword [edi]
mov ecx, dword [eax + 0x12c]
push 0x64
call ecx
push esi
push edi
call fcn.010c3f10
test eax, eax
jne 0x10c4041
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 0x10c4032
mov edx, dword [edi]
push esi
push edx
call fcn.010c3e80
push esi
push edi
call fcn.010c3f10
test eax, eax
jne 0x10c4040
sub ebx, 1
jne 0x10c4004
mov eax, dword [edi]
push esi
push eax
call fcn.010c3e80
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 0x10c5c00
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 0x10c5c94
push 0x20a
lea ecx, [ebp - 0x20c]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 0xc]
push 0x1001cf4
push edx
push 0x100b484
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0102c0d0
add esp, 0x20
cmp word [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
je 0x10c5c69
nop
add eax, 2
cmp word [eax], 0
jne 0x10c5c60
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 0x10020f8
push 0x10182b8
push connect
push ecx
call fcn.010b52d0
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10c5e80
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.010c5dd0
test eax, eax
je 0x10c5f47
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.01029a40
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.010b3c70
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.0102bd10
test eax, eax
je 0x10c5f38
push 0x10183d0
mov eax, edx
push eax
call fcn.0102bbe0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c5f38
mov esi, 1
test al, 0x10
jne 0x10c5f3b
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 0x10c5f60
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.010c5dd0
test eax, eax
je 0x10c6027
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.01029a40
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.010b3c70
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.0102bd10
test eax, eax
je 0x10c6018
push 0x1018420
mov eax, edx
push eax
call fcn.0102bbe0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c6018
mov esi, 1
test al, 0x10
jne 0x10c601b
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 0x10c6040
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.010c5dd0
test eax, eax
je 0x10c6107
mov esi, dword [edi]
push ebx
push 0x2000
call fcn.01029a40
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.010b3c70
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.0102bd10
test eax, eax
je 0x10c60f8
push 0x1018470
mov eax, edx
push eax
call fcn.0102bbe0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10c60f8
mov esi, 1
test al, 0x10
jne 0x10c60fb
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