joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004b60
Capabilities:
Delete file
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x220
test byte [0x10016018], 8
jne 0x10004c10
lea ebx, [ebp - 0x20c]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x20c], 0
je 0x10004ba9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10004ba0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str.winevulkan.json]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10004bb0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareKhronosVulkanDrivers
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x10004c40
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov dword [esp + 0xc], 0x1001822c
mov dword [esp + 8], str.DllUnregisterServer
mov dword [esp + 4], 0x10016018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10004b77
mov eax, dword [ebp - 0x210]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x210]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, dword [ebp - 4]
xor eax, eax
sub esp, 4
leave
ret

Function at 0x100145b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10014608
cmp byte [esi + ebx - 1], 0xa
je 0x100145dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1002b0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10014bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x1002b0b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x10014d70
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x1002b0b4]
movzx eax, al
bt eax, esi
jae 0x10014dd0
mov ecx, dword [0x1002b0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x10014c75
test byte [0x10016040], 8
jne 0x10014d10
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10016050], 8
jne 0x10014cc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10014c44
cmp esi, 3
jbe 0x10014c80
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10021468]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10014c44
mov ecx, dword [0x1002b0b4]
test ecx, ecx
je 0x10014db0
mov dword [esp], 0x10016050
call dword [0x1002b0b4]
test al, 8
je 0x10014c1b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10014c1b
mov ebx, dword [0x1002b0b4]
test ebx, ebx
je 0x10014d90
mov dword [esp], 0x10016040
call dword [0x1002b0b4]
test al, 8
je 0x10014c06
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10014c0e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x10014bcd
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x10014d1a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x10014cce
mov eax, 0xffffffff
jmp 0x10014c75
Function at 0x406412
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x414008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
xor eax, eax
mov dword [ebp - 0xc], edi
push 0x20019
test cl, cl
mov esi, edx
push edi
setne al
push 0x405988
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40645d
jle 0x4064ba
movzx eax, ax
or eax, 0x80070000
jmp 0x4064ba
or dword [ebp - 0x14], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esi
call fcn.0040682b
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405970
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00406805
test esi, esi
je 0x4064ad
jle 0x4064a9
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4064ba
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00406e43
mov esp, ebp
pop ebp
ret

Function at 0x40667b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4058f8
push 0x4058dc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4066a2
push 0x800
call eax
call fcn.00406260
mov byte [ebp - 1], al
call fcn.0040603f
mov ecx, eax
test ecx, ecx
je 0x406734
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004064ca
mov esi, eax
pop ecx
test esi, esi
js 0x406722
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4066f4
call fcn.004061f6
mov esi, eax
jmp 0x406722
push 0x405978
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406716
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x40671b
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406993
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00405e90
int3

Function at 0x4081c6
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x408201
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4081e8
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4081f9
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x408203
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4081de
xor eax, eax
pop edi
pop esi
ret
Function at 0x408484
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00408186
mov dword [edi + 0x458d08e6], esp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x1000375d
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
sub eax, esi
push edi
je 0x1000381a
dec eax
jne 0x1000389d
push 0x100012e4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100012d0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
inc dword [0x1001509c]
mov edi, eax
cmp edi, esi
je 0x100037d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x100037f9
mov eax, dword [ebp + 8]
mov dword [0x1001507c], edi
mov dword [0x10015064], eax
mov dword [0x10015080], esi
mov dword [0x10015068], esi
mov dword [0x10015070], esi
jmp 0x1000389d
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100012c0
push 0x100012b8
push 0x78
push 0x10001280
call fcn.100064d5
add esp, 0x18
xor eax, eax
jmp 0x100038a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1000389d
push esi
call ebx
push eax
push 0x10001270
push 0x100012b8
push 0x7f
jmp 0x100037e5
push 0x1000125c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
dec dword [0x1001509c]
jne 0x1000389d
push dword [0x1001507c]
mov dword [0x10015070], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x100012b8
mov esi, 0x10001280
test eax, eax
jne 0x1000386c
push 0
call ebx
push eax
push 0x10001270
push edi
push 0x9f
push esi
call fcn.100064d5
add esp, 0x18
mov eax, dword [0x10015068]
test eax, eax
je 0x1000389d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x1000389d
call ebx
test eax, eax
je 0x1000389d
push 0
push eax
push 0x1000124c
push edi
push 0xa6
push esi
call fcn.100064d5
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100038ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10014010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x10c]
push eax
push 1
xor ebx, ebx
push ebx
push 0x1000136c
push 0x80000002
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x1000391c
push ebx
push eax
push 0x1000135c
push 0x10001344
push 0xc3
push 0x10001280
call fcn.100064d5
add esp, 0x18
xor eax, eax
jmp 0x100039cc
push esi
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push 0x1000133c
push dword [ebp - 0x10c]
mov dword [ebp - 0x114], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, 0x10001344
mov esi, 0x10001280
cmp eax, ebx
jne 0x10003988
push dword [ebp - 0x118]
lea eax, [ebp - 0x108]
push eax
call fcn.10006082
test eax, eax
jne 0x1000397c
push 0x1000131c
push ebx
push ebx
push edi
push 0xd4
jmp 0x10003995
mov dword [ebp - 0x110], 1
jmp 0x1000399e
push ebx
push eax
push 0x10001308
push edi
push 0xd8
push esi
call fcn.100064d5
add esp, 0x18
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x100039c4
push ebx
push eax
push 0x100012f8
push edi
push 0xdb
push esi
call fcn.100064d5
add esp, 0x18
mov eax, dword [ebp - 0x110]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10006df2
leave
ret 4
Function at 0x10004f9c
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
push 0x10001db8
call fcn.10006383
add esp, 0xc
push 0x10001da4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x10005012
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10005012
test esi, 0x1a27
je 0x10004fe9
or esi, 0x10018
mov dword [0x1001506c], edi
mov dword [0x10015074], esi
call fcn.10004b10
test eax, eax
je 0x10005012
push esi
push dword [ebp + 0xc]
push dword [0x1001506c]
call dword [0x1001508c]
mov esi, eax
jmp 0x10005015
push 0xfffffffffffffff7
pop esi
test ebx, ebx
je 0x1000504c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1000504c
push 0x10001508
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10001270
push 0x10001d94
push 0x37e
push 0x10001280
call fcn.100064d5
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10006212
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10014010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100150a0], 0
push esi
push edi
mov esi, 0x100150a0
jne 0x100062d9
mov edi, 0x104
push edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10006262
push 0x100022dc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10006370
push 0x100022d4
lea eax, [ebp - 0x120]
push eax
push 0x100021fc
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.10004a54
add esp, 0x14
test eax, eax
jns 0x1000628e
push 0x100022b0
jmp 0x10006257
push 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100062b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100062b5
push 0x10002280
jmp 0x10006257
push 0x1000226c
push 0x10001534
lea eax, [ebp - 0x120]
push eax
push 0x10002264
push edi
push esi
call fcn.10004a54
add esp, 0x18
test eax, eax
js 0x10006287
push 0x10002260
push esi
call fcn.10007579
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100062f6
push 0x10002234
jmp 0x10006257
lea eax, [ebp - 0x1c]
push eax
call fcn.1000747f
lea eax, [ebp - 0x10]
push eax
call fcn.100073af
pop ecx
pop ecx
lea eax, [ebp - 0x10]
test ebx, ebx
je 0x10006337
push ebx
push 0x1000222c
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1000221c
lea eax, [ebp - 0x47c]
push 0x258
push eax
call fcn.10004a54
add esp, 0x1c
jmp 0x1000635a
push 0x1000222c
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x10002208
lea eax, [ebp - 0x47c]
push 0x258
push eax
call fcn.10004a54
add esp, 0x18
lea eax, [ebp - 0x47c]
push esi
push eax
call fcn.100071bc
push esi
call fcn.1000713b
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10006df2
leave
ret
Function at 0x100063ce
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10014010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100151a8], 0
push esi
push edi
mov esi, 0x100151a8
jne 0x10006495
mov edi, 0x104
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x1000641e
push 0x100022dc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100064c2
push 0x100022d4
lea eax, [ebp - 0x108]
push eax
push 0x100021fc
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10004a54
add esp, 0x14
test eax, eax
jns 0x1000644a
push 0x100022b0
jmp 0x10006413
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10006471
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10006471
push 0x10002280
jmp 0x10006413
push 0x1000230c
push 0x10001534
lea eax, [ebp - 0x108]
push eax
push 0x10002264
push edi
push esi
call fcn.10004a54
add esp, 0x18
test eax, eax
js 0x10006443
push 0x10002260
push esi
call fcn.10007579
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100064b2
push 0x10002234
jmp 0x10006413
push esi
push ebx
call fcn.100071bc
push esi
call fcn.1000713b
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10006df2
leave
ret
Function at 0x100067a9
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10014010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
push edi
jne 0x100068aa
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100067ee
xor eax, eax
jmp 0x10006945
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
and eax, 0x7fff
cmp ecx, 2
je 0x10006809
or eax, 0x8000
mov edx, dword [ebp - 0x90]
mov dword [0x100153cc], ecx
mov ecx, dword [ebp - 0x94]
mov esi, ecx
shl esi, 8
add esi, edx
push 1
mov dword [0x100153d4], esi
mov dword [0x100153d8], ecx
mov dword [0x100153dc], edx
mov dword [0x100153d0], eax
call fcn.10008962
test eax, eax
pop ecx
je 0x100067e7
call fcn.10007e93
test eax, eax
jne 0x10006855
call fcn.100089c7
jmp 0x100067e7
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10016f7c], eax
call fcn.100087c4
mov dword [0x100153b8], eax
call fcn.10008180
test eax, eax
jge 0x1000687a
call fcn.10007b35
jmp 0x1000684e
call fcn.10008704
test eax, eax
jl 0x100068a3
call fcn.10008412
test eax, eax
jl 0x100068a3
push 0
call fcn.1000784d
test eax, eax
pop ecx
jne 0x100068a3
inc dword [0x100153b4]
jmp 0x10006942
call fcn.100083bf
jmp 0x10006873
xor edi, edi
cmp eax, edi
jne 0x100068e5
cmp dword [0x100153b4], edi
jle 0x100067e7
dec dword [0x100153b4]
cmp dword [0x10015408], edi
jne 0x100068cf
call fcn.100079b9
cmp dword [ebp + 0x10], edi
jne 0x10006942
call fcn.100083bf
call fcn.10007b35
call fcn.100089c7
jmp 0x10006942
cmp eax, 2
jne 0x10006936
call fcn.10007b06
push 0x214
push 1
call fcn.1000813a
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x100067e7
push esi
push dword [0x100140b0]
push dword [0x10015418]
call fcn.10007a8d
pop ecx
call eax
test eax, eax
je 0x1000692a
push edi
push esi
call fcn.10007b77
pop ecx
jmp 0x10006941
push esi
call fcn.10006f02
pop ecx
jmp 0x100067e7
cmp eax, 3
jne 0x10006942
push edi
call fcn.10007e20
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10006df2
leave
ret 0xc
Function at 0x1000ca30
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x10014600]
je 0x1000ca56
inc esi
cmp esi, 0x17
mov dword [ebp - 4], esi
jb 0x1000ca44
cmp esi, 0x17
jae 0x1000cbb0
push 3
call fcn.100105fe
cmp eax, 1
pop ecx
je 0x1000cb7a
push 3
call fcn.100105fe
test eax, eax
pop ecx
jne 0x1000ca89
cmp dword [0x100153c4], 1
je 0x1000cb7a
cmp edi, 0xfc
je 0x1000cbb0
push 0x10002bb8
mov edi, 0x314
push edi
mov esi, 0x100159b8
push esi
call fcn.1000db13
add esp, 0xc
test eax, eax
je 0x1000cabf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10009b83
add esp, 0x14
mov byte [0x10015ad5], bl
push 0x104
mov ebx, 0x100159d1
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000cb02
push 0x10002ba0
push 0x2fb
push ebx
call fcn.1000db13
add esp, 0xc
test eax, eax
je 0x1000cb02
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10009b83
add esp, 0x14
push ebx
push edi
push esi
call fcn.10010585
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x1000cb20
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10009b83
add esp, 0x14
push 0x10002350
push edi
push esi
call fcn.10010585
add esp, 0xc
test eax, eax
je 0x1000cb40
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10009b83
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x10014604]
push edi
push esi
call fcn.10010585
add esp, 0xc
test eax, eax
je 0x1000cb65
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10009b83
add esp, 0x14
push 0x12010
push 0x10002b78
push esi
call fcn.100103e0
add esp, 0xc
jmp 0x1000cbb0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x1000cbb0
cmp edi, 0xffffffff
je 0x1000cbb0
mov edx, dword [esi*8 + 0x10014604]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cb99
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000cc20
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1000cc33
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000cc2f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1000cc60
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1000cc9f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1000cc95
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1000cca1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1000cc85
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000ea5d
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]

Function at 0x1000ec20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edi
adc al, 0x8d
je 0x1000ec5d
sbb byte [ecx - 0x1017438b], cl
std
invalid
dec esi
or al, 0xf
mov bh, 0xd0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x1000ec71
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x1000ec62
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1000ea1d
pushfd
lea edx, [ebx - 0x1a]
lea eax, [ebp - 0x58]
push eax
call fcn.1000ea2d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000e9e2
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000ed0b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000ea1d
and dword [ecx + 0x7a], edi
sub al, 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid