joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd7b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4bd7c1
mov eax, dword [ebp - 4]
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x10210], edx
mov dword [ebp - 0x1020c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd8af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x806]
xor ecx, ecx
mov edx, 0x802
call fcn.00404804
lea eax, [ebp - 0x806]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x1020c]
lea edx, [ebp - 0x806]
mov ecx, 0x401
call fcn.00406d44
mov eax, dword [ebp - 0x1020c]
lea edx, [ebp - 4]
call fcn.004bc3ec
push 0xfa02
lea eax, [ebp - 0x10208]
push eax
mov eax, dword [ebp - 4]
call fcn.00406bd0
push eax
call sub.kernel32.dll_GetLongPathNameW
test eax, eax
je 0x4bd87f
lea eax, [ebp - 0x10210]
lea edx, [ebp - 0x10208]
mov ecx, 0x7d01
call fcn.00406d44
mov eax, dword [ebp - 0x10210]
lea edx, [ebp - 4]
call fcn.004bc3ec
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd8b6
lea eax, [ebp - 0x10210]
mov edx, 2
call fcn.00406b3c
lea eax, [ebp - 4]
call fcn.00406b34
ret

Function at 0x4c8fcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c9011
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4c8fee
mov esp, ebp
pop ebp
ret 4
Function at 0x4ccc5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
call fcn.004043b0
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x4ccd3b
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x50aa60]
mov edx, 8
call fcn.004c8dec
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x50aa60]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x50aa60]
mov edx, 0x10
call fcn.004c8dec
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x50aa60]
mov edx, 0x18
call fcn.004c8dec
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4cccbe
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d1050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4d107f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4d10fe
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004cfa8c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4d10cc
mov cx, word [esp]
sub cx, si
jmp 0x4d10ce
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d10b5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4d10f4
mov cx, word [esp]
sub cx, si
jmp 0x4d10f6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4d10dd
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4d11e3
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004d0dbc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4d114a
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x4d1160
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x4d105a
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x4d11e3
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x4d11a2
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x4d1187
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.004cfa74
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x4d11e3
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x4d11e3
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x4d11c8
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x16c0]
push eax
call fcn.004cfa74
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d748c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00404804
cmp dword [ebp - 4], 0
je 0x4d7540
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x4d74fc
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.004d73e0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.004043b0
jmp 0x4d750c
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.004043b0
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x4d7526
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x4d751d
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d7558
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x4d75da
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x4d7597
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x4d7590
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4d760c
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x4d7614
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x4d762d
pop ebx
ret
Function at 0x4d7ec8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d7eee
mov dword [ebp - 0x10], 1
jmp 0x4d803e
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x4d7f06
mov dword [ebp - 0x10], 2
jmp 0x4d803e
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00404804
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x4d803e
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.004d7eb4
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00404804
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4d8004
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004d748c
cmp dword [ebp - 0x18], 1
jne 0x4d7fb8
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.004d7548
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.004d7548
jmp 0x4d7fca
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.004d7548
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.004d7558
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x4d7ff8
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x4d7fec
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x4d7f75
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x4d8034
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x4d802e
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x4d8015
dec word [ebp - 0x22]
jne 0x4d7f46
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4df780
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4e0520
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e0584
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00413e74
mov eax, dword [ebp - 4]
call fcn.004e0470
test al, al
je 0x4e0559
mov byte [ebp - 5], 1
jmp 0x4e056e
mov eax, dword [ebp - 0xc]
call fcn.00406bd0
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e058b
lea eax, [ebp - 0xc]
call fcn.00406b34
ret
Function at 0x4e087c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4e08d6
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x50ec98]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x4e08a4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4e0a88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4e0ae5
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x10]
call fcn.004e09d8
xor al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 0x11]
call fcn.004e0940
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x4e0aaa
mov esp, ebp
pop ebp
ret

Function at 0x4e0b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004065f4
xor eax, eax
push ebp
push 0x4e0c22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040630c
call fcn.00406484
dec eax
test eax, eax
jl 0x4e0bd3
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00406604
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.004e0940
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x4e0bb6
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.004e09d8
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov byte [ebp - 0x15], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x15]
call fcn.004e0940
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0x15]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x4e0bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0c29
lea eax, [ebp - 4]
call fcn.004060e0
ret
Function at 0x4ee2f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21e]
mov edx, 0x4ee37c
call fcn.00414750
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x4ee32b
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00414750
jmp 0x4ee33c
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x428]
mov ecx, 0x105
call fcn.00406d44
mov esp, ebp
pop ebp
ret

Function at 0x4fce58
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
call fcn.0041455c
push 0xbb8
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebx + 0x14]
call fcn.00413924
test al, al
je 0x4fce87
mov eax, dword [ebx + 0x14]
call fcn.00406bd0
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebx + 0x10]
call fcn.0041396c
test al, al
je 0x4fce9b
mov eax, dword [ebx + 0x10]
call fcn.004bd5dc
pop ebx
ret

Function at 0x4fd3a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fd4ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
mov eax, edi
call fcn.00406bd0
push eax
mov eax, esi
call fcn.00406bd0
push eax
push 0x4fd4dc
mov eax, dword [0x515b90]
call fcn.004927b0
push eax
call sub.shell32.dll_ShellExecuteW
push 0x1388
call sub.kernel32.dll_Sleep_2
call fcn.004bcac8
test al, al
je 0x4fd42c
mov eax, dword [ebx + 4]
add eax, 0xcc
push eax
lea eax, [ebp - 4]
push eax
mov eax, 0x4fd4f4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4fd534
call fcn.00414bb0
jmp 0x4fd454
mov eax, dword [ebx + 4]
add eax, 0xcc
push eax
lea eax, [ebp - 4]
push eax
mov eax, 0x4fd4f4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4fd580
call fcn.00414bb0
mov eax, dword [ebp - 4]
call fcn.00406bd0
push eax
push 0
mov eax, dword [ebx + 0x28]
add eax, 8
push eax
call fcn.0040b7e8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fd4b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4fd494
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReleaseMutex
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd4b8
cmp dword [ebp - 8], 0
jbe 0x4fd4b0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x4fd5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fd64d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1c]
call fcn.00413924
test al, al
je 0x4fd61c
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.004c2fbc
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004bc3c8
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x1c]
mov eax, ebx
call fcn.004fd3a4
push 0
mov eax, dword [0x515b90]
call fcn.004927b0
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004fce58
mov eax, dword [0x515b90]
call fcn.004b43a8
jmp 0x4fd632
mov edx, 0x4fd668
mov eax, ebx
call fcn.004fe158
mov eax, dword [0x515b90]
call fcn.004b43a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd654
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b3c
ret
Function at 0x4018f0
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00401790
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x401938
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x38
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x7b
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x401912
jmp loc.0040fd0f
mov eax, dword [esp]
pop ecx
ret

Function at 0x401b67
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp dword [0x407894], ebx
mov ecx, dword [esi + 0x288]
je 0x401bbf
and dword [0x407894], ebx
mov eax, dword [esi + 0x28c]
sub eax, 0x15
je 0x401b98
dec eax
jne 0x401b9d
mov ebx, 0x405de0
jmp 0x401b9d
mov ebx, 0x405ce0
test ecx, ecx
jbe 0x401baf
push edi
mov edi, ecx
push esi
push ebx
call fcn.00401940
dec edi
jne 0x401ba4
pop edi
push dword [esi + 0x284]
push 0x401957
jmp 0x40f09b
pop esi
pop ebx
ret

Function at 0x401bc2
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0xf
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
lea edi, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, ebx
xor eax, eax
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp + 0xe]
push eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
cmp ebx, 1
pop ecx
jb 0x401c5f
call dword [sym.imp.MSVCRT.dll_rand]
push 0x3e
cdq
pop ecx
idiv ecx
movsx eax, byte [ebp + edx - 0x3e]
push eax
lea eax, [ebp + 0xe]
push 0x407780
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [ebp + 0xe]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
jmp loc.0040fa64
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407164
push 0x407180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x407188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
jmp loc.0040fb56
Function at 0x402217
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetShortPathNameA
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetEnvironmentVariableA
push ebx
mov dword [ebp - 0x2c], eax
call esi
push eax
call edi
push 0x407304
push ebx
mov dword [ebp - 0x30], eax
call esi
push eax
call edi
push 0x4071e0
push ebx
mov dword [ebp - 0x38], eax
call esi
push eax
call edi
push str.SetPriorityClass
push ebx
mov dword [ebp - 0x24], eax
call esi
push eax
call edi
jmp loc.00410630

Function at 0x402446
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x40245f
push 1
pop eax
jmp 0x4024d4
mov eax, dword [0x408498]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4024cd
test eax, eax
je 0x40245f
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40245f
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4024cd
cmp eax, 0xffffffff
je 0x4024cd
add esi, eax
cmp esi, ebx
jb 0x40245f
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop ebx
leave
ret

Function at 0x402c37
Capabilities:
Packed with generic packer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402cac
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x402ca4
lea eax, [ebp - 0xc]
push 0xa
push eax
jmp loc.0040fe0f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
jmp loc.004104b2