joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a88d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402008
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
mov dword [ebp - 4], 0
test eax, eax
jne 0x411fcf
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x411fb1
xor ecx, ecx
jmp 0x411fc5
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x411fb6
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0040170b
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040fa60
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e0004
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0x4b7860
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040ed70
test eax, eax
je 0x412021
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x412021
push eax
call fcn.00411ed0
add esp, 4
mov edx, dword [0x4e0004]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x4b6acc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040ed70
test eax, eax
je 0x41206f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x41206f
push 0
push eax
call fcn.0046e581
add esp, 4
push eax
call fcn.00411780
add esp, 8
push 0
lea edx, [ebp - 0x10]
push edx
push 0x4b7b80
lea ecx, [ebp - 0x28]
call fcn.0040ed70
test eax, eax
je 0x4120a3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4120a3
push 1
push eax
call fcn.0046e581
add esp, 4
push eax
call fcn.00411780
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040f8b0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41211b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412240
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4122ca
cmp esi, 0xffffffff
je 0x4122ca
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
neg eax
lea ecx, [ebp - 8]
push ecx
push 0
sbb eax, eax
lea edx, [ebp - 0x14]
and eax, edx
push eax
push 0x7ffff
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x4121f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412470
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8946
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
call fcn.00402008
push str..dmp
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov dword [ebp - 4], 0
call fcn.0040336c
add esp, 0xc
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x260]
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4125a2
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x268]
push eax
call fcn.0040336c
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41253c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x260]
push ecx
push edi
call ebx
test eax, eax
je 0x4125a2
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.0040336c
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push edi
call ebx
test eax, eax
jne 0x412550
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4125cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret
Function at 0x412c10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8a38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x412d85
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [ebp - 0xd]
push ecx
lea edx, [edi + 2]
push edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004018d4
push ebx
lea eax, [ebp - 0x1c]
push eax
push edi
mov edi, dword [ebp - 0x2c]
push edi
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x4e0004]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp byte [edi], 0xff
mov byte [ebp - 4], 1
jne 0x412d5d
cmp byte [edi + 1], 0xfe
jne 0x412d5d
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402008
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040195e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
push ecx
push edx
push esi
call fcn.00412a50
mov dword [ebp - 0x18], eax
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.0046d5e2
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412d7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.0046d5e2
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4130c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
push eax
xor ebx, ebx
push ecx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x4130ed
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
lea edx, [ebp - 1]
push edx
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 1], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004018d4
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
push esi
push edi
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41313d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x4b7c70
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x413155
cmp esi, ebx
je 0x41314a
push esi
call fcn.0046d5e2
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
movzx edx, word [eax + 0xe]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
movzx edx, word [eax + 0xc]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [ecx + 0x14], 1
cmp esi, ebx
je 0x413193
push esi
call fcn.0046d5e2
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4131b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x64c], ecx
mov dword [ebp - 0x644], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x650], edx
lea edx, [ebp - 0x628]
push edx
mov dword [ebp - 0x648], eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x28]
push ecx
push esi
call fcn.0046e817
add esp, 0x14
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x654]
call fcn.00402008
mov eax, dword [eax]
push 0x4b7c7c
push eax
call fcn.0046eaf3
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x654]
sete byte [ebp - 0x63d]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41327d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x63d], 0
je 0x413378
xor edi, edi
mov dword [ebp - method.CLibLoader.virtual_0], vtable.CLibLoader.0
mov dword [ebp - 0x654], edi
test esi, esi
je 0x4132af
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x654], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x413366
lea ecx, [ebp - 0x20]
push ecx
push edi
mov dword [ebp - 0x20], 0x476c6c44
mov dword [ebp - 0x1c], 0x65567465
mov dword [ebp - 0x18], 0x6f697372
mov word [ebp - 0x14], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x413366
xor ecx, ecx
lea edx, [ebp - 0x63c]
push edx
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x634], ecx
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x62c], ecx
mov dword [ebp - 0x63c], 0x14
call eax
test eax, eax
js 0x413366
mov eax, dword [ebp - 0x638]
mov ecx, dword [ebp - 0x644]
mov edx, dword [ebp - 0x634]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64c]
mov ecx, dword [ebp - 0x630]
mov dword [eax], edx
mov edx, dword [ebp - 0x650]
mov eax, dword [ebp - 0x62c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x648]
mov dword [ecx], eax
push edi
mov dword [ebx + 0x14], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x41339c
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x413378
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x648]
mov eax, dword [ebp - 0x650]
mov ecx, dword [ebp - 0x64c]
push edx
mov edx, dword [ebp - 0x644]
push eax
push ecx
push edx
push esi
mov ecx, ebx
call fcn.004130c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 0x14
Function at 0x414f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
lea esi, [edx + 4]
mov eax, esi
push edi
mov edi, ecx
lea ecx, [ebp + 8]
cmp eax, edx
je 0x414f3b
lea ebx, [ebx]
mov bl, byte [eax - 1]
dec eax
mov byte [ecx], bl
inc ecx
cmp eax, edx
jne 0x414f30
mov edx, dword [ebp + 8]
lea eax, [esi + 4]
lea ecx, [ebp + 8]
cmp eax, esi
je 0x414f53
mov bl, byte [eax - 1]
dec eax
mov byte [ecx], bl
inc ecx
cmp eax, esi
jne 0x414f48
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x10]
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 8
mov edi, eax
shr edi, 5
add edi, dword [ebp + 8]
lea ecx, [esi + eax - 0x61c88647]
xor ecx, edi
mov edi, eax
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
add edx, ecx
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
lea ecx, [esi + edx - 0x61c88647]
xor ecx, edi
mov edi, edx
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
add eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + eax + 0x3c6ef372]
xor ecx, edi
add edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + edx + 0x3c6ef372]
xor ecx, edi
add eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + eax - 0x255992d5]
xor ecx, edi
add edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + edx - 0x255992d5]
xor ecx, edi
add eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + eax + 0x78dde6e4]
xor ecx, edi
add edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + edx + 0x78dde6e4]
xor ecx, edi
add eax, ecx
add esi, 0x78dde6e4
dec dword [ebp - 0x10]
jne 0x414f77
mov dword [ebp + 8], edx
lea ecx, [ebp + 0xc]
lea esi, [ebp - 0x10]
mov dl, byte [ecx - 1]
dec ecx
mov byte [esi], dl
lea edx, [ebp + 8]
inc esi
cmp ecx, edx
jne 0x415077
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esi], ecx
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov dl, byte [eax - 1]
dec eax
mov byte [ecx], dl
lea edx, [ebp + 8]
inc ecx
cmp eax, edx
jne 0x415096
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4150c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
lea esi, [edx + 4]
mov eax, esi
push edi
mov edi, ecx
lea ecx, [ebp + 8]
cmp eax, edx
je 0x4150eb
lea ebx, [ebx]
mov bl, byte [eax - 1]
dec eax
mov byte [ecx], bl
inc ecx
cmp eax, edx
jne 0x4150e0
mov edx, dword [ebp + 8]
lea eax, [esi + 4]
lea ecx, [ebp + 8]
cmp eax, esi
je 0x415103
mov bl, byte [eax - 1]
dec eax
mov byte [ecx], bl
inc ecx
cmp eax, esi
jne 0x4150f8
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 8]
mov esi, 0xc6ef3720
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 8
lea ebx, [ebx]
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + edx]
xor ecx, edi
sub eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + eax]
xor ecx, edi
sub edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + edx + 0x61c88647]
xor ecx, edi
sub eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + eax + 0x61c88647]
xor ecx, edi
sub edx, ecx
mov edi, edx
shr edi, 5
add edi, dword [ebp + 8]
lea ecx, [esi + edx - 0x3c6ef372]
xor ecx, edi
mov edi, edx
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
sub eax, ecx
mov edi, eax
shr edi, 5
add edi, dword [ebp - 8]
lea ecx, [esi + eax - 0x3c6ef372]
xor ecx, edi
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
sub edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [ebp + 8]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 4]
xor ecx, edi
lea edi, [esi + edx + 0x255992d5]
xor ecx, edi
sub eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor ecx, edi
lea edi, [esi + eax + 0x255992d5]
xor ecx, edi
sub edx, ecx
sub esi, 0x78dde6e4
dec dword [ebp - 0x10]
jne 0x415130
mov dword [ebp + 8], edx
lea ecx, [ebp + 0xc]
lea esi, [ebp - 0x10]
mov dl, byte [ecx - 1]
dec ecx
mov byte [esi], dl
lea edx, [ebp + 8]
inc esi
cmp ecx, edx
jne 0x415228
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esi], ecx
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov dl, byte [eax - 1]
dec eax
mov byte [ecx], dl
lea edx, [ebp + 8]
inc ecx
cmp eax, edx
jne 0x415247
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x415360
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00415340
mov byte [esi], 0x80
pop esi
ret
Function at 0x415f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x418], ecx
push ecx
cmp eax, ecx
jne 0x415f89
mov dword [esi + 0x10], ecx
xor eax, eax
mov dword [esi + 0x14], 7
push 0x4b67c8
mov ecx, esi
mov word [esi], ax
call fcn.00413b10
jmp 0x416051
push 0x80
push 3
push ecx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x415fcb
xor ecx, ecx
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
push 0x4b67c8
mov ecx, esi
call fcn.00413b10
jmp 0x416051
mov ecx, edi
call fcn.00415360
mov dword [ebp - 0x414], 0
push 0
lea edx, [ebp - 0x414]
push edx
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x414]
push ecx
lea edx, [ebp - 0x410]
push edx
mov ecx, edi
call fcn.00415ac0
cmp dword [ebp - 0x414], 0
ja 0x415fdc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x434]
push eax
mov ecx, edi
call fcn.00415d20
push eax
mov ebx, 1
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00415b80
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 0
call fcn.00413f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 8
Function at 0x4178c0
Capabilities:
Contain obfuscated stackstrings
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a91a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x60]
push ecx
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [ebp - 0x60], 0x6f0053
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x610077
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x5c005c
mov dword [ebp - 0x4c], 0x6c0041
mov dword [ebp - 0x48], 0x780065
mov dword [ebp - 0x44], 0x200061
mov dword [ebp - 0x40], 0x6e0049
mov dword [ebp - 0x3c], 0x650074
mov dword [ebp - 0x38], 0x6e0072
mov dword [ebp - 0x34], 0x740065
mov dword [ebp - 0x30], 0x5c005c
mov dword [ebp - 0x2c], 0x6c0041
mov dword [ebp - 0x28], 0x780065
mov dword [ebp - 0x24], 0x390061
mov dword [ebp - 0x20], 0x5c005c
mov dword [ebp - 0x1c], 0x6c0041
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x61
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [ebp - 0x64]
push edx
call fcn.00488aa0
mov eax, dword [eax]
push 0
push eax
push str.AIDCreateDay
push str.AlexaSetting
mov dword [ebp - 4], 0
call fcn.0041d260
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4179d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret