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

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dl, byte [esi]
cmp dl, 0xc1
je 0x1020f0a6
cmp dl, 0xc3
je 0x1020f0a6
cmp dl, 0xc2
je 0x1020f09f
cmp dl, 0xc4
je 0x1020f09f
xor edi, edi
jmp 0x1020f0ab
mov edi, 3
jmp 0x1020f0ab
mov edi, 2
cmp dl, 0xc1
je 0x1020f0d7
cmp dl, 0xc3
je 0x1020f0d7
cmp dl, 0xc2
je 0x1020f0c3
cmp dl, 0xc4
je 0x1020f0c3
xor eax, eax
jmp 0x1020f0db
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl cx, 8
or cx, ax
movzx eax, cx
jmp 0x1020f0db
movzx eax, byte [esi + 1]
cmp dl, 0xc1
je 0x1020f0fa
cmp dl, 0xc3
je 0x1020f0fa
cmp dl, 0xc2
je 0x1020f0f3
cmp dl, 0xc4
je 0x1020f0f3
xor ebx, ebx
jmp 0x1020f0ff
mov ebx, 3
jmp 0x1020f0ff
mov ebx, 2
cmp dl, 0xc1
je 0x1020f11e
cmp dl, 0xc3
je 0x1020f11e
cmp dl, 0xc2
je 0x1020f117
cmp dl, 0xc4
je 0x1020f117
xor ecx, ecx
jmp 0x1020f123
mov ecx, 3
jmp 0x1020f123
mov ecx, 2
sub eax, ebx
mov edx, 1
cmp dx, ax
jae 0x1020f15e
inc esi
or ebx, 0xffffffff
add ecx, esi
dec eax
movzx esi, ax
nop dword [eax]
lea eax, [edx + edi]
and eax, 0x1f
lea edx, [edx + 1]
lea ecx, [ecx + 1]
mov al, byte [eax + 0x10290444]
xor al, byte [ebx + ecx - 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x1020f140
pop edi
pop esi
pop ebx
ret

Function at 0x1020f170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dl, byte [esi]
cmp dl, 0xc1
je 0x1020f196
cmp dl, 0xc3
je 0x1020f196
cmp dl, 0xc2
je 0x1020f18f
cmp dl, 0xc4
je 0x1020f18f
xor edi, edi
jmp 0x1020f19b
mov edi, 3
jmp 0x1020f19b
mov edi, 2
cmp dl, 0xc1
je 0x1020f1c7
cmp dl, 0xc3
je 0x1020f1c7
cmp dl, 0xc2
je 0x1020f1b3
cmp dl, 0xc4
je 0x1020f1b3
xor eax, eax
jmp 0x1020f1cb
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl cx, 8
or cx, ax
movzx eax, cx
jmp 0x1020f1cb
movzx eax, byte [esi + 1]
cmp dl, 0xc1
je 0x1020f1ea
cmp dl, 0xc3
je 0x1020f1ea
cmp dl, 0xc2
je 0x1020f1e3
cmp dl, 0xc4
je 0x1020f1e3
xor ebx, ebx
jmp 0x1020f1ef
mov ebx, 3
jmp 0x1020f1ef
mov ebx, 2
cmp dl, 0xc1
je 0x1020f20e
cmp dl, 0xc3
je 0x1020f20e
cmp dl, 0xc2
je 0x1020f207
cmp dl, 0xc4
je 0x1020f207
xor ecx, ecx
jmp 0x1020f213
mov ecx, 3
jmp 0x1020f213
mov ecx, 2
sub eax, ebx
add ecx, esi
dec eax
movzx edx, ax
test dx, dx
je 0x1020f254
mov esi, edx
add ecx, esi
or ebx, 0xffffffff
nop word [eax + eax]
lea eax, [esi + edi]
add edx, 0xffff
and eax, 0x1f
lea esi, [esi - 1]
lea ecx, [ecx - 1]
mov al, byte [eax + 0x10290444]
xor al, byte [ebx + ecx + 1]
xor byte [ecx + 1], al
test dx, dx
jne 0x1020f230
pop edi
pop esi
pop ebx
ret
Function at 0x1020ff70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x20
mov ecx, dword [0x1029756c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1029ac94]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ecx + 4]
jle 0x1020ffc4
push 0x1029ac94
call fcn.1025145a
add esp, 4
cmp dword [0x1029ac94], 0xffffffff
jne 0x1020ffc4
call esi
push 0x1029ac94
mov dword [0x1029ac98], eax
call fcn.1025141b
add esp, 4
call esi
sub eax, dword [0x1029ac98]
cmp eax, 0x2710
jbe 0x102100e3
call esi
mov dword [0x1029ac98], eax
mov eax, dword [0x1029a09c]
mov cl, al
mov dword [ebp - 8], eax
add cl, 0xdc
mov dl, byte [ebp - 7]
mov bl, byte [ebp - 6]
add dl, 0xdb
mov bh, byte [ebp - 5]
add bl, 0xda
mov eax, dword [0x1029a098]
add bh, 0xd9
mov dword [ebp - 8], eax
mov ch, al
mov al, byte [ebp - 6]
add ch, 0xe0
mov dh, byte [ebp - 7]
add al, 0xde
mov byte [ebp - 1], al
add dh, 0xdf
mov al, byte [ebp - 5]
add al, 0xdd
mov dword [ebp - 0x1c], 0
mov byte [ebp - 2], al
movzx eax, cl
shl eax, 8
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
movzx eax, dl
or esi, eax
movzx ecx, ch
movzx eax, bl
shl esi, 8
or esi, eax
shl ecx, 8
shl esi, 8
movzx eax, bh
mov ebx, esi
or ebx, eax
mov dword [ebp - 8], esi
movzx eax, dh
mov edx, ebx
or ecx, eax
shr edx, 0x10
mov al, byte [ebp - 1]
movzx eax, al
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 2]
or ecx, eax
shr edx, 8
mov eax, ecx
mov dword [ebp - 0x10], ecx
shr eax, 0x10
add dl, 0x34
mov dword [ebp - 0xc], eax
shr eax, 8
add al, 0x30
shr ecx, 8
mov byte [ebp - 0x1c], al
add cl, 0x32
mov eax, dword [ebp - 0xc]
add al, 0x31
mov dword [ebp - 8], ebx
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x10]
add al, 0x33
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x14]
add al, 0x35
shr ebx, 8
mov dword [ebp - 0x20], 0xbef30cc1
add bl, 0x36
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x20]
movzx edx, byte [ebp - 0x1f]
add al, 0x37
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], al
call fcn.1020ff00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x102100f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test cl, cl
mov byte [0x10295d89], cl
mov ecx, dword [0x1029aad8]
push ebx
push esi
push edi
mov esi, dword [ecx]
je 0x102101e5
cmp esi, ecx
je 0x10210196
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1021014b
mov bl, byte [esi + 0x18]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call edx
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call eax
mov ecx, dword [0x1029aad8]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x10210192
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10210170
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10210192
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10210164
jmp 0x10210192
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10210190
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10210190
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10210180
mov esi, eax
cmp esi, ecx
jne 0x10210117
xor edi, edi
mov esi, 0x678f47
xor eax, eax
nop
mov bl, byte [eax + 0x102904bc]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edx
lea eax, [ebp - 4]
mov byte [esi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push esi
call eax
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [edi + 1]
lea eax, [edi*8]
mov esi, dword [eax + 0x102904b8]
test esi, esi
jne 0x102101a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ecx
je 0x1021026b
nop dword [eax]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10210224
mov bl, byte [esi + 0x19]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call edx
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call eax
mov ecx, dword [0x1029aad8]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x10210267
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1021024c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10210267
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10210240
jmp 0x10210267
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10210265
cmp esi, dword [eax + 8]
jne 0x10210265
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10210255
mov esi, eax
cmp esi, ecx
jne 0x102101f0
xor edi, edi
mov esi, 0x678f47
xor eax, eax
mov bl, byte [eax + 0x102904bd]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edx
lea eax, [ebp - 4]
mov byte [esi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push esi
call eax
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [edi + 1]
lea eax, [edi*8]
mov esi, dword [eax + 0x102904b8]
test esi, esi
jne 0x10210274
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x102102c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push edi
push eax
push 0x40
push 4
push 0x181d95c
mov edi, ecx
call esi
lea eax, [ebp - 4]
mov dword [0x181d95c], 0xffffffff
push eax
push dword [ebp - 4]
push 4
push 0x181d95c
call esi
mov eax, dword [edi + 4]
test eax, eax
jns 0x10210337
xor esi, esi
push esi
call fcn.1000abc0
add esp, 4
test eax, eax
je 0x10210317
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
je 0x10210326
inc esi
cmp esi, 0x190
jl 0x10210300
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
mov eax, 0x5d7945
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.1000abc0
add esp, 4
test eax, eax
je 0x1021035b
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
jne 0x1021035b
push dword [edi + 4]
mov eax, 0x5d7945
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10211010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10295418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
movq qword [ecx + 4], xmm0
mov word [ecx + 0xc], 0
push ebx
lea ebx, [ecx + 4]
movq qword [ebp - 0x10], xmm0
mov byte [ebx + 0xa], 0
movups xmmword [ecx + 0xf], xmm0
push edi
lea edi, [ecx + 0xf]
mov word [ebp - 8], 0
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x28]
mov byte [edi + 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
movq xmm0, qword [eax]
mov ax, word [eax + 8]
mov word [ebp - 8], ax
mov eax, dword [edx + 0x10]
xor byte [ebp - 8], 0xab
xor byte [ebp - 7], 0xfc
mov dword [ebp - 0x18], eax
mov eax, 1
sub eax, ecx
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [edx]
xor byte [ebp - 0x10], 0xfc
xor byte [ebp - 0xf], 0xcf
xor byte [ebp - 0xe], 0xab
xor byte [ebp - 0xd], 0xfc
xor byte [ebp - 0xc], 0xcf
xor byte [ebp - 0xb], 0xab
xor byte [ebp - 0xa], 0xfc
xor byte [ebp - 9], 0xcf
mov dword [ebp - 0x30], eax
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], eax
xor edi, edi
mov eax, 3
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x38], eax
mov eax, 4
sub eax, ecx
mov byte [ebp - 6], 0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x2c], 0xcffc
mov byte [ebp - 0x2a], 0xab
mov dword [ebp - 0x3c], eax
push esi
mov eax, 0xaaaaaaab
lea esi, [ebp - 0x28]
mul edi
add esi, edi
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2c]
lea ecx, [esi + ebx]
xor byte [esi], al
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2b]
xor byte [esi + 1], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x34]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2a]
xor byte [esi + 2], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x38]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x29]
xor byte [esi + 3], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x3c]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
add edi, 5
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x28]
xor byte [esi + 4], al
cmp edi, 0x14
jl 0x102110f4
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x10]
mov edi, dword [ebp - 0x44]
mov eax, ecx
sub ebx, eax
pop esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x102111a0
lea eax, [ebp - 0x28]
mov ecx, eax
sub edi, ecx
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edi + eax - 1], cl
test cl, cl
jne 0x102111b4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10250f5f
mov esp, ebp
pop ebp
ret 8
Function at 0x102116d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x40
push 1
push edi
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10211710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x10211730
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10219730
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x1505
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xc]
jae 0x10219783
mov edx, dword [ebp - 8]
shl edx, 5
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
push edx
call fcn.1022a450
add esp, 4
movsx eax, al
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x10219746
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x3f
div ecx
mov eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x10225f90
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x673], 0
je 0x1022601c
cmp dword [esi + 0x19c], 0
je 0x10225fe3
push esi
call fcn.10214d90
push 1
push esi
mov byte [esp + 0x14], al
call fcn.10215020
push dword [esi + 0x14c]
mov eax, dword [esi + 0x19c]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.10215020
add esp, 0x28
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x1022601c
push dword [esi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x1027ac78
push 2
push eax
call fcn.1025a745
push dword [esi + 0x148]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.1025a745
add esp, 0x20
pop esi
ret

Function at 0x10228670
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x1027b0d8
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x1022868a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x1027b0f4
push esi
call fcn.10260190
add esp, 8
test eax, eax
je 0x102286d2
test ebp, ebp
je 0x102286c3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x102286f8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x102286f8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x102287af
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10228715
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x102287a5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x102287a5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10228747
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10228760
sub ecx, edx
add ecx, ebx
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10228770
test ebp, ebp
je 0x1022879c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x10295004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x10295004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x1022e590
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1022e5af
cmp dword [esi + 0x84], 0
je 0x1022e5af
push 2
push 3
push esi
call fcn.1022aa70
add esp, 0xc
push dword [esp + 0xc]
call fcn.1022dff0
add esp, 4
test esi, esi
je 0x1022e5d3
cmp dword [esi + 0x84], 0
je 0x1022e5d3
push 3
push esi
call fcn.1022aab0
add esp, 8
pop esi
ret

Function at 0x1022e6e0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1022e720
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x1022e70f
push 0
call fcn.1022e6e0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov ecx, dword [esi + 0x7c]
xor eax, eax
pop esi
cmp byte [ecx + 0x104], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1022e73d
xor esi, esi
xor eax, eax
cmp eax, esi
pop esi
sbb eax, eax
neg eax
ret
push eax
mov esi, 1
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
cmp eax, esi
pop esi
sbb eax, eax
neg eax
ret
Function at 0x102382f0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.1021a1e0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.10267b7e
push dword [esp + 0x40]
mov edi, eax
call fcn.10267b7e
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x10238385
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.1021a1e0
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.1021a280
add esp, 0x20
test edx, edx
ja 0x102383a9
jb 0x10238377
cmp eax, 0x3e8
ja 0x102383a9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10238340
test edi, edi
je 0x10238392
push edi
call fcn.1025a1fd
add esp, 4
test esi, esi
je 0x1023839f
push esi
call fcn.1025a1fd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x102383b6
push edi
call fcn.1025a1fd
add esp, 4
test esi, esi
je 0x102383c3
push esi
call fcn.1025a1fd
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x102388b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [eax], ebx
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x10238a41
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10238a2c
push ebp
push edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1023890e
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10238900
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10238910
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
cmp eax, 2
jne 0x10238921
lea ebp, [eax + 0xe]
jmp 0x1023892d
cmp eax, 0x17
jne 0x102389ce
lea ebp, [eax + 5]
cmp dword [esi + 0x18], 0
je 0x102389ce
mov eax, dword [esi + 0x10]
test eax, eax
je 0x102389ce
cmp eax, ebp
jb 0x102389ce
lea eax, [ecx + 0x20]
add eax, ebp
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
je 0x10238a1d
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x20]
push ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.10253e60
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x102389ba
mov eax, dword [edi + 0x18]
add eax, ebp
push ecx
mov dword [edi + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.10253e60
add esp, 0xc
mov eax, dword [esp + 0x18]
test ebx, ebx
cmove ebx, edi
test eax, eax
je 0x102389ca
mov dword [eax + 0x1c], edi
mov dword [esp + 0x18], edi
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x102388f2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
test eax, eax
je 0x102389ee
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x10238a28
test ebx, ebx
je 0x10238a0d
mov esi, dword [ebx + 0x1c]
push ebx
call dword [0x10295004]
add esp, 4
mov ebx, esi
test esi, esi
jne 0x102389f6
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x102389dd
test ebx, ebx
jne 0x10238a38
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x10238ed0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x10238f7b
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.1021f950
add esp, 0xc
cmp eax, 4
jne 0x10238f36
cmp byte [0x10296f18], 0
jne 0x10238f42
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x10238f7d
mov eax, dword [esp + 0x1c]
jmp 0x10238f5f
imul eax, dword [0x10296f1c], 0x41c64e6d
add eax, 0x3039
mov dword [0x10296f1c], eax
rol eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x10238f73
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x10238f63
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x10238ef0
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10238f90
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x1023902f
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1021f950
add esp, 0xc
cmp eax, 4
jne 0x10239010
cmp byte [0x10296f18], 0
jne 0x10238ff3
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x10239014
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret
imul eax, dword [0x10296f1c], 0x41c64e6d
add eax, 0x3039
mov dword [0x10296f1c], eax
rol eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x10239014
test eax, eax
jne 0x10239034
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x10238fb0
xor edx, edx
div ebp
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x10238fb0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10239040
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.10253bd0
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret