joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013230
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x214
mov eax, 0x1002dcec
call fcn.10016e35
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 8], 0
je 0x1001325b
mov eax, reloc.oleaut32.dll_VariantCopyInd
jmp 0x100133e6
mov eax, dword [ebx - 0xc]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100304d0]
lea ecx, [ebx - 0xc]
call esi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x1001327f
mov eax, 0x80004005
jmp 0x100133e6
mov edx, dword [ebp + 0x10]
mov esi, reloc.oleaut32.dll_SysReAllocString
mov eax, edx
and eax, esi
cmp eax, esi
push dword [ebp - 0x21c]
sete al
mov byte [ecx + 0x31], al
lea ecx, [esi + 2]
mov eax, edx
and eax, ecx
cmp eax, ecx
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x32], cl
lea eax, [esi + 6]
and edx, eax
cmp edx, eax
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x33], cl
mov ecx, dword [ebx + 0x14]
add ecx, 0x28
call fcn.10018018
mov edi, dword [ebx + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100304d0]
mov ecx, edi
call esi
push eax
lea ecx, [ebp - 0x220]
call fcn.10018018
xor esi, esi
lea ecx, [ebp - 0x220]
push str.Excel.Application
mov dword [ebp - 4], esi
call fcn.10018018
test al, al
je 0x100133be
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10019ba0
mov edi, dword [ebp - 0x21c]
push 0x5c
push edi
call fcn.10018018
add esp, 0x14
test eax, eax
jne 0x10013338
push 0x2f
push edi
call fcn.10018018
pop ecx
pop ecx
test eax, eax
je 0x10013358
add eax, 2
push 0x2e
push eax
call fcn.10018018
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10018018
add esp, 0x14
cmp word [ebp - 0x218], si
je 0x100133b7
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10018018
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
add ecx, 0x24
test eax, eax
jne 0x100133a9
lea eax, [ebp - 0x218]
push eax
call fcn.10018018
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x100133af
push edi
call fcn.10018018
mov eax, dword [ebx + 0x14]
add eax, 0x24
jmp 0x100133cf
mov esi, 0x80004005
jmp 0x100133d8
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x21c]
add ecx, 0x24
call fcn.10018018
push eax
lea ecx, [ebx + 0x10]
call fcn.10018018
push dword [ebp - 0x220]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, esi
call fcn.10016ddf
ret 0xc
Function at 0x10013a90
Capabilities:
Terminate process

Disassembly:
push 0x81c
mov eax, 0x1002ddab
call fcn.10016e35
mov ebx, ecx
xor ecx, ecx
lea edi, [ebx + 0x40]
mov esi, ecx
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], ecx
cmp dword [edi], ecx
je 0x10013bcc
push 0x10
push ecx
lea eax, [ebp - 0x828]
push eax
call fcn.10019ba0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push esi
push str.Caption
push dword [edi]
lea eax, [ebp - 0x828]
mov dword [ebp - 4], esi
push eax
push 2
push ebx
call fcn.10018018
add esp, 0x18
test eax, eax
jne 0x10013b31
push dword [ebp - 0x820]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.10018018
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.user32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x818]
push ecx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100304d0]
mov ecx, ebx
call esi
mov esi, eax
test esi, esi
js 0x10013b70
cmp dword [ebp - 0x818], 0
jne 0x10013b70
push 0
push str.Quit
push dword [edi]
push 0
push 1
push ebx
call fcn.10018018
add esp, 0x18
mov esi, eax
mov ecx, edi
call fcn.10009b23
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10013bcc
cmp dword [ebp - 0x818], 0
jne 0x10013bcc
test esi, esi
jns 0x10013bcc
and dword [ebp - 0x814], 0
lea ecx, [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x814]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, esi
call fcn.10016ddf
ret
Function at 0x10015057
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002dffa
call fcn.10016e35
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015074
xor eax, eax
jmp 0x10015151
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001514f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10015125
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000127b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000127b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10018018
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x1001512f
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x100150a4
jmp 0x10015148
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016ddf
ret

Function at 0x10018018
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10018027
pop dword [ebp - 0x44]
mov eax, 0x80aeb811
sub eax, 0x70ad37ea
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x41697
push 0
mov eax, 0xe5cf30d8
sub eax, 0xd5cc2f7c
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x4cba
xor edx, edx
add edx, eax
mov ebx, 0x1017fb23
add ebx, 0xffecc0dd
add ebx, dword [ebp - 0x44]
mov esi, 0x6ac3ee1a
mov dword [ebp - 0x10], 0x6a6ed3e2
mov edi, dword [ebx]
add dword [ebp - 0x24], 0x5a858eca
sub edi, esi
xor dword [ebp - 0x40], 0x203a1c2b
mov dword [edx], edi
add edx, 0x87b10d23
add edx, 0x784ef2e1
add ebx, 0xbac53a9
sub ebx, 0xbac53a5
loop 0x1001807c
add eax, 0xc46ae22a
add eax, 0x3b964391
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4116ef
pop dword [ebp - 0x20]
mov eax, 0x4116ef
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3b7c6
push 0
mov eax, 0xefec2d8d
add eax, 0x1056248b
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xc231077c
add ecx, 0x3dcf3739
mov edi, eax
mov ebx, 0x650794e1
add ebx, 0x9b3bbf1f
add ebx, dword [ebp - 0x20]
mov esi, 0x1a209cf3
sub esi, 0x60bae626
sub dword [ebp - 0x14], edx
mov edx, dword [ebx]
sub dword [ebp - 0x1c], esi
xor edx, esi
add dword [ebp - 0x1c], 0xa87ca1aa
mov dword [edi], edx
sub dword [ebp - 0x10], edi
add edi, 0x3f033eeb
sub edi, 0x3f033ee7
add ebx, 0x7a9e3126
sub ebx, 0x7a9e3122
loop 0x411749
add eax, 0xdb2fc92a
add eax, 0x24d1247d
xor ebx, ebx
add ebx, eax
add eax, 0xa534bcfb
sub eax, 0xa534bcf6
mov ecx, 0x6fe368e
sub ecx, 0x6be368e
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10008b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10008b5f
pop dword [ebp - 0x28]
mov eax, 0xc3ebe38b
add eax, 0x4c14a7d4
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x86f1eff8
sub dword [ebp - 0x38], 0x389faaad
mov dword [ebp - 0x34], 0x57bc284d
add dword [ebp - 0x34], 0xda7723f8
mov dword [ebp - 0x30], 0x518b7280
sub dword [ebp - 0x30], 0x53f2e52
mov dword [ebp - 0x2c], 0xf4c956c2
add dword [ebp - 0x2c], 0xb36a93e
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x1b3b5190
sub dword [ebp - 0x38], 0xa6c8e83a
mov dword [ebp - 0x34], 0x62ad82d1
sub dword [ebp - 0x34], 0x2141215c
mov dword [ebp - 0x30], 0x65f8ce15
add dword [ebp - 0x30], 0xfd769e57
mov dword [ebp - 0x2c], 0xdd63b899
add dword [ebp - 0x2c], 0x229c4767
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x870486b2
add eax, 0x88fd2962
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3ed56
push 0
call eax
mov ecx, 0x49b0
mov ebx, eax
mov edx, 0xe3d0c334
sub edx, 0xd3ce1334
add edx, dword [ebp - 0x28]
mov edi, 0xcc1d505a
add dword [ebp - 0x10], 0x736a3bd7
mov esi, dword [edx]
sub esi, edi
add dword [ebp - 0x18], edi
mov dword [ebx], esi
xor dword [ebp - 0x10], 0x5e3e30ba
add ebx, 4
add edx, 0x2c5be8b5
sub edx, 0x2c5be8b1
loop 0x10008c70
add eax, 0x11993
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb4daf52b
sub ecx, 0xa4daf52b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10005a4a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10024050]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x10005aed
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.10008e68
pop ecx
pop ecx
test eax, eax
je 0x10005ad6
test ebx, ebx
je 0x10005aca
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10008e68
pop ecx
pop ecx
test eax, eax
jle 0x10005ad6
push ebx
call fcn.10006dc1
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x10005a97
xor edi, edi
cmp ebx, edi
jne 0x10005af1
xor eax, eax
jmp 0x10005b5d
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x10005b20
call fcn.10006dc1
pop ecx
cmp dword [ebp - 0x70], edi
je 0x10005aed
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10005aed
call fcn.10006dc1
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005b10
cmp dword [ebp - 0x70], edi
je 0x10005b53
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008c61
add ebp, 0x9c
leave
ret
Function at 0x10008c61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024050]
jne 0x10008c6b
repz ret
jmp fcn.1000d082

Function at 0x10008e68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10008e77
pop dword [ebp - 0x30]
mov eax, 0x39e0592e
add eax, 0xd6203549
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x7c1d52df
add dword [ebp - 0x40], 0xd234f26c
mov dword [ebp - 0x3c], 0x77e5f560
add dword [ebp - 0x3c], 0xba4d56e5
mov dword [ebp - 0x38], 0xbf779716
sub dword [ebp - 0x38], 0x732b52e8
mov dword [ebp - 0x34], 0xe8f7a178
sub dword [ebp - 0x34], 0xe8f7a178
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xd6737fb6
sub dword [ebp - 0x40], 0x62011660
mov dword [ebp - 0x3c], 0x124516d9
add dword [ebp - 0x3c], 0x2f274a9c
mov dword [ebp - 0x38], 0x1bccfeb9
sub dword [ebp - 0x38], 0xb85d924d
mov dword [ebp - 0x34], 0x99caf11c
sub dword [ebp - 0x34], 0x99caf11c
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xd897d003
sub eax, 0xc8960fb7
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3a1e4
push 0
call eax
mov ecx, 0xcc3461a0
sub ecx, 0xcc341f4a
mov ebx, eax
mov edi, 0xc837f98f
add edi, 0x47cab071
add edi, dword [ebp - 0x30]
mov edx, 0x1995c9cc
sub edx, 0xa4000ad4
sub dword [ebp - 0x20], 0x9c55c80f
mov esi, dword [edi]
add dword [ebp - 0x24], eax
xor esi, edx
mov dword [ebx], esi
mov dword [ebp - 0x1c], 0x8eadd6f6
add ebx, 4
add edi, 0x135867f7
sub edi, 0x135867f3
loop 0x10008f94
add eax, 0x28dd4095
sub eax, 0x28dc446a
mov ebx, eax
add eax, 0x90adb479
add eax, 0x6f524b8c
mov ecx, 0x3687e359
sub ecx, 0x2687e359
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1000e7f8
Capabilities:
Read file on windows

Disassembly:
push 0xdc
mov eax, 0x1009dd38
call fcn.100739ea
mov esi, ecx
push 0xe
lea edx, [esi - 1]
pop eax
cmp edx, eax
ja case.0x1000e70b.7
jmp dword [edx*4 + 0x1000e7bc]
push 2
pop eax
call fcn.10073999
ret
push 3
jmp 0x1000e714
push 4
jmp 0x1000e714
push 8
jmp 0x1000e714
push 6
jmp 0x1000e714
push 9
jmp 0x1000e714
push 0xa
jmp 0x1000e714
push 0x1b
jmp 0x1000e714
push 0x12
jmp 0x1000e714
xor eax, eax
inc eax
jmp case.0x1000e70b.14
push ecx
lea ecx, [ebp - 0xc4]
call fcn.1000d9e8
push ecx
lea ecx, [ebp - 0xc4]
call fcn.10019cf4
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
mov edx, str.Element_type__
call fcn.100343b6
push esi
mov ecx, eax
call fcn.1001af66
mov edx, str.__is_not_supported_yet.
mov ecx, eax
call fcn.100343b6
push ecx
mov ecx, eax
call fcn.1001b051
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xc4]
call fcn.10019caf
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call fcn.10001781
push 0x1011b064
lea eax, [ebp - 0xd0]
push eax
call fcn.1007525d
nop
adc ah, bh
add byte [eax], dl
sbb esp, edi
add byte [eax], dl
pop ds
out 0, eax
adc byte [edi], bl
out 0, eax
adc byte [ebx], ah
out 0, eax
adc byte [edi], ah
out 0, eax
adc byte [eax - 0x19], al
add byte [eax], dl
sbb esp, edi
add byte [eax], dl
daa
out 0, eax
adc byte [ebx], ch
out 0, eax
adc byte [edi], ch
out 0, eax
adc byte [ebx], dh
out 0, eax
adc byte [edi], dh
out 0, eax
adc byte [0x3b1000e7], dl
out 0, eax
adc byte [ebp - 0x75], dl
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push esi
mov dword [ebp - 8], esi
call fcn.1007c058
pop ecx
test eax, eax
jne 0x1000e89b
push 2
push eax
push esi
call fcn.1007cf7f
push esi
call fcn.10078724
push 0
push 0
push esi
mov edi, eax
call fcn.1007cf7f
mov eax, dword [ebx + 4]
add esp, 0x1c
mov edx, dword [ebx]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 4], eax
cmp edi, ecx
jae 0x1000e84a
lea eax, [edx + edi]
jmp 0x1000e87a
jbe 0x1000e87d
mov eax, dword [ebx + 8]
sub eax, edx
cmp edi, eax
jbe 0x1000e860
push ecx
push edi
mov ecx, ebx
call fcn.10040b9e
jmp 0x1000e87d
mov esi, edi
sub esi, ecx
push esi
push 0
push dword [ebp - 4]
call fcn.10075050
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 8]
mov dword [ebx + 4], eax
push esi
push edi
push 1
push dword [ebx]
call fcn.1008570a
add esp, 0x10
cmp eax, edi
jne 0x1000e89b
push esi
call fcn.1007c844
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.error_reading_from_file
lea ecx, [ebp - 0x14]
call fcn.100017a5
push 0x1011b064
lea eax, [ebp - 0x14]
push eax
call fcn.1007525d
int3

Function at 0x1000ec6f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [ecx + 0x14], 0xf
mov eax, ecx
push esi
push edi
mov esi, 0x811c9dc5
jbe 0x1000ec84
mov eax, dword [ecx]
mov edi, eax
jmp 0x1000ec86
mov edi, ecx
mov ecx, dword [ecx + 0x10]
mov edx, eax
add ecx, edi
cmp eax, ecx
je 0x1000eca1
movsx eax, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, ecx
jne 0x1000ec91
pop edi
mov eax, esi
pop esi
ret
Function at 0x10012e15
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1011d900]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
mov esi, edx
push 0x44
mov dword [ebp - 0x6c], esi
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
pop edi
push edi
push 0
push eax
call fcn.10075050
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 0x28], 1
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], edi
push eax
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10012e9c
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x68]
call esi
xor eax, eax
jmp 0x10012ee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push edi
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push 0x400
push esi
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x58]
mov ecx, str._null_
test ebx, ebx
mov eax, ecx
cmovne eax, ebx
push esi
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
cmovne ecx, eax
push ecx
push str.cimg::system___:_Command__s__module_name__s__failed_with_error__lu:__s
call fcn.10012dc5
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10072cfd
leave
ret
Function at 0x10014748
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
push ebx
push esi
mov esi, 0x100ce4e9
push edi
cmovne esi, eax
mov edi, ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014763
sub ecx, edx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x1001478e
push ebx
call fcn.100732b6
push ebx
push esi
push eax
mov dword [ebp - 4], eax
call fcn.10074ad0
mov esi, dword [ebp - 4]
add esp, 0x10
xor ebx, ebx
jmp 0x10014792
xor ebx, ebx
mov esi, ebx
cmp dword [edi + 0x18], ebx
je 0x100147a3
cmp dword [edi + 0x1c], ebx
je 0x100147a3
mov ecx, edi
call fcn.10014866
call fcn.10013ec3
mov ecx, dword [ebp + 8]
cmp eax, ecx
cmovb ecx, eax
mov dword [edi + 0x18], ecx
call fcn.10013f00
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
push 3
cmovb ecx, eax
mov word [edi + 0xbc], 0x100
cmp dword [ebp + 0x14], 4
pop eax
cmovb eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov al, byte [ebp + 0x18]
mov byte [edi + 0x30], al
mov eax, 0x80000000
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], eax
mov al, byte [ebp + 0x1c]
mov dword [edi + 0x1c], ecx
mov ecx, edi
mov byte [edi + 0x60], al
mov dword [edi + 0x34], esi
call fcn.10013e6c
cmp byte [edi + 0x30], 0
je 0x10014808
mov ecx, edi
call fcn.100146b4
push 8
call fcn.100732b6
pop ecx
mov esi, eax
push ebx
push ebx
push ebx
mov dword [esi], edi
mov eax, dword [edi + 0x34]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x100142fc
push ebx
push ebx
mov dword [edi + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [edi + 0xc4]
mov dword [edi + 0xc0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10014866
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
je 0x1001491e
cmp dword [esi + 0x1c], ebx
je 0x1001491e
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [esi + 0xc0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xdc]
call fcn.10072d0b
push dword [esi + 0x34]
call fcn.10072d0b
pop ecx
pop ecx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x34], ebx
cmp byte [esi + 0x30], bl
je 0x100148e8
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x100148cb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xd0], ebx
cmp word [esi + 0x124], bx
je 0x100148e8
push ebx
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
and dword [esi + 0x2c], ebx
mov eax, 0x80000000
and dword [esi + 0x28], ebx
mov ecx, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov byte [esi + 0x30], bl
mov byte [esi + 0x60], 1
mov dword [esi + 0x34], ebx
call fcn.10013e6c
mov eax, esi
pop esi
pop ebx
ret
pop esi
pop ebx
jmp fcn.10013e6c

Function at 0x10014d54
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10014dca
xor eax, eax
push eax
push eax
push esi
push edi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
je 0x10014dca
sub esp, 0xc
lea ecx, [esp + 0x1c]
push ebx
call fcn.10017d48
push ebx
push dword [esp + 0x28]
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10014db9
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [esp + 0x20], 0
jne 0x10014dca
push dword [esp + 0x24]
call fcn.10072d0b
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014dd3
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101371a4]
push ebx
push esi
xor ebx, ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10137d38]
push edi
cmp eax, dword [ecx + 4]
jle 0x10014e3f
mov esi, 0x10137d38
push esi
call fcn.10072d9a
cmp dword [0x10137d38], 0xffffffff
pop ecx
jne 0x10014e3f
push 0x100a24d9
mov dword [0x10137cd0], ebx
mov dword [0x10137cd4], ebx
mov dword [0x10137cd8], ebx
mov dword [0x10137cdc], ebx
mov byte [0x10137ce0], bl
mov dword [0x10137ce4], ebx
call fcn.1007327c
pop ecx
push esi
call fcn.10072d49
pop ecx
call fcn.10012cc1
push 0xffffffffffffffff
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x10137ce4], ebx
jne 0x10014eba
push 1
push 1
push 1
push 0x104
mov ecx, 0x10137cd0
call fcn.1001845a
mov eax, dword [0x10137ce4]
push ebx
push 0x26
mov byte [eax], bl
push dword [0x10137ce4]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10014eba
push str.PROGRAMFILES
call fcn.10085b36
pop ecx
test eax, eax
je 0x10014eac
push 0x103
push eax
push dword [0x10137ce4]
call fcn.10080170
add esp, 0xc
jmp 0x10014eba
mov edi, dword [0x10137ce4]
mov esi, str.C:PROGRA1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10012cc1
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x10137ce4]
pop edi
pop esi
pop ebx
ret