joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013f003
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102c3330]
jne 0x1013f00d
repz ret
jmp fcn.10140f89

Function at 0x101442ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10140006
and dword [ebp - 4], 0
cmp dword [0x102c4f88], 0
mov ebx, eax
jne 0x101443a0
push 0x10293200
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10144451
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x102931f4
push edi
call esi
test eax, eax
je 0x10144451
push eax
call fcn.1013ff94
mov dword [esp], 0x102931e4
push edi
mov dword [0x102c4f88], eax
call esi
push eax
call fcn.1013ff94
mov dword [esp], 0x102931d0
push edi
mov dword [0x102c4f8c], eax
call esi
push eax
call fcn.1013ff94
mov dword [esp], 0x102931b4
push edi
mov dword [0x102c4f90], eax
call esi
push eax
call fcn.1013ff94
pop ecx
mov dword [0x102c4f98], eax
test eax, eax
je 0x101443a0
push 0x1029319c
push edi
call esi
push eax
call fcn.1013ff94
pop ecx
mov dword [0x102c4f94], eax
mov eax, dword [0x102c4f94]
cmp eax, ebx
je 0x101443f8
cmp dword [0x102c4f98], ebx
je 0x101443f8
push eax
call fcn.1014000f
push dword [0x102c4f98]
mov esi, eax
call fcn.1014000f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101443f8
test edi, edi
je 0x101443f8
call esi
test eax, eax
je 0x101443ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101443ef
test byte [ebp - 0xc], 1
jne 0x101443f8
or dword [ebp + 0x10], 0x200000
jmp 0x10144431
mov eax, dword [0x102c4f8c]
cmp eax, ebx
je 0x10144431
push eax
call fcn.1014000f
pop ecx
test eax, eax
je 0x10144431
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10144431
mov eax, dword [0x102c4f90]
cmp eax, ebx
je 0x10144431
push eax
call fcn.1014000f
pop ecx
test eax, eax
je 0x10144431
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c4f88]
call fcn.1014000f
pop ecx
test eax, eax
je 0x10144451
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10144453
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10145281
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x102c32c4]
add eax, 0xfffffdcf
mov dword [0x102c32c4], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10145361
jmp 0x10145357
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101453eb
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
jne 0x101452b8
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov dword [0x102c32c8], 0x2382
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x88], esi
mov dword [0x102c32c4], 0x17e8
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10145fb1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102c32c4]
add ecx, 0xfffff71a
mov dword [0x102c32c4], ecx
mov dword [esp + 0x10], eax
jmp 0x10145403
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [0x102c32c8], 0xcff
mov dword [esp + 0xc], eax
call fcn.10145792
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10145403
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10144fc3
lea ecx, [0x1014654d]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], 0x12dc00
mov edx, dword [0x102c32b0]
mov dword [esp + 0x4c], edx
mov edx, dword [0x102c32b4]
mov dword [esp + 0x64], edx
mov edx, dword [0x102c32b8]
mov dword [esp + 0x40], edx
mov edx, dword [0x102c32bc]
mov dword [esp + 0x78], edx
mov edx, dword [0x102c32c0]
mov dword [esp + 0x38], edx
mov dword [0x102c32c4], 0xfffff70e
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x101452cf
jmp 0x101452b8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x10145357
Function at 0x101454aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102c32c4]
add ecx, 0x4b29
mov dword [0x102c32c4], ecx
mov dword [ebp - 0x10], eax
call fcn.101460ce
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x102c32c8], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102c32c4], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1014562d
jmp 0x101455dc
mov al, byte [ebp - 0x25]
test al, 1
jne 0x101455b7
jmp 0x10145525
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], eax
jb 0x101455fc
jmp 0x1014562d
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x48], eax
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x25]
and dl, cl
mov esi, dword [ebp - 0x48]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x50], esi
jne 0x10145588
jmp 0x10145518
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x25], cl
je 0x10145518
jmp 0x10145558
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x102c32c4], 0xc39
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x1014562d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x58], eax
mov eax, 0x660
xor ecx, ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0x24f8
mov dword [0x102c32c4], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], esi
jmp 0x10145588
mov eax, dword [ebp - 0x24]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10145638
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c32d0], 0
mov byte [0x102c32d4], 0
mov dword [0x102c32c4], 0x2002
mov dword [0x102c32c8], 0xf6c
mov dword [0x102c32cc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10145744
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102c32d8], 0
mov edi, dword [0x102c32d0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102c32d8], esi
mov dword [0x102c32c8], 0x232c
mov eax, esi
cdq
idiv ecx
mov dword [0x102c32d0], edx
mov dword [0x102c32c4], 0x347
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102c32d4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102c32d4]
mov esi, dword [0x102c32d0]
mov byte [ebx + esi], cl
mov esi, dword [0x102c32cc]
add esi, 1
mov dword [0x102c32cc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1014568c
mov eax, dword [0x102c32c8]
add eax, 0xffffeb75
mov dword [0x102c32c8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102c32c4], 0x142c
mov eax, dword [0x102c32cc]
add eax, 1
mov dword [0x102c32cc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10145744
xor eax, eax
mov dword [0x102c32c8], 0x1a2c
mov dword [0x102c32cc], 0
mov dword [ebp - 0x20], eax
jmp 0x1014568c
Function at 0x10145792
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x102c32c8]
mov edi, esi
add edi, 0xffffde83
mov dword [0x102c32c4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
jmp 0x10145868
mov dword [0x102c32c8], 0x1815
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x2a], dx
mov ax, word [ebp - 0x2a]
cmp ax, 0x61
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
je 0x1014584e
jmp 0x1014591a
mov eax, dword [ebp - 0x34]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x101458bb
jmp 0x1014591a
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], eax
jl 0x10145868
jmp 0x1014587e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x10145817
jmp 0x1014591a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
jne 0x10145835
mov eax, dword [ebp - 0x3c]
mov dword [0x102c32c8], 0x9f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edx
jne 0x1014591a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x101457de
jmp 0x1014591a
mov eax, dword [ebp - 0x20]
add eax, 0xffffdce0
mov dword [0x102c32c4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x10], 0x6c
sete bl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bl
mov al, byte [ebp - 0x41]
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
jne 0x101458ed
jmp 0x1014591a
mov eax, 1
mov ecx, 0xadf
mov dword [0x102c32c4], 0xadf
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
je 0x1014580c
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x102c32c8], eax
mov dword [ebp - 0x34], ecx
jmp 0x1014580c
Function at 0x10145d38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102c32cc], 0
mov dword [0x102c32d0], 0
mov dword [0x102c32dc], 0
mov dword [0x102c32c8], 0x14e0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10145e82
jmp 0x10145db4
mov eax, dword [0x102c32d0]
mov ecx, dword [0x102c32cc]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102c32c4], 0xb69
mov edi, edx
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102c32cc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102c32d0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102c32d4], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x102c32c4], 0x226c
mov cl, byte [0x102c32d4]
mov edx, dword [0x102c32d0]
mov byte [ebx + edx], cl
mov edx, dword [0x102c32cc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102c32d0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102c32dc], ecx
mov dword [0x102c32c4], 0x11c5
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x10145d9d
mov dword [0x102c32c8], 0xe7d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10145fb1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10292071]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10145b0e
mov eax, dword [0x102c32c4]
add eax, 0xffffe70f
mov dword [0x102c32c4], eax
call fcn.10145931
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101462dd
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x101460c5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x102c32c4]
add ecx, 0x1acf
mov dword [0x102c32c4], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10145e94
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x48], ecx
mov dword [0x102c32c4], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x28], ecx
add ecx, 0x1492
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x101460bb
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x100012d2
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x1001d485
call fcn.10009f44
sub esp, 0x198
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
call fcn.10001000
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
call fcn.10001000
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1a4]
mov dword [esi], 0x1001e4c0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
or dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push 3
push eax
lea eax, [esi + 0x50]
push eax
mov byte [esi + 0x53], bl
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x20
call fcn.100096f0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebx
leave
ret

Function at 0x1000141c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [0x10032390], ebx
push esi
push edi
mov esi, ecx
jne 0x10001496
call fcn.100017f5
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [esi + 0x53], bl
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x48], eax
je 0x10001496
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
cmp edi, ebx
je 0x10001496
push dword [ebp + 0xc]
mov word [ebp - 0x24], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
mov eax, dword [edi + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000149a
xor al, al
jmp 0x10001503
push 1
lea eax, [ebp - 4]
pop edi
push 4
push eax
push 8
push 0xffff
push dword [esi + 0x48]
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x100014e7
push ebx
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push 0xc
push eax
push 0x98000004
push dword [esi + 0x48]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x2bf20
mov dword [ebp - 0xc], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push ebx
push ebx
push ebx
push esi
push 0x1000150a
push ebx
push ebx
mov byte [esi + 0x53], 1
call fcn.10008e18
mov dword [esi + 0x44], eax
add esp, 0x1c
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1000196a
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10001989
mov dl, byte [ecx + eax]
xor dl, 0xfc
add dl, 0x31
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x10001976
ret
Function at 0x1000198a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov edi, ecx
push ebx
call fcn.1000196a
and dword [ebp - 4], 0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x10]
pop ecx
mov dword [ebp + 8], esi
cmp esi, ebx
mov esi, dword [sym.imp.WS2_32.dll_send]
pop ecx
jb 0x100019f2
and dword [ebp + 0x10], 0
push 0
push ebx
push dword [ebp - 8]
push dword [edi + 0x48]
call esi
test eax, eax
jg 0x100019d6
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0xf
jl 0x100019be
cmp dword [ebp + 0x10], 0xf
je 0x10001a20
add dword [ebp - 4], eax
add dword [ebp - 8], ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
jae 0x100019ba
xor ebx, ebx
cmp dword [ebp + 8], ebx
jle 0x10001a18
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push dword [edi + 0x48]
call esi
test eax, eax
jg 0x10001a10
inc ebx
cmp ebx, 0xf
jl 0x100019f9
cmp ebx, 0xf
je 0x10001a20
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x10001a23
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001be7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push edi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10001c58
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10001c4f
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.1000a310
pop ecx
test eax, eax
pop ecx
jne 0x10001c19
mov ebx, dword [ebp - 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
leave
ret

Function at 0x10001c5c
Capabilities:
Set file attributes

Disassembly:
cmp byte [esp + 8], 0
je 0x10001c67
push 6
jmp 0x10001c6c
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x10001f2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push ebx
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10001f5a
xor al, al
jmp 0x10001f8a
push esi
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10001f85
cmp esi, 0xea
jne 0x10001f87
mov bl, 1
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x100029c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0xec1
push 0x1002413c
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100029fe
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x10002a0b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0xb
push 0x10025000
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10002a42
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x10002a4f
Capabilities:
Get common file path
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x108]
push 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x108]
push str._._mnbvcxz_lkjhgfdsa__poiuytrewq
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x108]
push 0x1002cc7a
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x108]
push str..dat
push eax
call fcn.1000a1e0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10002adf
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret