joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073580
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1007369d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1007369d
mov eax, dword [esi + 0x3c]
push eax
call fcn.100a656f
mov esi, eax
test esi, esi
je 0x1007369d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1007369d
mov ecx, esi
call fcn.100734f0
cmp edi, eax
jge 0x1007369d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10073623
mov dword [esp + 0x34], 1
jmp 0x1007367e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1007369d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10071d50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x100776c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x10077726
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x10077726
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x10077707
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x10077ab0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10077ae8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x100787c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x10078809
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x10078c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b62d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10078830
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100788b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100788b0
lea ecx, [esi + 0xc]
call fcn.100a4aae
lea ecx, [esi + 0x10]
call fcn.100a4aae
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.10079e40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.10079e40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.10079e40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100a4b23
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100a4b23
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1007a2f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100b6518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.1008cdec
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.100a4b91
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.100a1f70
mov eax, dword [eax]
push 0x10598040
push eax
call fcn.10093d04
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.100a4b23
test bl, bl
je 0x1007a370
push 0x10598040
lea ecx, [esp + 0xc]
call fcn.100a4eff
push 0x1059803c
lea ecx, [esp + 0xc]
call fcn.100a4eff
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.1008ceaf
test eax, eax
je 0x1007a434
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.1008d0cf
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x1007a3f0
lea ecx, [esp + 0x18]
call fcn.1008d096
test eax, eax
jne 0x1007a3f0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1008d19e
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.1007a2f0
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x1007a425
lea ecx, [esp + 0x18]
call fcn.1008d096
test eax, eax
jne 0x1007a42a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x1007a42a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.1008d19e
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.100a4b23
test edi, edi
jne 0x1007a3a0
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.1008ce65
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.100a4b23
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.1008ce29
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x1007a470
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100a4864
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x1007a517
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x1007a4c5
test dword [esi + 0xc], 0x100000
jne 0x1007a4dd
mov eax, dword [esi + 4]
push eax
jmp 0x1007a4d7
cmp ebp, 1
jne 0x1007a4dd
test dword [esi + 0xc], 0x100000
je 0x1007a4dd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0
push edi
call ebx
push esi
call fcn.100a488d
mov eax, dword [esp + 0x14]
push eax
call fcn.100a4864
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x1007a4b2
mov ebx, 1
pop ebp
test esi, esi
je 0x1007a524
push esi
call fcn.100a488d
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret 4
Function at 0x1007a530
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100b6546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x1059a0d4]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.100a4cac
push str..
lea ecx, [esp + 0x10]
call fcn.100a4eff
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x1007a5d3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.100a4b23
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.100a4b23
xor eax, eax
jmp 0x1007a718
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x10598060
push edx
call fcn.10093d04
add esp, 8
test eax, eax
je 0x1007a6c9
lea eax, [esp + 0x48]
push 0x1059805c
push eax
call fcn.10093d04
add esp, 8
test eax, eax
je 0x1007a6c9
test ebp, ebp
jne 0x1007a635
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.10093db3
add esp, 8
test eax, eax
je 0x1007a6c9
push esi
lea ecx, [esp + 0x14]
call fcn.100a4cac
push 0x5c
lea ecx, [esp + 0x14]
call fcn.100a4f26
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.100a4eff
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1007a675
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x1007a697
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.1007a530
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x1007a6c9
test edi, edi
je 0x1007a6be
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.10093db3
add esp, 8
test eax, eax
jne 0x1007a6be
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.1007a740
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1007a5e3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.100a4b23
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.100a4b23
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x1007a740
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b655b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.100945c0
mov eax, dword [0x1059a0d4]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.100a4cac
push 0x5c
lea ecx, [esp + 8]
call fcn.100a4f26
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.100a4eff
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1007a7e6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.100a4b23
xor eax, eax
jmp 0x1007a863
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x1007a841
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x1007a833
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x1007a80d
jmp 0x1007a841
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.100a4b23
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x1007a8f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x1007a93c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x1007a93c
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x1007a94f
cmp dword [esp + 0xc], 5
jb 0x1007a94f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x1007a960
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100b657b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.100a4b91
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1007aa32
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1007a9ca
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100a4b23
xor eax, eax
jmp 0x1007aa82
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1007a9e5
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1007aa36
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1007aa36
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.10093db3
add esp, 8
test eax, eax
je 0x1007aa2e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1007aa07
jmp 0x1007aa36
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1007aa56
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100a4b23
xor eax, eax
jmp 0x1007aa82
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100a4b23
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8
Function at 0x1007aaa0
Capabilities:
Get memory capacity

Disassembly:
mov ecx, dword [0x10598038]
sub esp, 0xd4
cmp ecx, 0xffffffff
push esi
jne 0x1007ab1a
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1007aadf
mov edx, dword [esp + 0x48]
mov ecx, 4
cmp ecx, edx
sbb ecx, ecx
inc ecx
mov dword [0x10598038], ecx
jmp 0x1007aae5
mov ecx, dword [0x10598038]
test ecx, ecx
jne 0x1007ab1a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1007ab14
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x10598038]
mov esi, eax
mov dword [0x105cc894], esi
jmp 0x1007ab20
mov ecx, dword [0x10598038]
mov esi, dword [0x105cc894]
test esi, esi
jne 0x1007ab2f
mov ecx, 1
mov dword [0x10598038], ecx
xor eax, eax
xor edx, edx
test ecx, ecx
je 0x1007ac02
lea edx, [esp + 4]
mov dword [esp + 4], 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0xdc]
dec eax
cmp eax, 4
ja case.default.0x1007ab5f
jmp dword [eax*4 + 0x1007acdc]
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
xor edx, edx
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
test esi, esi
je 0x1007acc7
lea ecx, [esp + 4]
mov dword [esp + 4], 0x40
push ecx
call esi
mov edx, dword [esp + 0xdc]
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x1007ac2c
jmp dword [eax*4 + 0x1007acf0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, 0x14
call fcn.10094550
pop esi
add esp, 0xd4
ret 4
Function at 0x1007ad10
Capabilities:
Empty the recycle bin
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
xor esi, esi
push edi
cmp eax, 3
mov edi, ecx
ja case.default.0x1007ad29
jmp dword [eax*4 + 0x1007adf8]
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je case.default.0x1007ad29
push 0
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.1007a530
mov esi, eax
pop edi
pop esi
add esp, 0x104
ret 4
push 0
mov ecx, edi
call fcn.1007a470
push 0
lea edx, [esp + 0xc]
push 0x20
push edx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x1007ad29
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.1007a2f0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
mov esi, eax
pop edi
neg esi
sbb esi, esi
inc esi
mov eax, esi
pop esi
add esp, 0x104
ret 4
push 1
mov ecx, edi
call fcn.1007a470
push 0
lea ecx, [esp + 0xc]
push 0x21
push ecx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x1007ad29
lea edx, [esp + 8]
mov ecx, edi
push edx
call fcn.1007a2f0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
Function at 0x1007b120
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x1007c8c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x1007c8cc
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1007c95f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x1007c929
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.1007c970
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x1007c8fe
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x1007c990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1007ca8d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x1007c9e2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x1007ca0e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.1007c970
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1007ca4f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x1007c9d1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x1007da50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x105985a4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x1007da63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x1007daa4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1059864c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x1007dad6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1007dada
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x1007dacb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x1007daf8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1007dafc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1007daed
xor ecx, ecx
mov eax, 0x105985b4
xor ebx, ebx
mov bl, byte [ecx + 0x1059865c]
cmp byte [esp + ebx + 0x14], 0
je 0x1007db27
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10598674]
cmp byte [esp + ebx + 0x14], 0
je 0x1007db3e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x1007db0e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x1007da97
lea edx, [esp + 0x84]
push edx
call fcn.1007db80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x1008c7ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x1008c808
call fcn.100ae70d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1008c808
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1008c81f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x1008c81f
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc