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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x430510]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4324a0], 0
push ebx
push esi
push edi
mov dword [ebp - 0x238], str.getaddrinfo
mov dword [ebp - 0x234], 0x40d950
mov dword [ebp - 0x230], str.getnameinfo
mov dword [ebp - 0x22c], 0x40dc10
mov dword [ebp - 0x228], str.freeaddrinfo
mov dword [ebp - 0x224], fcn.0040de90
je 0x40df59
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x4314a4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004140c3
mov esp, ebp
pop ebp
ret 4
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40e06f
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x118]
push 0x10c
push eax
call fcn.0041568d
push str.ws2_32
lea ecx, [ebp - 0x118]
push 0x10c
push ecx
call fcn.00415bbc
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40dfd2
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x40e027
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x118]
push 0x10c
push ecx
call fcn.0041568d
push str.wship6
lea edx, [ebp - 0x118]
push 0x10c
push edx
call fcn.00415bbc
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call edi
mov esi, eax
test esi, esi
je 0x40e06f
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x40e027
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e06f
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebp + edi*8 - 0x238]
push ecx
push esi
call ebx
mov dword [ebp + edi*8 - 0x234], eax
test eax, eax
je 0x40e01e
inc edi
cmp edi, 3
jl 0x40e030
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x224]
mov dword [0x4314a4], edx
mov dword [0x4314ac], eax
mov dword [fcn.0040de90], ecx
movzx edx, word [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x4314a4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x4324a0], 1
pop ebx
call fcn.004140c3
mov esp, ebp
pop ebp
ret 4
Function at 0x40f620
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x40f65a
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x40f644
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x40f671
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x40f69f
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x40f694
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret

Function at 0x40f9e0
Capabilities:
Encrypt data using twofish

Disassembly:
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 4]
sub ecx, 2
je 0x40fa94
dec ecx
je 0x40fa4e
dec ecx
jne 0x40fb1f
mov edx, eax
shr edx, 0x18
movzx ecx, byte [edx + 0x4298b0]
mov edx, eax
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + 0x4297b0]
shl ecx, 8
xor ecx, edx
mov edx, eax
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x4297b0]
movzx eax, al
movzx eax, byte [eax + 0x4298b0]
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor eax, ecx
xor eax, dword [esi + 0x18]
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x4297b0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x4297b0]
shl edx, 8
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x4298b0]
movzx eax, al
movzx eax, byte [eax + 0x4298b0]
shl edx, 8
xor edx, ecx
shl edx, 8
xor eax, edx
xor eax, dword [esi + 0x10]
mov edx, eax
shr edx, 0x18
movzx ecx, byte [edx + 0x4298b0]
mov edx, eax
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + 0x4297b0]
shl ecx, 8
xor ecx, edx
mov edx, eax
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x4298b0]
movzx eax, al
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x4297b0]
shl ecx, 8
xor ecx, edx
xor ecx, dword [esi + 8]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + 0x4298b0]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x4298b0]
shl eax, 8
xor eax, edx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x4297b0]
shl eax, 8
xor eax, edx
movzx ecx, cl
movzx edx, byte [ecx + 0x4297b0]
shl eax, 8
xor eax, edx
xor eax, dword [esi]
ret

Function at 0x4140c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430510]
jne 0x4140cd
repz ret
jmp fcn.00419dda
Function at 0x42069c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430510]
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.004196ba
and dword [ebp - 0x14], 0
cmp dword [0x4323d8], 0
mov dword [ebp - 0x18], eax
jne 0x42074f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4207f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4207f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4323d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4323dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4323e0], eax
call edi
push eax
call esi
mov dword [0x4323e8], eax
test eax, eax
je 0x42074f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4323e4], eax
mov eax, dword [0x4323e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4207a8
cmp dword [0x4323e8], ecx
je 0x4207a8
push eax
call esi
push dword [0x4323e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4207a8
test ebx, ebx
je 0x4207a8
call edi
test eax, eax
je 0x42079f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42079f
test byte [ebp - 8], 1
jne 0x4207a8
or dword [ebp + 0x10], 0x200000
jmp 0x4207db
mov eax, dword [0x4323dc]
cmp eax, dword [ebp - 0x18]
je 0x4207db
push eax
call esi
test eax, eax
je 0x4207db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4207db
mov eax, dword [0x4323e0]
cmp eax, dword [ebp - 0x18]
je 0x4207db
push eax
call esi
test eax, eax
je 0x4207db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4323d8]
call esi
test eax, eax
je 0x4207f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4207f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004140c3
leave
ret
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401177
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011a8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4011a4
cmp esi, eax
jae 0x4011a8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x401194
cmp esi, eax
jb 0x4011ae
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

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

Disassembly:
sub esp, 0x400
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x4014a6
xor eax, 0xedb88320
test al, 1
je 0x4014b3
shr eax, 1
xor eax, 0xedb88320
jmp 0x4014b5
shr eax, 1
test al, 1
je 0x4014c2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4014c4
shr eax, 1
test al, 1
je 0x4014d1
shr eax, 1
xor eax, 0xedb88320
jmp 0x4014d3
shr eax, 1
test al, 1
je 0x4014e0
shr eax, 1
xor eax, 0xedb88320
jmp 0x4014e2
shr eax, 1
test al, 1
je 0x4014ef
shr eax, 1
xor eax, 0xedb88320
jmp 0x4014f1
shr eax, 1
test al, 1
je 0x4014fe
shr eax, 1
xor eax, 0xedb88320
jmp 0x401500
shr eax, 1
test al, 1
je 0x40150d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40150f
shr eax, 1
mov dword [esp + ecx*4], eax
add ecx, 1
cmp ecx, 0x100
jl 0x401498
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x40154e
push ebx
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esp + edi*4 + 8]
add ecx, 1
cmp ecx, edx
jb 0x401530
pop edi
pop ebx
not eax
add esp, 0x400
ret
Function at 0x401730
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x210
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push edi
mov edi, ecx
xor ebp, ebp
cmp dword [edi + 0x468], ebp
mov eax, str.QQMusicLaunch.prf
jne 0x401781
mov eax, dword [edi + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x480]
pop edi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004034ec
add esp, 0x210
ret
cmp dword [edi + 4], ebp
je 0x40179d
push str.QQMusicLaunch.prf
lea ecx, [edi + 0x152]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
jne 0x4017cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401850
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4017e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40184f
push 0
push ebx
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x401804
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40184f
push ebx
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea edx, [ebx - 4]
mov dword [edi + 0x470], esi
call fcn.00401490
cmp eax, dword [esi + ebx - 4]
je 0x401832
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40184b
push edi
call fcn.00401ee0
test eax, eax
je 0x401845
call fcn.004018a0
test eax, eax
jne 0x40184b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x10]
pop ebx
mov eax, dword [edi + 0x470]
test eax, eax
je 0x40186b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [edi + 0x470], 0
test ebp, ebp
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x401878
push ebp
call edi
cmp esi, 0xffffffff
je 0x401880
push esi
call edi
mov ecx, dword [esp + 0x218]
pop esi
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004034ec
add esp, 0x210
ret
Function at 0x401900
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push 0
push 0x50000080
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x401a18
mov edx, dword [esi + 0x464]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x290]
push edx
mov dword [esi + 0x460], ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFileEx]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0xc], 0
add edi, 0x29c
mov eax, dword [esi + 0x468]
push 0x14
push 9
push eax
call ebp
mov ecx, dword [edi - 4]
mov dword [eax + 8], ecx
add dword [esi], 1
mov ecx, dword [esp + 0x10]
push 0x402060
push eax
mov dword [eax + 0x10], esi
mov edx, dword [edi]
mov eax, dword [esi + 0x47c]
push edx
push eax
push ecx
call ebx
test eax, eax
jne 0x4019b3
add dword [esi], 0xffffffff
jne 0x4019ac
mov eax, esi
call fcn.00401660
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
add dword [esi + 0x460], 0xffffffff
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
add eax, 1
add edi, 0xc
cmp eax, dword [edx + 0x290]
mov dword [esp + 0xc], eax
jbe 0x401963
cmp dword [esi + 0x460], 0
jle 0x401a04
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea esp, [esp]
mov eax, dword [esi + 0x464]
push 1
push 0x1388
push eax
call edi
test eax, eax
je 0x401a04
cmp eax, 0x102
je 0x401a04
cmp dword [esi + 0x460], 0
jg 0x4019e0
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
add esp, 8
mov dword [esp + 4], ecx
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
ret 4

Function at 0x401a70
Capabilities:
Set current directory

Disassembly:
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esi + 4], 0
mov edi, eax
je 0x401a8f
lea eax, [esi + 0x35a]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esi + 0x478]
mov ecx, eax
imul ecx, ecx, 0x64
push ecx
lea edx, [eax + eax]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
test eax, eax
jne 0x401ab5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
ret 4
mov eax, dword [esp + 0xc]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x401af5
xor esi, esi
cmp dword [ebx + 0x10c], esi
jbe 0x401aee
lea edi, [ebx + 0x110]
push edi
push ebp
mov ecx, ebx
call fcn.00401a20
add esi, 1
add edi, 0x18
cmp esi, dword [ebx + 0x10c]
jb 0x401ad7
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop edi
pop esi
ret 4
Function at 0x4020b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x403f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x407018]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x12]
push esi
push eax
mov word [esp + 0x18], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x1a
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x402177
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x10]
call fcn.004026f0
push 0x1a
push str.TencentQQMusicQQMusicUp
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x22c], esi
call fcn.00402e50
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x40217b
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4021d6
push 6
push str.Force
lea ecx, [esp + 0x10]
push ecx
call fcn.00402e50
mov edx, dword [esp + 8]
push edx
call esi
or edx, 0xffffffff
mov dword [esp + 0x220], 0xffffffff
test eax, eax
mov eax, dword [esp + 8]
jne 0x4021b8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40216b
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004034ec
add esp, 0x21c
ret

Function at 0x402200
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.004034ec
add esp, 0x118
ret
Function at 0x4031dd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040311c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40322c
cmp dword [ebp - 0x1c], 5
jb 0x403244
jmp 0x403240
cmp dword [ebp - 0x10], 1
jne 0x403244
cmp dword [ebp - 0x1c], 4
ja 0x403240
jne 0x403244
cmp dword [ebp - 0x18], 0
jbe 0x403244
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x40523c
call fcn.004010e0
test eax, eax
jge 0x403265
mov byte [0x407580], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004034ec
add ebp, 0x78
leave
ret

Function at 0x4034ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x4034f6
repz ret
jmp fcn.00403994

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

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, reloc.msvcrt.dll_vfprintf
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1003695
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], 6
add byte [eax], al
mov dword [ebp - 0x24], 4
xor ebx, ebx
inc ebx
mov edi, 6
mov dword [ebp - 0x14], 0x100a1fa
add byte [ecx], al
and dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 2]
add al, cl
loop 0x10036d3
add dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
xor eax, 0x4d
mov byte [ebp - 0x29], al
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 1]
shl edx, 0xc
add dword [ebp - 0x20], edx
mov dword [ebp - 4], 3
jmp 0x1003703
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x29]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 4], eax
jb 0x10036ef
mov dword [ebp - 0x30], 0x100a5fa
mov dword [ebp - 0x28], 0x1024000
mov eax, ebx
add eax, dword [ebp - 0x18]
sub eax, 7
mov dword [ebp - 8], eax
jmp 0x1003738

Function at 0x10036a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], 6
add byte [eax], al
mov dword [ebp - 0x24], 4
xor ebx, ebx
inc ebx
mov edi, 6
mov dword [ebp - 0x14], 0x100a1fa
add byte [ecx], al
and dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 2]
add al, cl
loop 0x10036d3
add dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
xor eax, 0x4d
mov byte [ebp - 0x29], al
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 1]
shl edx, 0xc
add dword [ebp - 0x20], edx
mov dword [ebp - 4], 3
jmp 0x1003703
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x29]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 4], eax
jb 0x10036ef
mov dword [ebp - 0x30], 0x100a5fa
mov dword [ebp - 0x28], 0x1024000
mov eax, ebx
add eax, dword [ebp - 0x18]
sub eax, 7
mov dword [ebp - 8], eax
jmp 0x1003738

Function at 0x10036c6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], 6
add byte [eax], al
mov dword [ebp - 0x24], 4
xor ebx, ebx
inc ebx
mov edi, 6
mov dword [ebp - 0x14], 0x100a1fa
add byte [ecx], al
and dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 2]
add al, cl
loop 0x10036d3
add dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
xor eax, 0x4d
mov byte [ebp - 0x29], al
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 1]
shl edx, 0xc
add dword [ebp - 0x20], edx
mov dword [ebp - 4], 3
jmp 0x1003703
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x29]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 4], eax
jb 0x10036ef
mov dword [ebp - 0x30], 0x100a5fa
mov dword [ebp - 0x28], 0x1024000
mov eax, ebx
add eax, dword [ebp - 0x18]
sub eax, 7
mov dword [ebp - 8], eax
jmp 0x1003738
Function at 0x1004170
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x10073bc], 0
push ebx
jne 0x10041ed
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x10041e1
cmp dword [ebp - 8], 0x660
jae 0x10041e1
xor eax, eax
mov eax, dword [eax*4 + 0x1007030]
mov dword [0x10073bc], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret