joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464598
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40fe80]
call fcn.004058e4
xor eax, eax
push ebp
push 0x464739
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c4a64], 0
jne 0x4645f3
mov ecx, dword [0x4c8f80]
mov dl, 1
mov eax, dword [0x4083e8]
call fcn.0040dc18
call fcn.004046d0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403678
mov eax, ebx
call fcn.00405734
mov dword [ebp - 0x24], eax
mov esi, 0x464748
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406b04
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405744
test eax, eax
jle 0x4646dc
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4646c8
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405054
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46466e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040506c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x464684
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040506c
mov eax, dword [ebp - 0x54]
call fcn.00405274
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405054
mov eax, dword [ebp - 0x58]
call fcn.00405274
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4646ca
xor eax, eax
test al, al
je 0x4646d5
mov ebx, 0x15
jmp 0x4646e1
mov ebx, 0x10
jmp 0x4646e1
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4c4a64]
call fcn.00464418
mov eax, dword [ebp - 4]
call fcn.00464418
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464740
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404e08
lea eax, [ebp - 0xc]
mov edx, dword [0x40fe80]
call fcn.004059b4
ret
Function at 0x46c5e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c657
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404de4
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x46c637
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405054
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c65e
lea eax, [ebp - 4]
call fcn.00404de4
ret

Function at 0x46cc54
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x4c4cf4]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x46cc8c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x46cca4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46cc9d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403678
xor edx, edx
mov eax, 0x4c4ef4
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x46cd0b
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x46ccc2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x46cf4c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x46cf65
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x46cf5e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x46cf77
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46cf70
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0046cb44
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46cf91
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0046cc54
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x46d019
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x46d037
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0046cbd4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46d061
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d078
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x46d091
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46d08a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x46d0a5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046ca44
test bl, bl
jne 0x46d17f
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4ced2c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d0dd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d0f2
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cf4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x46d125
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x46d0d2
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d149
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x46d15b
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d170
jmp 0x46d240
cmp bl, 1
jne 0x46d240
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4ced86
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d19f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d1b4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cf4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x46d1e7
sub ebx, 6
inc dword [ebp - 8]
jne 0x46d194
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x46d20f
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46d221
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x46d236
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cac4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x48b5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48b5fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048b590
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00488e80
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00488998
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b601
lea eax, [ebp - 4]
call fcn.00404de4
ret
Function at 0x4a8074
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x4a80c9
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x4a80b4
and byte [ebp - 0x72], 0xfe
jmp 0x4a80b8
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x4a8150
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x4a8150
mov eax, ebx
movzx eax, al
bt dword [0x4c8918], eax
jae 0x4a811e
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004a8028
pop ecx
cmp byte [ebp - 1], 0
je 0x4a814b
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004a8028
pop ecx
jmp 0x4a814b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004a8028
pop ecx
cmp byte [ebp - 1], 0
je 0x4a814b
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004a8028
pop ecx
dec si
jne 0x4a80de
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a8158
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
movzx edx, dl
bt dword [0x4c8918], edx
jae 0x4a818c
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.004a8028
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.004a8028
pop ecx
pop ebx
pop ebp
ret
Function at 0x4be644
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4be7a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c9570]
cmp dword [eax], 0
je 0x4be780
call sub.user32.dll_GetForegroundWindow
mov esi, eax
mov eax, dword [0x4d0d94]
call fcn.0044b8e8
push eax
call sub.user32.dll_SetForegroundWindow
lea eax, [ebp - 4]
call fcn.00406b04
push eax
lea ecx, [ebp - 8]
mov eax, dword [0x4d0d94]
mov eax, dword [eax + 0x374]
mov edx, 0xcb
call fcn.00468b00
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1b0]
call fcn.00406c14
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xec]
call fcn.00406c14
mov eax, 0x4be7b4
xor edx, edx
call fcn.004a83cc
mov dl, 1
mov eax, dword [0x435400]
call fcn.00403e2c
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00435684
mov edx, dword [ebp - 0xc]
mov eax, 0x4d0dac
call fcn.00404e38
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [0x4c9570]
mov edx, dword [edx]
mov eax, ebx
call fcn.00435704
mov eax, 0x4be7bc
xor edx, edx
call fcn.004a83cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, ebx
call fcn.00403e5c
mov eax, 0x4be7b4
xor edx, edx
call fcn.004a83cc
mov al, 0x20
call fcn.004be624
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4be76a
cmp eax, 0x3e8
jbe 0x4be76c
jmp 0x4be77a
jg 0x4be77a
mov eax, dword [0x4c9424]
mov eax, dword [eax]
call fcn.0046202c
jmp 0x4be747
push esi
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be7ad
lea eax, [ebp - 0xc]
call fcn.00404de4
lea eax, [ebp - 8]
call fcn.00406b04
lea eax, [ebp - 4]
call fcn.00406b04
ret
Function at 0x4bfed0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4bfed8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405264
xor eax, eax
push ebp
push 0x4c010d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4c9424]
mov eax, dword [eax]
call fcn.00462a00
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a044
mov eax, dword [ebp - 0x14]
mov ecx, 3
mov edx, 1
call fcn.004052dc
mov eax, dword [0x4c9038]
cmp byte [eax], 6
je 0x4bff44
mov eax, dword [0x4c9038]
cmp byte [eax], 7
jne 0x4bff69
lea eax, [ebp - 0x20]
call fcn.0046c6b8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a044
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x4c0128
call fcn.004050fc
jmp 0x4bff83
push dword [ebp - 0xc]
push 0x4c013c
push 0x4c0128
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405178
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a3e4]
call fcn.0041f134
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4bffc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x36c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00490a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bffef
mov esi, dword [0x4c9014]
mov esi, dword [esi]
mov edx, dword [0x4c9014]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x4c0170
call fcn.004050fc
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
call fcn.00405274
push eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
call fcn.00405274
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [0x4c9014]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.004bfe4c
test al, al
je 0x4c0077
mov edx, dword [0x4c9014]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x4c0170
call fcn.004050fc
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
call fcn.00405274
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4c00ba
mov edx, dword [0x4c9014]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
mov ecx, 0x4c0170
call fcn.004050fc
mov esi, dword [ebp - 0x34]
mov edi, dword [0x4c9014]
mov edi, dword [edi]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
call fcn.00405274
push eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
call fcn.00405274
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x10]
call fcn.00403e5c
mov eax, dword [ebp - 8]
call fcn.00405274
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0114
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404e08
lea eax, [ebp - 0x24]
call fcn.00404de4
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404e08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e08
ret
Function at 0x4c0a6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
lea ebx, [ebp - 0x100]
xor eax, eax
push ebp
push 0x4c0b79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4c0b90
call fcn.00409e60
test al, al
je 0x4c0b6b
mov eax, 0x4c0bbc
call fcn.00409e60
test al, al
je 0x4c0aba
mov eax, 0x4c0bd0
call fcn.00405274
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x4c0be8
call fcn.00409e60
test al, al
je 0x4c0ad8
mov eax, 0x4c0bfc
call fcn.00405274
push eax
call sub.kernel32.dll_DeleteFileA
mov byte [ebx], 0x30
mov byte [ebx + 1], 0x31
mov byte [ebx + 2], 0x32
mov byte [ebx + 3], 0x33
mov byte [ebx + 6], 0x36
mov byte [ebx + 7], 0x37
mov byte [ebx + 9], 0x39
mov byte [ebx + 0xa], 0x61
mov byte [ebx + 0xb], 0x62
mov byte [ebx + 0xc], 0x63
mov byte [ebx + 0xd], 0x64
mov byte [ebx + 0xe], 0x65
mov byte [ebx + 0xf], 0x66
mov byte [ebx + 0x10], 0x67
mov byte [ebx + 0x11], 0x68
mov byte [ebx + 0x12], 0x69
mov byte [ebx + 0x13], 0x6a
mov byte [ebx + 0x14], 0x30
mov byte [ebx + 0x15], 0x31
mov byte [ebx + 0x16], 0x32
mov byte [ebx + 0x17], 0x33
mov byte [ebx + 0x18], 0x34
mov byte [ebx + 0x19], 0x35
mov byte [ebx + 0x1a], 0x36
mov byte [ebx + 0x1b], 0x37
mov byte [ebx + 0x1c], 0x38
mov byte [ebx + 0x1d], 0x39
mov byte [ebx + 0x1e], 0x30
mov byte [ebx + 0x1f], 0x31
mov byte [ebx + 0x20], 0x32
mov byte [ebx + 0x21], 0x33
mov byte [ebx + 0x22], 0x34
mov byte [ebx + 0x23], 0x35
mov byte [ebx + 0x24], 0x36
mov byte [ebx + 0x25], 0x37
mov byte [ebx + 0x26], 0x38
mov byte [ebx + 0x27], 0x39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0b80
ret
Function at 0x4067c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4067e8
xor eax, eax
test eax, eax
je 0x4067fb
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4067fb
xor ecx, ecx
jmp 0x4067fe
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406927
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45fdcc], 0
push esi
jne 0x40695e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406938
mov dword [ecx*4 + 0x45fdc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406933
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40698f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fdc8]
xor eax, esi
inc ecx
dec edx
jne 0x406971
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x3e9d6438
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
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
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x3805074f
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x406830
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41fa8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045dc
call fcn.004093c4
push 4
mov dword [esp + 0x18], 0
call fcn.0040ac76
mov edi, eax
add esp, 4
test edi, edi
je 0x4068a4
push ebx
call fcn.004091bf
mov dword [edi], eax
call fcn.00408f7e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409385
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406898
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004093ad
pop ebx
jmp 0x4068a6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b76e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4233dc]
jne 0x40b778
repz ret
jmp fcn.0041287c
Function at 0x41828b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e5a2
and dword [ebp - 0x14], 0
cmp dword [0x44e2f4], 0
mov dword [ebp - 0x18], eax
jne 0x41833e
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4183e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fe4
push ebx
call edi
test eax, eax
je 0x4183e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fd4
push ebx
mov dword [0x44e2f4], eax
call edi
push eax
call esi
push 0x403fc0
push ebx
mov dword [0x44e2f8], eax
call edi
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x44e2fc], eax
call edi
push eax
call esi
mov dword [0x44e304], eax
test eax, eax
je 0x41833e
push 0x403f8c
push ebx
call edi
push eax
call esi
mov dword [0x44e300], eax
mov eax, dword [0x44e300]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418397
cmp dword [0x44e304], ecx
je 0x418397
push eax
call esi
push dword [0x44e304]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418397
test ebx, ebx
je 0x418397
call edi
test eax, eax
je 0x41838e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41838e
test byte [ebp - 8], 1
jne 0x418397
or dword [ebp + 0x10], 0x200000
jmp 0x4183ca
mov eax, dword [0x44e2f8]
cmp eax, dword [ebp - 0x18]
je 0x4183ca
push eax
call esi
test eax, eax
je 0x4183ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4183ca
mov eax, dword [0x44e2fc]
cmp eax, dword [ebp - 0x18]
je 0x4183ca
push eax
call esi
test eax, eax
je 0x4183ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e2f4]
call esi
test eax, eax
je 0x4183e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4183e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b76e
leave
ret