joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a4a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x274], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x260], ecx
mov esi, dword [eax]
xor edx, edx
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x25c], edx
cmp esi, eax
je 0x1006a631
lea ebx, [ebx]
cmp dword [esi + 0x1c], 8
jb 0x1006a4fb
mov eax, dword [esi + 8]
jmp 0x1006a4fe
lea eax, [esi + 8]
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1006a5b0
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x268], ecx
mov ecx, dword [ebp - 0x23c]
push eax
mov dword [ebp - 0x264], ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp ecx, dword [ebp - 0x264]
jb 0x1006a60d
mov edx, dword [ebp - 0x268]
ja 0x1006a555
cmp eax, edx
jbe 0x1006a60d
sub eax, edx
mov dword [edi], eax
sbb ecx, dword [ebp - 0x264]
mov dword [edi + 4], ecx
test ecx, ecx
ja 0x1006a56e
test eax, eax
jbe 0x1006a61a
mov ecx, dword [ebp - 0x274]
lea eax, [esi + 0x20]
mov edi, dword [ebp - 0x26c]
lea edx, [ecx + ecx]
sub edx, eax
add edx, edi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x1006a584
cmp dword [esi + 0x1c], 8
jb 0x1006a59f
mov eax, dword [esi + 8]
jmp 0x1006a5a2
lea eax, [esi + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
inc dword [ebp - 0x25c]
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x260]
dec dword [eax + 4]
cmp dword [esi + 0x1c], 8
jb 0x1006a5d9
push dword [esi + 8]
call fcn.1007b9e6
add esp, 4
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
push esi
mov word [esi + 8], ax
call fcn.1007b9e6
mov ecx, dword [ebp - 0x260]
add esp, 4
mov esi, edi
cmp edi, dword [ecx]
je 0x1006a61a
mov edi, dword [ebp - 0x270]
jmp 0x1006a4f0
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x25c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
Function at 0x1006a880
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dx, 0x30
jb 0x1006a896
cmp dx, 0x39
jbe 0x1006a8ab
cmp dx, 0x41
jb 0x1006a8a2
cmp dx, 0x5a
jbe 0x1006a8ab
lea eax, [edx - 0x61]
cmp ax, 0x19
ja 0x1006a8ba
mov ecx, dword [esi + 0x1c]
mov edi, 1
mov eax, dword [esi + 0x18]
mov word [eax + ecx*2], dx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
add ecx, edi
push ebx
push 0x10
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.1007c76d
mov edx, dword [esi + 0x1c]
add esp, 0xc
mov ebx, dword [esi + 0x18]
lea eax, [edx + edi]
lea ecx, [ebx + eax*2]
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a8f0
sub ecx, dword [ebp - 4]
sar ecx, 1
push 0x10
lea eax, [edx + ecx]
add eax, edi
lea eax, [ebx + eax*2]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call fcn.1007c76d
add esp, 0xc
lea ecx, [esi + 0x94]
call fcn.1006f1e0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [esi + 0x18]
mov dword [esi + 0x90], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
xor ecx, ecx
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
pop ebx
setne cl
mov eax, ecx
test ecx, ecx
je 0x1006a997
pop edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x67452301
mov dword [esi + 0x34], 0xefcdab89
mov dword [esi + 0x38], 0x98badcfe
mov dword [esi + 0x3c], 0x10325476
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x24], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1006a9b0
Capabilities:
Clear file content
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x1006aa2a
cmp dword [esi + 0xc], edi
ja 0x1006a9c9
cmp dword [esi + 8], edi
jbe 0x1006aa00
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
push dword [esi + 0x90]
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x94]
push eax
lea edx, [esi + 8]
call fcn.1006a650
add esp, 8
mov edi, eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x1006aa21
lea edx, [esi + 0x80]
lea ecx, [esi + 0x28]
call fcn.10076390
mov eax, edi
pop edi
pop esi
pop ebx
ret
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1006b640
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
jmp 0x1006b660
movzx eax, word [ecx + 0x100c6abc]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xe], ax
test ax, ax
jne 0x1006b660
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
mov eax, 0x43
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov word [ebp - 0xc], ax
lea esp, [esp]
movzx esi, ax
lea eax, [ebp - 0x40c]
push 0x100
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x101
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc]
push eax
call ebx
test eax, eax
je 0x1006b6ed
lea eax, [ebp - 0xc]
push eax
call edi
cmp eax, 2
jb 0x1006b6ed
cmp eax, 3
jbe 0x1006b6df
cmp eax, 5
jne 0x1006b6ed
mov ax, word [ebp - 0xc]
mov word [esi*2 + 0x100e2e4e], ax
jmp 0x1006b6fb
xor eax, eax
mov word [esi*2 + 0x100e2e4e], ax
mov ax, word [ebp - 0xc]
inc ax
mov word [ebp - 0xc], ax
cmp ax, 0x5a
jb 0x1006b690
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
Function at 0x1006ca40
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push str.UniqueUDiskWather
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x1006ca7d
test edi, edi
je 0x1006cbc0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1006cbc0
mov eax, dword [0x100e3b04]
mov ecx, str.filelist.abc
mov dword [0x100e4338], edi
lea edx, [eax*2 + 0x100e3304]
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1006caa0
mov edx, 0x100e3304
mov ecx, 0x100e430c
call fcn.10069070
test eax, eax
jne 0x1006cae1
mov ecx, 0x100e3304
call fcn.10069000
test eax, eax
je 0x1006cae1
mov edx, 0x100e3304
mov ecx, 0x100e430c
call fcn.10069070
mov eax, dword [0x100e3b04]
mov ecx, str.sendlist.abc
lea edx, [eax*2 + 0x100e3304]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1006caf2
mov edx, 0x100e3304
mov ecx, 0x100e4314
call fcn.10069830
test eax, eax
jne 0x1006cb33
mov ecx, 0x100e3304
call fcn.10069000
test eax, eax
je 0x1006cb33
mov edx, 0x100e3304
mov ecx, 0x100e4314
call fcn.10069830
mov eax, dword [0x100e3b04]
mov ecx, str.sendinfo.abc
lea edx, [eax*2 + 0x100e3304]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1006cb44
push 0x100e3304
mov edx, 0x100e4320
mov ecx, 0x100e431c
call fcn.10069d00
mov eax, dword [0x100e3b04]
add esp, 4
mov ecx, str.failed.abc
lea esi, [eax*2 + 0x100e3304]
lea ecx, [ecx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x1006cb80
mov edx, 0x100e3304
mov ecx, 0x100e432c
call fcn.10069d90
push 0
push 0
push dword [0x100e2ec0]
push 0x10064f60
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006d160
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 4
mov esi, edx
mov ebx, ecx
push 0x2042
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, dword [ebp + 8]
push edi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
movdqa xmm0, xmmword [0x100c7200]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x1c], 0x14
mov edx, 2
mul edx
movdqu xmmword [ebp - 0x18], xmm0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007b2b4
mov edx, dword [ebx]
add esp, 4
mov dword [ebp + 8], eax
mov edi, eax
mov ecx, dword [edx]
cmp ecx, edx
je 0x1006d214
cmp dword [ecx + 0x1c], 8
lea edx, [ecx + 8]
jb 0x1006d1dc
mov edx, dword [edx]
mov esi, edi
mov edi, edi
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x1006d1e0
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x1006d1f6
mov ecx, dword [ecx]
sub eax, esi
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp ecx, dword [ebx]
jne 0x1006d1d1
mov esi, dword [ebp - 4]
xor eax, eax
mov word [edi], ax
lea eax, [esi*2 + 0x16]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
movdqu xmm0, xmmword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
add eax, 0x14
mov ecx, dword [ebp - 4]
add ecx, ecx
push ecx
push edi
push eax
call fcn.100865f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call fcn.1007b7c3
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xf
call esi
push dword [ebp - 8]
push dword [ebp + 0xc]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006d4b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [edx + 0x10]
push ebx
mov ebx, ecx
push esi
push edi
test ax, ax
je 0x1006d4da
cmp eax, 1
jne 0x1006d5b6
mov eax, ebx
sub eax, 0x8000
je 0x1006d4ec
sub eax, 4
jne 0x1006d5b6
push 0x100e4404
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push dword [0x100e3b04]
lea eax, [ebp - 0x208]
push 0x100e3304
push eax
call fcn.1007c23d
mov eax, dword [0x100e3b04]
add esp, 0xc
add eax, eax
cmp eax, 0x200
jae 0x1006d5c9
xor ecx, ecx
push 0x100e4404
mov word [ebp + eax - 0x208], cx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov edi, dword [0x100e3b04]
lea edx, [ebp - 0x208]
mov ecx, str.MyFiles_
lea edx, [edx + edi*2]
mov esi, edx
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1006d550
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006d563
sub edx, ecx
lea eax, [ebp - 0x208]
sar edx, 1
push eax
add edi, edx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1006d595
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push edi
lea eax, [ebp - 0x208]
mov edx, 0x100e4380
push eax
xor eax, eax
cmp ebx, 0x8000
sete al
push eax
call fcn.1006b720
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
call fcn.1007bb23
int3
Function at 0x1006d730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x64
push 0
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], 0x30
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0x1006d5d0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
call esi
push 0x64
push 0
mov dword [ebp - 0x38], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], str.RemovableDeviceProtectClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push dword [ebp - 0x3c]
push 0
push 0
push 0x122
push 0x1a4
push 1
call esi
sub eax, 0x122
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, 0x1a4
cdq
sub eax, edx
sar eax, 1
push eax
push 0xcf0000
push 0
push dword [ebp - 0x28]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x1006d850
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x1006d850
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x1006d832
pop edi
pop ebx
push dword [ebp - 4]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_UnregisterClassW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1006d880
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edx, eax
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x1006d8f5
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1006d8f5
push esi
mov esi, dword [ecx + edx + 0x28]
lea eax, [ebp - 4]
push eax
push 0x40
add esi, edx
push 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
je 0x1006d8f4
mov ecx, sym.KwHttpRequestMgr.dll_MessageLoop
mov byte [esi], 0xe9
sub ecx, esi
sub ecx, 5
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 8
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
lea eax, [ebp - 4]
push eax
shr ecx, 0x18
mov byte [esi + 4], cl
push dword [ebp - 4]
push 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006ed10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x1006ee51
lea eax, [ebp - 0x804]
push 0x5c
push eax
call fcn.1007b71d
add esp, 8
test eax, eax
je 0x1006ee51
push str._rundll32.exe
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x1006ee51
push ecx
call fcn.1006ca40
add esp, 4
test eax, eax
je 0x1006ee51
push dword [0x100e3b04]
lea eax, [ebp - 0x804]
push 0x100e3304
push eax
call fcn.1007c23d
mov eax, dword [0x100e3b04]
lea edx, [ebp - 0x804]
mov ecx, str.MyFiles_
add esp, 0xc
lea edx, [edx + eax*2]
sub edx, ecx
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006edb0
push esi
call fcn.1006b640
mov esi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 1
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x100e4360], eax
call esi
push 0
push 0
push 1
push 0
mov dword [0x100e4364], eax
call esi
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0x100e4340
push 0
push 0x100e2ed0
push 0x1006ddd0
push 0
push 0
mov dword [0x100e4368], eax
mov dword [0x100e4344], 1
call esi
push 0x100e4358
push 0
push 0x100e2ed0
push 0x1006e2f0
push 0
push 0
mov dword [0x100e433c], eax
mov dword [0x100e435c], 1
call esi
mov dword [0x100e4354], eax
call fcn.1006d730
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1006ee70
Capabilities:
Check if file exists
Create directory
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x120c
call fcn.1008bd60
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1208], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 4]
push ebx
push esi
push edi
push 0x400
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp word [esp + 0x12], 0
movzx ebx, word [esp + 0x10]
je 0x1006eff5
lea eax, [esp + 0x12]
push 0x5c
push eax
call fcn.1007b71d
mov esi, eax
add esp, 8
test esi, esi
je 0x1006efe4
add esi, 2
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x10]
lea eax, [eax + 2]
test cx, cx
jne 0x1006eee0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.100686a0
add esp, 8
cmp eax, 0xffffffff
je 0x1006ef27
test al, 0x10
jne 0x1006ef50
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1006ef50
lea ecx, [esp + 0x810]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x1006ef30
lea edx, [esp + 0x810]
lea ecx, [esp + 0x10]
call fcn.10068af0
lea eax, [esp + 0x10]
push 0x5c
push eax
call fcn.1007b71d
mov esi, eax
add esp, 8
test esi, esi
je 0x1006efe4
mov eax, ebx
add esi, 2
cmp eax, 0x30
je 0x1006ef78
jle 0x1006efe4
cmp eax, 0x32
jle 0x1006efcf
jmp 0x1006efe4
mov ecx, str.hypertrm.exe
mov edx, esi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006ef81
lea eax, [esp + 0x10]
push 0x2e
push eax
call fcn.1007b71d
add esp, 8
test eax, eax
je 0x1006efe4
mov ecx, 0x100c689c
lea edx, [eax + 2]
sub edx, ecx
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x1006efb0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1006efe4
lea eax, [esp + 0x10]
sub esi, eax
push ecx
sar esi, 1
mov ecx, eax
mov edx, esi
call fcn.100674d0
add esp, 4
cmp word [esp + 0x12], 0
je 0x1006eff5
cmp ebx, 0x30
jne 0x1006f07d
push dword [0x100e3b04]
lea eax, [esp + 0x14]
push 0x100e3304
push eax
call fcn.1007c23d
mov eax, dword [0x100e3b04]
lea edx, [esp + 0x1c]
mov ecx, str.MyFiles_
add esp, 0xc
lea edx, [edx + eax*2]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x1006f020
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1006f04c
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
call fcn.10065f60
push 1
push 0
push ecx
call fcn.10066140
push eax
call fcn.100660a0
mov edx, dword [0x100e3b04]
lea ecx, [esp + 0x20]
push eax
push dword [0x100e43b0]
lea edx, [edx + 8]
call fcn.10066450
add esp, 0x18
mov ecx, dword [esp + 0x1214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10070900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009966e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.10070c00
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10070c00
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x10070a14
test dl, 0x10
jne 0x10070a14
mov eax, 1
jmp 0x10070a16
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.10070ab0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10073bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10073be1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10073bd0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x100762a0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret