joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4116c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416240
push 0x411856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4196d8], 0xffffffff
or dword [0x4196dc], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x419690]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x41968c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4196d4], eax
call fcn.00411855
cmp dword [0x419200], 0
jne 0x411747
push 0x411852
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00411840
push 0x417010
push 0x41700c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x419688]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x419684]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x417008
push section..WYCao
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402780
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x533348
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x533350
push ebx
push esi
xor eax, eax
push ebp
push 0x533509
push dword fs:[eax]
mov dword fs:[eax], esp
call 0x590e33a1
lea ecx, [ebp - 0x10]
mov edx, 0x28
call 0x74f73fae
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call 0xc8f73fb9
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x533524
call 0xa4bd33c9
lea edx, [ebp - 0x18]
xor eax, eax
call 0x408933d3
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call 0xb07e34de
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov ecx, 0x533544
mov edx, dword [ebp - 4]
call 0xa4bd33f2
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call 0xb07e34fd
mov edx, dword [ebp - 0x1c]
pop eax
call 0xa8bf3406
sete bl
test bl, bl
jne 0x5334ee
mov eax, dword [ebp - 4]
call 0xd0933519
mov eax, dword [ebp - 4]
call 0x74b93421
mov esi, eax
push esi
call 0xa5063429
or eax, 2
or eax, 4
push eax
push esi
call 0x71083436
lea eax, [ebp - 8]
push eax
mov ecx, 0x533544
mov edx, dword [ebp - 4]
pop eax
call 0xa4bd3448
xor eax, eax
call 0x2d18404f
mov eax, dword [0x542b54]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call 0x6113405e
mov esi, eax
test esi, esi
jbe 0x533474
mov eax, dword [0x542b54]
mov eax, dword [eax]
mov edx, esi
call 0xb9124072
mov edx, eax
mov eax, dword [0x542b54]
mov eax, dword [eax]
call 0x45134080
call 0x49114085
jmp 0x533474
mov eax, dword [ebp - 8]
call 0x74b9348f
push eax
call 0xc5053495
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x533474
push 0x3e8
call 0x290035a9
mov eax, dword [ebp - 8]
call 0x649335b1
test al, al
jne 0x533452
push 0
mov eax, dword [ebp - 8]
call 0x74b934bf
push eax
lea edx, [ebp - 0x24]
xor eax, eax
call 0x408934ca
mov eax, dword [ebp - 0x24]
call 0x74b934d2
push eax
call 0x950534d8
mov eax, dword [ebp - 8]
call 0x649335e0
test al, al
je 0x5334ee
push 0x53356c
push dword [ebp - 8]
push 0x53356c
lea eax, [ebp - 0x28]
mov edx, 3
call 0x88be34fe
mov eax, dword [ebp - 0x28]
push eax
mov ecx, 0x53357c
mov edx, 0x5335a4
mov eax, 0x80000001
call 0xf8f34116
mov eax, dword [0x5428d4]
mov edx, dword [ebp - 8]
call 0xe8b83523
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533510
lea eax, [ebp - 0x28]
mov edx, 0xa
call 0xe0b8353d
ret
Function at 0x1001692
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 - 8], ebx
jne 0x10017c0
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10017c0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0100160a
test eax, eax
jne 0x10017a5
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1001720
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001720
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x10017b4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push esi
push 2
push dword [ebp - 4]
call edi
test eax, eax
je 0x1001798
lea eax, [ebp - 0x14]
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 0x1001798
cmp dword [esi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x100178f
lea edi, [esi + 4]
push dword [ebp - 0x14]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1001784
inc dword [ebp - 0x10]
add edi, 8
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi]
jb 0x1001766
jmp 0x100178f
push 1
pop eax
mov dword [0x100a21c], eax
mov dword [ebp - 8], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp esi, ebx
je 0x10017b4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10017b4
cmp dword [ebp - 8], ebx
je 0x10017b4
mov dword [0x100a21c], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001c23
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 0x1001c4f
xor esi, esi
push esi
push 0x10
push esi
push esi
push 0x4f5
jmp 0x1001ca6
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x1001304
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 0x1001c90
push 0x10
push esi
push esi
push 0x4f6
jmp 0x1001ca6
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1001cb0
push esi
push 0x10
push esi
push esi
push 0x4f7
push esi
call fcn.01003dba
xor eax, eax
jmp 0x1001cb3
push 1
pop eax
pop esi
leave
ret

Function at 0x1001cb6
Capabilities:
Shutdown system

Disassembly:
test byte [esp + 4], 2
je 0x1001cc2
push 2
pop eax
jmp 0x1001cc7
call fcn.01001bf9
cmp eax, 2
jne 0x1001d0f
test byte [esp + 4], 4
je 0x1001cd8
push 6
pop eax
jmp 0x1001cef
push 4
push 0x40
push 0
push 0x10012e0
push 0x522
push 0
call fcn.01003dba
cmp eax, 6
jne 0x1001d0f
cmp word [0x100bc04], 0
jne 0x1001d0a
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1001d0f
call fcn.01001c23
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100a300], 0
je 0x1001d55
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 0x1001d55
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 0x1001f4c
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
xor ebx, ebx
cmp byte [0x100a300], bl
je 0x1002044
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002044
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x344]
push eax
push ebx
mov esi, 0x100a300
push ebx
push esi
mov dword [ebp - 8], 0x238
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100203a
mov al, byte [0x10012e0]
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1001ff5
lea eax, [ebp - 0x10c]
push 0x10012e0
push eax
call fcn.01005b56
lea eax, [ebp - 0x10c]
push 0x100ae84
push eax
lea eax, [ebp - 0x344]
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x344]
push eax
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x1002047
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
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 0x1002170
cmp byte [ebx], 0
je 0x1002170
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 0x100133c
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 0x1002170
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
test byte [ebp - 0x244], 0x10
je 0x1002119
lea eax, [ebp - 0x218]
push 0x1001338
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002148
lea eax, [ebp - 0x218]
push 0x1001334
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002148
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x10012e0
push eax
call fcn.01005b56
lea eax, [ebp - 0x104]
push eax
call fcn.01002047
jmp 0x1002148
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x80
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 0x10020ab
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 0x10021ad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100221a
lea eax, [ebp - 0x104]
push 0x1001340
push eax
call fcn.01005b56
lea eax, [ebp - 0x104]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x104]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x100221a
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x1002220
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 0x1002269
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 0x1002260
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 0x1002271
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 0x10022be
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 0x10022b5
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 0x1002313
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1002330
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x1002333
and eax, 0x10
ret 4

Function at 0x1002449
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
and byte [eax], 0
push edi
mov edi, dword [ebp + 0x10]
cmp byte [edi], 0x23
jne 0x100255d
movsx eax, byte [edi + 1]
inc edi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, dword [sym.imp.USER32.dll_CharNextA]
push edi
mov bl, al
call esi
push eax
call esi
cmp bl, 0x53
mov edi, eax
je 0x1002555
cmp bl, 0x57
je 0x1002547
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x10c]
mov ebx, 0x104
push 0x1001350
push eax
mov dword [ebp - 8], ebx
call esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.01005b56
lea eax, [ebp + 0x10]
push eax
push 0x20019
lea eax, [ebp - 0x10c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002567
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push eax
push 0
push 0x10012e0
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100253c
cmp dword [ebp + 0xc], 2
jne 0x100252f
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x100252f
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call esi
jmp 0x1002535
cmp dword [ebp + 0xc], 1
jne 0x100253c
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002567
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1002567
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1002561
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [ebp - 4], 0
jne 0x1002576
push edi
push dword [ebp + 8]
call fcn.01005b56
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1002580
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x7c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
jle 0x10026c4
mov dword [ebp + 8], edi
jmp 0x10025a7
xor edi, edi
mov ecx, dword [ebp + 8]
mov eax, ebx
add eax, dword [ebx + 0x80]
lea esi, [eax + ecx + 0x84]
mov eax, dword [eax + ecx + 0xbc]
lea eax, [eax + ebx + 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.01002449
test eax, eax
je 0x10026cb
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x10026a8
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x10026cb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x10026cb
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100269d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1001384
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100269d
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x100269d
add esi, 0x10
push dword [esi - 0xc]
mov eax, dword [ebp - 0xc]
push dword [esi - 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.01002714
push dword [esi]
mov dword [ebp + edi - 0x24], eax
mov eax, dword [ebp - 0xc]
push dword [esi - 4]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.01002714
mov dword [ebp + edi - 0x2c], eax
add edi, 4
add esi, 0x18
cmp edi, 8
jl 0x100264b
cmp dword [ebp - 0x24], 0
jl 0x1002691
cmp dword [ebp - 0x2c], 0
jle 0x100269d
cmp dword [ebp - 0x20], 0
jl 0x10026ec
cmp dword [ebp - 0x28], 0
jg 0x10026ec
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10026b1
cmp dword [esi], edi
jne 0x10026cb
cmp dword [esi + 4], edi
jne 0x10026cb
inc dword [ebp - 8]
add dword [ebp + 8], 0x3c
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x7c]
jl 0x10025a5
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 4], 0
mov dword [eax], ecx
je 0x10026e2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10026cb
Function at 0x100283d
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x1002866
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100285e
cmp al, 0x22
jne 0x1002852
cmp byte [esi], 0x22
jne 0x1002870
inc esi
jmp 0x1002870
cmp al, 0x20
jle 0x1002870
inc esi
cmp byte [esi], 0x20
jg 0x100286a
mov al, byte [esi]
test al, al
je 0x100287d
cmp al, 0x20
jg 0x100287d
inc esi
jmp 0x1002870
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x1002897
movzx eax, word [ebp - 0x14]
jmp 0x100289a
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1002919
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

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, 0xcb
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 0x10013bc
mov dword [0x100b08c], edi
call fcn.01003f0d
cmp eax, ebx
je 0x1002b38
cmp eax, 0x80
ja 0x1002b38
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 0x10013b0
call fcn.01003f0d
test eax, eax
je 0x10029d6
test byte [0x100b6d4], 0xc0
je 0x1002a66
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x10013a0
call fcn.01003f0d
test eax, eax
jne 0x10029f5
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003dba
mov dword [0x100b704], 0x80070714
jmp 0x1002b48
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 0x1002a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002a66
test byte [0x100b6d4], 0x80
je 0x1002a35
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.01003dba
jmp 0x1002a4b
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.01003dba
cmp eax, 6
je 0x1002a66
push dword [0x100aa80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100b704], 0x800700b7
jmp 0x1002b48
push dword [ebp + 0xc]
mov dword [0x100b824], ebx
call fcn.01005302
test eax, eax
jne 0x1002a87
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1002b42
cmp byte [0x100aaba], bl
je 0x1002a9e
push 0x100aaba
call fcn.01002047
jmp 0x1002b48
push 0xa
push 0x1001394
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x1002abf
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [0x100a2f8], ebx
je 0x1002acd
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100aaa4], ebx
jne 0x1002b34
push dword [ebp - 4]
call fcn.0100323c
test eax, eax
je 0x1002b48
mov ax, word [0x100bc04]
cmp ax, di
je 0x1002af2
cmp ax, 2
jne 0x1002b34
test byte [0x100b6d5], 1
je 0x1002b34
test byte [0x100aab8], 1
jne 0x1002b34
call fcn.01001692
test eax, eax
jne 0x1002b34
push 0x83e
push 0x547
push 0x10017c5
push ebx
push 0x7d6
push dword [0x100b6dc]
call fcn.01005a34
cmp eax, 0x83d
jne 0x1002b48
mov eax, edi
jmp 0x1002b4a
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003dba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1002c51
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
jmp 0x1004a9a
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [0x100ae80]
xor ebp, ebp
push edi
cmp esi, ebp
mov edi, esi
je 0x1004aed
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x100aaa4], ebp
jne 0x1004add
cmp dword [0x100b6d0], ebp
jne 0x1004add
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [edi]
mov esi, dword [esi + 4]
call ebx
push edi
call ebx
cmp esi, ebp
mov edi, esi
jne 0x1004ab8
cmp dword [0x100aaa0], ebp
je 0x1004b3d
cmp dword [0x100aaa4], ebp
jne 0x1004b3d
cmp dword [0x100b6d0], ebp
jne 0x1004b3d
lea eax, [esp + 0x10]
push 0x100ae84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b6d4], 0x20
je 0x1004b28
lea eax, [esp + 0x10]
push eax
call fcn.01005b95
push 0x1001334
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0x10]
push eax
call fcn.01002047
cmp word [0x100bc04], 1
je 0x1004b54
cmp dword [0x100aaa0], ebp
je 0x1004b54
call fcn.01001d12
pop edi
mov dword [0x100aaa0], ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret