joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d583
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push str.C:CodewareCOMPRESS.
call fcn.100409bf
pop ecx
test eax, eax
jne 0x1000d5e1
push str.C:Program_FilesIntergraph_CAS.
call fcn.100409bf
pop ecx
test eax, eax
jne 0x1000d5e1
push str.C:Program_Files__x86_Intergraph_CAS.
call fcn.100409bf
pop ecx
test eax, eax
jne 0x1000d5e1
push str.D:Program_FilesIntergraph_CAS.
call fcn.100409bf
pop ecx
test eax, eax
jne 0x1000d5e1
push str.D:Program_Files__x86_Intergraph_CAS.
call fcn.100409bf
pop ecx
test eax, eax
je 0x1000d62b
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.10044b80
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0
call fcn.10040af6
add esp, 0x18
push str.explorer.EXE
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1000d62b
xor eax, eax
jmp 0x1000d63c
push 1
push str.SeDebugPrivilege
call fcn.1002cfb1
pop ecx
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10044b6f
leave
ret

Function at 0x1000db9d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 1
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
xor esi, esi
push esi
push 1
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push 0x100610d8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x5c]
push str.Global_s
push eax
mov dword [ebp - 0x6c], 0xc
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
call fcn.10044ec8
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [ebp - 0x6c]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call ebx
cmp eax, 0xb7
jne 0x1000dc3a
mov dword [ebp - 0x60], 1
test edi, edi
je 0x1000dc4c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100610d8
lea eax, [ebp - 0x5c]
push str._s_Service
push eax
call fcn.10044ec8
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
call esi
mov esi, eax
call ebx
cmp eax, 0xb7
jne 0x1000dc88
mov dword [ebp - 0x60], 1
test esi, esi
je 0x1000dc9a
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0xa8]
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0xac
leave
ret
Function at 0x1000f0a4
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x3d8], eax
mov eax, dword [ebp + 0x3ec]
push ebx
push str.Floppy
push eax
call fcn.10044fa0
pop ecx
test eax, eax
mov eax, dword [ebp + 0x3e8]
pop ecx
setne cl
dec eax
dec eax
push 0
pop ebx
je 0x1000f0fc
dec eax
je 0x1000f107
dec eax
dec eax
je 0x1000f0f3
xor eax, eax
jmp 0x1000f22e
mov dword [ebp - 0x68], 0x10072240
jmp 0x1000f10e
mov dword [ebp - 0x68], 0x10072250
cmp cl, bl
jne 0x1000f10e
mov dword [ebp - 0x68], 0x10072230
push 0x12
push ebx
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x1000f0ec
push esi
push 0x3ff
lea eax, [ebp - 0x27]
push ebx
push eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x28], bl
call fcn.10044b80
add esp, 0xc
push 0x1c
pop esi
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x44], esi
push dword [ebp - 0x68]
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x1000f221
push ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
cmp dword [ebp - 0x6c], ebx
je 0x1000f211
cmp dword [ebp - 0x6c], 0x400
ja 0x1000f211
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x60], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
test eax, eax
je 0x1000f211
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000f211
push ebx
lea eax, [ebp - 0x74]
push eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x2d1080
push edi
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000f20a
mov eax, dword [ebp + 0x3e4]
cmp eax, dword [ebp - 0x7c]
je 0x1000f244
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x1f4
jl 0x1000f140
push dword [ebp - 0x64]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3d8]
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0x3dc
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x64]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x4c]
jmp 0x1000f22c
Function at 0x1000f6a2
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
mov esi, dword [ebp + 0x3a8]
push edi
xor ebx, ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3b0]
push ebx
push esi
mov dword [ebp - 0x68], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x1000f76e
push 0x1ff
lea eax, [ebp + 0x19d]
push ebx
push eax
mov byte [ebp + 0x19c], bl
call fcn.10044b80
lea eax, [ebp + 0x19c]
push eax
push esi
call fcn.10040337
lea eax, [ebp + 0x19c]
push 0x2e
push eax
call fcn.10044a60
add esp, 0x1c
cmp eax, ebx
je 0x1000f76a
mov byte [eax], bl
mov eax, dword [ebp - 0x68]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000f72d
sub eax, esi
cmp dword [ebp + 0x3b4], eax
jae 0x1000f74f
lea eax, [ebp + 0x19c]
push eax
push dword [ebp - 0x68]
call fcn.1000789a
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0x3a0
leave
ret
xor eax, eax
jmp 0x1000f752
push edi
call fcn.10044f63
push edi
push ebx
push eax
mov dword [ebp - 0x6c], eax
call fcn.10007858
add esp, 0x10
push dword [ebp - 0x6c]
push edi
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1000f79e
push dword [ebp - 0x6c]
call fcn.10044ebd
pop ecx
mov eax, ebx
jmp 0x1000f752
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x74], ebx
je 0x1000f7fb
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
push dword [ebp - 0x7c]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp + 0x19c]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.10044ec8
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x19c]
push eax
push dword [ebp - 0x6c]
call sub.VERSION.dll_VerQueryValueA
mov edi, dword [ebp - 0x70]
cmp edi, ebx
je 0x1000f871
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000f807
sub eax, edx
inc eax
cmp eax, dword [ebp - 0x78]
jne 0x1000f833
mov esi, dword [ebp + 0x3b4]
lea eax, [esi - 1]
push eax
push edi
mov edi, dword [ebp - 0x68]
push edi
call fcn.100078ec
add esp, 0xc
mov byte [edi + esi - 1], bl
jmp 0x1000f871
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.10044b80
push ebx
push ebx
push 0x400
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call fcn.100444eb
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov ecx, eax
add esp, 0x2c
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1000f867
xor ebx, ebx
inc ebx
jmp 0x1000f791
Function at 0x1000f879
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x18c], eax
or dword [ebp - 0x78], 0xffffffff
push ebx
xor ebx, ebx
cmp dword [0x1015568c], 4
push esi
jne 0x1000f8b2
push str.Is_MouseClickCheck_
push ebx
call fcn.1004122a
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1000f9be
push edi
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
cmp edi, ebx
je 0x1000f9bd
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [0x1015568c], 4
jne 0x1000f901
push dword [ebp - 0x78]
push edi
push str.Is_MouseClickCheck_sub__d___d_
push ebx
call fcn.1004122a
add esp, 0x10
mov eax, dword [ebp - 0x78]
cmp eax, dword [0x1015085c]
jne 0x1000f97e
push 0x1ff
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.10044b80
add esp, 0xc
mov esi, 0x200
push esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x1000f976
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.ConsoleWindowClass
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
je 0x1000f976
push esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1000f976
push 0x10154a28
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
je 0x1000f976
mov dword [0x100774a8], 0x5b6a7988
jmp 0x1000f9bd
push edi
call fcn.1003dda0
jmp 0x1000f9bc
cmp eax, ebx
je 0x1000f9bd
cmp eax, dword [0x10184a54]
je 0x1000f9a2
cmp eax, dword [0x10184a58]
je 0x1000f9a2
cmp eax, dword [0x10184a5c]
je 0x1000f9a2
cmp eax, dword [0x10184a60]
jne 0x1000f9bd
call fcn.10036df7
cmp dword [0x1015568c], 4
jne 0x1000f9bd
push str.MouseClickCheck_5
push ebx
call fcn.1004122a
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x18c]
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0x190
leave
ret
Function at 0x1000fc52
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x388]
sub esp, 0x408
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x384], eax
mov eax, dword [ebp + 0x394]
push esi
mov esi, dword [ebp + 0x390]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000fc88
mov al, 1
jmp 0x1000fdf6
push ebx
push 0x100639e0
push esi
mov ebx, esi
call fcn.10044fa0
pop ecx
pop ecx
cmp eax, esi
jne 0x1000fc9f
lea ebx, [esi + 4]
mov esi, 0x1ff
push esi
lea eax, [ebp + 0x185]
push 0
push eax
mov byte [ebp + 0x184], 0
call fcn.10044b80
mov eax, ebx
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000fcc2
push edi
sub eax, ecx
mov edi, 0x200
cmp eax, edi
jae 0x1000fce4
lea eax, [ebp + 0x184]
push ebx
push eax
call fcn.1000789a
pop ecx
pop ecx
cmp byte [ebp + 0x184], 0
je 0x1000fcfa
lea eax, [ebp + 0x184]
push eax
call fcn.10046859
pop ecx
cmp dword [0x1017cd70], 0
je 0x1000fd12
push ebx
call fcn.1000ef86
pop ecx
test al, al
jne 0x1000fdf2
push esi
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.10044b80
mov eax, dword [ebp - 0x80]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000fd2b
sub eax, ecx
cmp eax, edi
jae 0x1000fd46
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.1000789a
pop ecx
pop ecx
cmp byte [ebp - 0x7c], 0
je 0x1000fd56
lea eax, [ebp - 0x7c]
push eax
call fcn.10046859
pop ecx
mov al, byte [ebp + 0x184]
cmp al, byte [ebp - 0x7c]
je 0x1000fdee
cmp al, 0x41
jl 0x1000fd6d
cmp al, 0x5a
jle 0x1000fd9c
cmp byte [ebx], 0x5c
je 0x1000fd9c
cmp byte [ebx + 1], 0x5c
je 0x1000fd9c
cmp dword [0x10156ca4], 0
jne 0x1000fd9c
lea eax, [ebp + 0x184]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp + 0x184]
push eax
call fcn.10046859
pop ecx
cmp byte [0x102e0000], 0
jne 0x1000fdaa
call sym.AF_AD.DLL_FDrv
cmp byte [ebp + 0x185], 0x3a
jne 0x1000fdcb
movsx eax, byte [ebp + 0x184]
lea ecx, [eax - 0x41]
cmp ecx, 0x1a
jge 0x1000fdcb
cmp byte [eax + 0x102dffbf], 3
je 0x1000fdee
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000fdd0
sub eax, edx
cmp eax, 2
jbe 0x1000fdf2
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x1000fdf2
cmp byte [ebx], 0x5c
jne 0x1000fdee
cmp al, 0x5c
je 0x1000fdf2
mov al, 1
jmp 0x1000fdf4
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp + 0x384]
xor ecx, ebp
pop esi
call fcn.10044b6f
add ebp, 0x388
leave
ret
Function at 0x100109dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x184], eax
test byte [0x10150868], 8
push ebx
push esi
mov esi, dword [ebp + 0x194]
push edi
mov dword [ebp - 0x80], 0xea60
je 0x10010a17
mov dword [ebp - 0x80], 0x2710
push 0x1ff
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.10044b80
add esp, 0xc
cmp byte [esi], 0
je 0x10010aea
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010a3c
sub eax, edx
cmp eax, 0x200
jae 0x10010aea
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1000789a
lea eax, [ebp - 0x7c]
push eax
call fcn.10046859
mov edi, dword [ebp + 0x190]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
mov ebx, 0x10090490
cmp dword [0x10150608], edi
jne 0x10010ad1
cmp byte [0x10090490], 0
je 0x10010ad1
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.10007842
pop ecx
pop ecx
test eax, eax
je 0x10010ad1
call esi
mov ecx, dword [0x1009069c]
mov edx, dword [ebp - 0x80]
add ecx, edx
cmp ecx, eax
jbe 0x10010ad1
cmp dword [0x1015568c], 0x48
jne 0x10010ac5
lea eax, [ebp - 0x7c]
push eax
push str.SendInfoDisplayEDRL_dup___s
push 0
call fcn.1004122a
add esp, 0xc
call esi
mov dword [0x1009069c], eax
xor eax, eax
inc eax
jmp 0x10010aec
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.1000789a
pop ecx
pop ecx
call esi
mov dword [0x1009069c], eax
mov dword [0x10150608], edi
xor eax, eax
mov ecx, dword [ebp + 0x184]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0x188
leave
ret
Function at 0x10014d0a
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.10044f70
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0xf88], eax
mov ecx, dword [ebp + 0xf98]
push ebx
push edi
mov edi, dword [ebp + 0xf9c]
xor ebx, ebx
mov dword [ebp - 0x80], ecx
cmp edi, ebx
jne 0x10014d47
xor eax, eax
jmp 0x10014e1e
cmp edi, 0xffffffff
je 0x10014d40
mov eax, dword [ebp + 0xf94]
cmp eax, ebx
je 0x10014d40
cmp ecx, ebx
je 0x10014d40
cmp byte [eax], bl
je 0x10014d40
mov dl, byte [ecx]
cmp dl, bl
je 0x10014d40
mov eax, ecx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10014d6a
sub eax, esi
cmp eax, 0x1f6
ja 0x10014df3
cmp dword [0x101570a8], ebx
je 0x10014da3
test dword [ebp + 0xfa0], 0x40000000
je 0x10014da3
push edx
call sym.AF_AD.DLL_isUSB
pop ecx
test al, al
jne 0x10014d9e
cmp dl, 0x5c
jne 0x10014da3
or eax, 0xffffffff
jmp 0x10014e1d
push 0xfff
lea eax, [ebp - 0x77]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x78], bl
call fcn.10044b80
add esp, 0xc
test byte [0x1014f600], 1
je 0x10014dca
push 2
push 2
jmp 0x10014e09
push ebx
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x1000
push esi
lea eax, [ebp - 0x78]
push eax
push edi
call dword [0x101be548]
test eax, eax
je 0x10014df3
push ebx
push ebx
push ebx
push edi
call dword [0x101be544]
cmp dword [ebp - 0x7c], ebx
jg 0x10014df7
xor eax, eax
jmp 0x10014e1d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x7c], esi
jg 0x10014e07
mov esi, dword [ebp - 0x7c]
push eax
push esi
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
mov ecx, 0x10188098
call fcn.1002b820
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp + 0xf88]
pop edi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0xf8c
leave
ret
Function at 0x10015437
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [0x10150cc8]
inc eax
and eax, 0x1f
mov dword [0x10150cc8], eax
imul eax, eax, 0x208
mov esi, 0x100db0a8
add eax, esi
push 0x208
push eax
call fcn.10007867
mov eax, dword [0x10150cc8]
push dword [esp + 0x18]
imul eax, eax, 0x208
add eax, esi
push eax
call fcn.1000789a
mov eax, dword [0x10150cc8]
imul eax, eax, 0x208
add esp, 0x10
mov dword [eax + 0x100db2ac], ebx
mov dword [eax + 0x100db2a8], edi
pop edi
pop esi
pop ebx
ret

Function at 0x10015f5b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10016008
cmp byte [esi], 0
je 0x10016008
push str._USB
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10015f95
push 0x10
pop eax
jmp 0x1001600a
cmp byte [esi], 0x5c
jne 0x10015faf
push 0x10063cf8
push esi
call fcn.10044fa0
pop ecx
pop ecx
test eax, eax
jne 0x10015faf
push 0x20
jmp 0x10015f92
mov cl, byte [esi]
cmp cl, 0x41
jl 0x10015fbb
cmp cl, 0x5a
jle 0x10015fc5
cmp cl, 0x61
jl 0x10016008
cmp cl, 0x7a
jg 0x10016008
push edi
xor eax, eax
mov byte [ebp - 0xc], 0
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
movsx eax, cl
push eax
lea eax, [ebp - 0xc]
push str._c:_
push eax
call fcn.10044ec8
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
dec eax
pop edi
je 0x10016008
dec eax
je 0x10015f90
dec eax
dec eax
je 0x10016004
dec eax
jne 0x10016008
mov eax, 0x80
jmp 0x1001600a
push 0x40
jmp 0x10015f92
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10044b6f
leave
ret

Function at 0x100160a8
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, ebx
je 0x1001616a
cmp byte [esi], bl
je 0x1001616a
cmp edi, ebx
je 0x1001616a
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp byte [esi], 0x5c
jne 0x100160fc
inc esi
cmp byte [esi], 0x5c
jne 0x100160fc
inc esi
cmp dword [0x1015568c], ebx
je 0x10016113
push esi
push str.pre_gethostbyname___s_
push ebx
call fcn.1004122a
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x10016161
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x10016161
push 4
push dword [eax]
lea eax, [ebp - 0x198]
push eax
call fcn.10007881
add esp, 0xc
push dword [ebp - 0x198]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x10016179
cmp dword [0x1015568c], ebx
je 0x10016161
push esi
push str.gethostbyname___s_
push ebx
call fcn.1004122a
add esp, 0xc
push esi
push edi
call fcn.1000789a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
leave
ret
mov byte [edi], bl
jmp 0x1001616a
Function at 0x100161ce
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x102d2d90], bl
jne 0x1001621e
push 0x101acb10
call fcn.10033b7e
pop ecx
test al, al
je 0x1001621e
mov eax, dword [0x1015568c]
cmp eax, 4
je 0x1001620a
cmp eax, 0x44
jne 0x10016217
push str.isMS_Site_is_true
push ebx
call fcn.1004122a
pop ecx
pop ecx
xor al, al
jmp 0x1001631e
cmp dword [0x10077cd8], 0x501
push esi
jne 0x10016243
cmp dword [0x102b4a3c], 7
jne 0x10016266
push str.appwiz.cpl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x100162bf
cmp dword [0x102b4a3c], 7
jne 0x10016266
mov eax, dword [0x10184a54]
cmp eax, dword [0x10151ad4]
je 0x100162bf
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str.inetcpl.cpl
jmp 0x100162b4
cmp dword [0x102b4a3c], 6
jne 0x100162c3
mov esi, dword [0x10184a54]
cmp esi, ebx
je 0x100162c3
push 0x1ff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.10044b80
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.10010f33
add esp, 0x14
cmp byte [ebp - 0x204], bl
je 0x100162c3
push str.system32_svchost.exe
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x100162c3
xor al, al
jmp 0x1001631d
cmp byte [0x102d2d91], bl
jne 0x100162ff
call fcn.10036e27
mov eax, dword [0x1015568c]
cmp eax, 4
je 0x100162df
cmp eax, 0x44
jne 0x100162ff
cmp dword [0x100774a8], 0x1f2e3d4c
jne 0x100162f2
push str.m_bMouseClick__MOUSE_CLICK_isRansomProcess
jmp 0x100162f7
push str.m_bMouseClick___MOUSE_CLICK_isRansomProcess
push ebx
call fcn.1004122a
pop ecx
pop ecx
mov eax, dword [0x1015568c]
cmp eax, 4
je 0x1001630e
cmp eax, 0x44
jne 0x1001631b
push str.isRansomProcess_is_true
push ebx
call fcn.1004122a
pop ecx
pop ecx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10044b6f
leave
ret

Function at 0x10016334
Capabilities:
Terminate process

Disassembly:
cmp dword [0x1015568c], 0
je 0x10016353
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.beginthread_exit_Thread:_d
push 0
call fcn.1004122a
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1001635c
Capabilities:
Create thread
Terminate process

Disassembly:
push ecx
push esi
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push 0x10154228
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.TerminateProcess4Ransom__d___s_
xor edi, edi
push edi
call fcn.1004122a
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 0x10
push 1
call esi
push eax
call dword [0x10186978]
push 1
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 8]
push eax
push edi
push edi
push fcn.10016334
push edi
push edi
call fcn.1004547d
add esp, 0x18
push edi
call fcn.10016334
pop edi
pop esi