joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408af0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push eax
push 0x20
push 1
push eax
push eax
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6e], ax
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], ax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x408b80
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 4]
push eax
call esi
pop esi
add esp, 0x54
ret

Function at 0x408b90
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
mov ecx, 8
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov edx, 0x2800000
and ecx, 0xfff00000
pop edi
cmp edx, ecx
sbb eax, eax
inc eax
add esp, 0x20
ret

Function at 0x408fb0
Capabilities:
Parse pe header
Read file via mapping
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.004122f8
push str.SYSTEM
push esi
call fcn.00409f40
add esp, 0xc
test eax, eax
je 0x4090b9
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x8000000
push 3
push 0
push 0
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4090b9
push 0
push 0
push 0
push 0x8000002
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x40902c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x40904c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
push esi
jmp 0x4090a7
cmp word [esi], 0x5a4d
jne 0x40909d
mov ebp, dword [esi + 0x3c]
push 0xf8
add ebp, esi
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x40909d
cmp dword [ebp], 0x4550
jne 0x40909d
test byte [ebp + 0x17], 0x20
je 0x40909d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4090c0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
push eax
push 0x4217c4
lea eax, [esp + 0x2c]
push str._sMD5SGX_.2d.db
push eax
mov byte [esp + 0x24], 0xf4
mov byte [esp + 0x25], 0x2c
mov byte [esp + 0x26], 0xe5
mov byte [esp + 0x27], 0x22
mov byte [esp + 0x28], 0x1a
mov byte [esp + 0x29], 0x7e
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x21
call fcn.00409ee7
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x409260
lea edx, [esp + 0x24]
push 0x41faf4
push edx
call fcn.0040a0fd
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x409258
push 2
push 0
push ebx
mov dword [esp + 0x28], 1
call fcn.0040b30e
push ebx
call fcn.0040b18b
mov edi, dword [esp + 0x20]
mov esi, eax
push 0
add edi, esi
push 0
push ebx
mov dword [esp + 0x2c], edi
call fcn.0040b30e
lea eax, [esi + 1]
push 4
push eax
call fcn.0040a932
push ebx
mov edi, eax
push 1
push esi
push edi
call fcn.0040b074
mov byte [edi + esi], 0
add esi, 0xffffffce
add esp, 0x34
add edi, 0x32
xor eax, eax
xor ebp, ebp
test esi, esi
jle 0x4091bb
mov cl, byte [esp + eax + 0x14]
mov dl, byte [edi + ebp]
xor dl, cl
inc eax
cmp eax, 8
mov byte [edi + ebp], dl
jne 0x4091b6
xor eax, eax
inc ebp
cmp ebp, esi
jl 0x4091a2
push ebx
call fcn.0040a001
mov eax, dword [0x4218d0]
add esp, 4
test eax, eax
je 0x4091db
mov edx, dword [esp + 0x10]
inc edx
push edx
push eax
call fcn.0040aa4a
jmp 0x4091e8
mov eax, dword [esp + 0x10]
push 4
inc eax
push eax
call fcn.0040a932
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [0x4218d0], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, ebx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
push eax
push 0x4217c4
lea ecx, [esp + 0x2c]
push str._sMD5SGX_.2d.db
push ecx
mov dword [esp + 0x30], eax
call fcn.00409ee7
add esp, 0x10
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x40912c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x409272
push str.NODATA
call fcn.0040cbc8
add esp, 4
mov dword [0x4218d0], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret

Function at 0x4096b0
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SOFTWARETech_ProScanOut
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4096fa
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ecx
ret
Function at 0x409700
Capabilities:
Check if file exists

Disassembly:
push esi
push str.c:zvdebug.txt
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x409741
push 0x41ef24
push str.c:zvzvonline.log
call fcn.0040a0fd
mov esi, eax
add esp, 8
test esi, esi
je 0x409741
mov eax, dword [esp + 8]
push eax
push 0x41ef20
push esi
call fcn.0040a70a
push esi
call fcn.0040a001
add esp, 0x10
pop esi
ret

Function at 0x4109c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420c38
cmp edx, dword [eax]
je 0x4109eb
add eax, 8
inc ecx
cmp eax, 0x420cc8
jl 0x4109dc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420c38]
jne 0x410b19
mov eax, dword [0x441c20]
cmp eax, 1
je 0x410af3
test eax, eax
jne 0x410a1c
cmp dword [0x4204f4], 1
je 0x410af3
cmp edx, 0xfc
je 0x410b19
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410a53
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410d90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040d840
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x410a96
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040d840
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41a998
push edi
call fcn.0040ad30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410d90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410da0
lea eax, [ebp - 0xa0]
push 0x41a978
push eax
call fcn.00410da0
push dword [esi + 0x420c3c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410da0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00411992
add esp, 0x2c
pop edi
jmp 0x410b19
lea eax, [ebp + 8]
lea esi, [esi + 0x420c3c]
push 0
push eax
push dword [esi]
call fcn.0040d840
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001600
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a21c]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, 2
push edi
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
mov dword [ebp - 0x14], ebx
jne 0x1001705
lea eax, [ebp - 0xc]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001705
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x100167a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100167a
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x10016ee
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x10016ee
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10016ee
cmp dword [esi], ebx
mov dword [ebp - 8], ebx
jbe 0x10016e5
lea edi, [esi + 4]
push dword [ebp - 0x10]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x10016da
inc dword [ebp - 8]
add edi, 8
mov eax, dword [ebp - 8]
cmp eax, dword [esi]
jb 0x10016bc
jmp 0x10016e5
push 1
pop eax
mov dword [0x100a21c], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x1001702
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001b42
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1001b6e
xor esi, esi
push esi
push 0x10
push esi
push esi
push 0x4f5
jmp 0x1001bc5
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x10012e8
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
push esi
jne 0x1001baf
push 0x10
push esi
push esi
push 0x4f6
jmp 0x1001bc5
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1001bcf
push esi
push 0x10
push esi
push esi
push 0x4f7
push esi
call fcn.01003c23
xor eax, eax
jmp 0x1001bd2
push 1
pop eax
pop esi
leave
ret
Function at 0x1001bd5
Capabilities:
Shutdown system

Disassembly:
test byte [esp + 4], 2
je 0x1001be1
push 2
pop eax
jmp 0x1001be6
call fcn.01001b18
cmp eax, 2
jne 0x1001c2e
test byte [esp + 4], 4
je 0x1001bf7
push 6
pop eax
jmp 0x1001c0e
push 4
push 0x40
push 0
push 0x10012c4
push 0x522
push 0
call fcn.01003c23
cmp eax, 6
jne 0x1001c2e
cmp word [0x100bc04], 0
jne 0x1001c29
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1001c2e
call fcn.01001b42
ret 4

Function at 0x1001c31
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100a300], 0
je 0x1001c74
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c74
push 0x100a300
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x1001f66
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100208f
cmp byte [ebx], 0
je 0x100208f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push 0x1001320
push eax
call esi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x100208f
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
test byte [ebp - 0x244], 0x10
je 0x1002038
lea eax, [ebp - 0x218]
push 0x100131c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002067
lea eax, [ebp - 0x218]
push 0x1001318
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002067
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x10012c4
push eax
call fcn.010059ea
lea eax, [ebp - 0x104]
push eax
call fcn.01001f66
jmp 0x1002067
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001fca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100212f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002178
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100216f
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x1002180
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10021cd
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10021c4
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 4
Function at 0x1002374
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
and byte [edi], 0
cmp byte [esi], 0x23
jne 0x1002440
movsx eax, byte [esi + 1]
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
push esi
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov bl, al
call esi
push eax
call esi
cmp bl, 0x53
mov esi, eax
je 0x1002440
cmp bl, 0x57
je 0x1002434
lea eax, [ebp - 0x108]
push 0x1001334
push eax
mov dword [ebp + 8], 0x104
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.010059ea
lea eax, [ebp + 0xc]
push eax
push 0x20019
lea eax, [ebp - 0x108]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100244a
lea eax, [ebp + 8]
push eax
push edi
push 0
push 0
push 0x10012c4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002429
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100244a
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x100244a
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [ebp - 4], 0
jne 0x1002457
push esi
push edi
call fcn.010059ea
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10027ff
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x100b6dc], eax
mov ecx, 0x23f
xor eax, eax
mov edi, 0x100ade0
rep stosd dword es:[edi], eax
mov ecx, 0xca
mov edi, 0x100aaa0
rep stosd dword es:[edi], eax
push 0x41
mov edi, 0x100b720
pop ecx
mov esi, 0x100adf4
rep stosd dword es:[edi], eax
push 1
xor ebx, ebx
pop edi
mov dword [ebp - 4], ebx
push 0x7f
push esi
push 0x10013a4
mov dword [0x100b08c], edi
call fcn.01003d7d
cmp eax, ebx
je 0x1002a1e
cmp eax, 0x80
ja 0x1002a1e
push ebx
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100aa7c], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100b6d4
push 0x1001398
call fcn.01003d7d
test eax, eax
je 0x10028bc
test byte [0x100b6d4], 0xc0
je 0x100294c
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x1001388
call fcn.01003d7d
test eax, eax
jne 0x10028db
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003c23
mov dword [0x100b704], 0x80070714
jmp 0x1002a2e
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100aa80], eax
je 0x100294c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100294c
test byte [0x100b6d4], 0x80
je 0x100291b
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.01003c23
jmp 0x1002931
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.01003c23
cmp eax, 6
je 0x100294c
push dword [0x100aa80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100b704], 0x800700b7
jmp 0x1002a2e
push dword [ebp + 0xc]
mov dword [0x100b824], ebx
call fcn.010051a5
test eax, eax
jne 0x100296d
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1002a28
cmp byte [0x100aaba], bl
je 0x1002984
push 0x100aaba
call fcn.01001f66
jmp 0x1002a2e
push 0xa
push 0x100137c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x10029a5
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [0x100a2f8], ebx
je 0x10029b3
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100aaa4], ebx
jne 0x1002a1a
push dword [ebp - 4]
call fcn.0100310e
test eax, eax
je 0x1002a2e
mov ax, word [0x100bc04]
cmp ax, di
je 0x10029d8
cmp ax, 2
jne 0x1002a1a
test byte [0x100b6d5], 1
je 0x1002a1a
test byte [0x100aab8], 1
jne 0x1002a1a
call fcn.01001600
test eax, eax
jne 0x1002a1a
push 0x83e
push 0x547
push 0x100170a
push ebx
push 0x7d6
push dword [0x100b6dc]
call fcn.010058e6
cmp eax, 0x83d
jne 0x1002a2e
mov eax, edi
jmp 0x1002a30
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003c23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1004022
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov cl, byte [edi]
test cl, cl
je 0x1004086
mov al, byte [edi + 1]
lea esi, [edi + 1]
xor ebx, ebx
cmp al, 0x3a
jne 0x1004046
cmp byte [edi + 2], 0x5c
jne 0x1004046
lea esi, [edi + 3]
jmp 0x1004055
cmp cl, 0x5c
jne 0x1004055
cmp al, cl
jne 0x1004055
push 2
lea esi, [edi + 2]
pop ebx
mov al, byte [esi]
test al, al
je 0x1004086
cmp al, 0x5c
jne 0x100407b
cmp byte [esi - 1], 0x3a
je 0x100407b
test ebx, ebx
je 0x100406c
dec ebx
jmp 0x100407b
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x1004055
pop edi
pop esi
pop ebx
ret 4

Function at 0x1004f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc al, 0x66
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x1004f35
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x1004f2f
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x1004f20
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
inc ebp
mov cl, 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.01004cdb
loope 0x1004f57
adc dword [ebp + 0x50a8458d], ebx
call fcn.01004ceb
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.01004ca0
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 0x1004fc9
invalid
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.01004cdb
out 0xa0, al
push ebp
je 0x1004fab
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1005988
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax + 0x680a4074]
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10059cf
Function at 0x43b64c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
sub edi, ebx
call fcn.0043b685
push edi
pop edi
add ebx, 1
xor dword [esi], ecx
push ebx
pop ebx
inc esi
sub ebx, ebx
add edi, 0x37788b86
inc ebx
cmp esi, eax
jne fcn.0043b64c
sub ebx, 1
add ebx, ebx
ret
Function at 0x40a28d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040a103

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7e98010e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7adb1b35
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219