joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4126b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x510
mov eax, dword [0x422538]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x51c], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
xor esi, esi
push esi
push str.HARDWAREDEVICEMAPSERIALCOMM
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.MSLUR71.dll_free]
mov edi, eax
cmp edi, esi
je 0x412705
cmp edi, 2
jne 0x4127e9
xor edi, edi
jmp 0x4127e9
mov dword [esp + 0x18], 0
mov eax, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
push ebx
call ebp
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSLUR71.dll_malloc]
push ecx
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4127e4
push esi
call ebp
mov edx, dword [esp + 0x20]
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4127e4
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push esi
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
test edi, edi
je 0x412790
cmp edi, 0xea
jne 0x4127e9
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx + 2]
mov dword [esp + 0x10], edx
jmp 0x412720
mov edx, esi
neg edx
mov eax, esi
lea ebp, [esp + edx + 0x20]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x4127a0
mov eax, esi
lea edx, [esp + edx + 0x11f]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4127b3
mov ecx, dword [esp + 0x528]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [esp + 0x52c]
test eax, eax
mov ebp, dword [sym.imp.MSLUR71.dll_free]
je 0x4127e9
inc dword [esp + 0x18]
jmp 0x41270d
mov edi, 8
push ebx
call ebp
push esi
call ebp
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x412801
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x412825
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50c]
call fcn.0041937d
add esp, 0x510
ret
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.0041937d
add esp, 0x510
ret
Function at 0x10017fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x10018064
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a4642
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 1]
shl eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10017ff2
xor eax, eax
jmp 0x10018067
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x10018028
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov word [ecx + eax*2], 0x5c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x1001803a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100a4642
add esp, 4
cmp dword [ebp - 4], eax
jae 0x10018064
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov cx, word [esi + ecx*2]
mov word [eax + edx*2], cx
jmp 0x10018031
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10023280
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov dword [edi], 0
push 0
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push edi
push 0x10121610
push 1
push 0
push 0x101216e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10023396
mov edi, dword [edi]
test edi, edi
je 0x10023396
mov eax, dword [edi]
push ebx
push ecx
lea ecx, [ebp - 0x10]
mov ebx, dword [eax + 0xc]
call fcn.100222a0
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x10023313
mov eax, dword [eax]
jmp 0x10023315
xor eax, eax
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push edi
call ebx
mov edi, dword [ebp - 0x10]
mov ebx, eax
test edi, edi
je 0x10023376
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10023376
test edi, edi
je 0x10023376
mov eax, dword [edi]
test eax, eax
je 0x10023354
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002336b
push eax
call fcn.100703c1
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.100703b3
add esp, 8
test ebx, ebx
pop ebx
js 0x10023396
mov eax, dword [esi]
test eax, eax
je 0x10023396
push 0
push 0
push 3
push 3
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1003df00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.1003e6c0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.1001cdf0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003f060
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.PH::GMFileMappingEx.0
cmp eax, 0xffffffff
je 0x1003f07f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x1003f0a1
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x1003f092
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esi + 0x2c], 0xffffffff
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x1003f0d7
mov eax, dword [esi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003f0cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f133
mov eax, edx
push ecx
push eax
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 7
mov word [esi + 0x10], ax
mov eax, dword [esi + 8]
mov dword [esi], vtable.PH::GMFileMapping.0
test eax, eax
je 0x1003f106
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003f11b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
test byte [esp + 8], 1
je 0x1003f12d
push 0x30
push esi
call fcn.100703b3
add esp, 8
mov eax, esi
pop esi
ret 4
call fcn.1007e0fa
int3

Function at 0x1003ff20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119e1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10055d11
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1003ffad
push eax
push esi
call fcn.100567d6
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.1003fe20
push 0x101484f8
lea eax, [ebp - 0x1c]
push eax
call fcn.10073c2b
int3
Function at 0x10049e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10049e8b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1004a810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10049ead
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10049eaf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10049f33
jg 0x10049ec4
test esi, esi
je 0x10049f33
test ecx, ecx
jl 0x10049f0d
jg 0x10049ece
test eax, eax
je 0x10049f0d
cmp edi, ecx
jg 0x10049ee2
jl 0x10049ed8
cmp esi, eax
jae 0x10049ee2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.10073ca0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10049f10
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10049f33
jg 0x10049f1a
test esi, esi
je 0x10049f33
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10049f33
push eax
push esi
push 1
push edx
call fcn.100a368b
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004a4d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1004a4ea
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1004a51c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1004a51c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
cmp dword [esi + 0x4c], 0
je 0x1004a5f8
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1004a544
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1004a56d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100a2dc9
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x28
ret 4
mov byte [esp + 0xf], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x1004a5f8
cmp eax, 1
jle 0x1004a5c7
cmp eax, 3
jne 0x1004a5f8
mov edx, dword [esi + 0x4c]
mov cl, byte [esp + 0xf]
call fcn.10048f40
or ecx, 0xffffffff
test al, al
pop edi
cmovne ecx, ebx
pop esi
mov eax, ecx
pop ebx
add esp, 0x28
ret 4
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
sub edi, eax
je 0x1004a5e6
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100a368b
add esp, 0x10
cmp edi, eax
jne 0x1004a5f8
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x10], eax
jne 0x1004a511
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 4

Function at 0x1004b200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1004b283
cmp byte [esi + 0x3d], 0
je 0x1004b283
push 0xffffffffffffffff
call fcn.1004a4d0
cmp eax, 0xffffffff
je 0x1004b24b
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1004b253
sub eax, 1
je 0x1004b257
sub eax, 2
je 0x1004b283
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x1004b276
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100a368b
add esp, 0x10
cmp edi, eax
jne 0x1004b24b
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
mov al, 1
pop esi
add esp, 0x24
ret

Function at 0x100b27f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b23f5
Function at 0x100b27fb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b2576

Function at 0x100b9cec
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b94c6

Function at 0x100b9cf7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b9701

Function at 0x100c4e5a
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c4be1
Function at 0x100c7d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x238
mov dword [0x101558f8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101558fc], eax
push ebx
push esi
test eax, eax
je 0x100c7d87
mov esi, dword [eax]
test esi, esi
je 0x100c7d87
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101558fc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
movzx ecx, al
shr ax, 8
shl cx, 8
or cx, ax
mov eax, 0x600
cmp cx, ax
jae 0x100c7daf
xor bl, bl
jmp 0x100c7e36
xor eax, eax
mov dword [esp + 0x28], 0
push eax
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.100e2850
test al, al
je 0x100c7e2b
lea eax, [esp + 0x14]
mov dword [esp + 8], 4
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
push eax
push 0
push str.EnableLUA
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100c7e57
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
call fcn.100e2a60
mov bl, 1
call fcn.100f2100
test bl, bl
jne 0x100c7e6b
test al, al
jne 0x100c7e6f
xor ecx, ecx
mov eax, 2
push ecx
push eax
call fcn.100d1da0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x10], 0
jne 0x100c7e2b
lea ecx, [esp + 0x18]
call fcn.100e2a60
xor bl, bl
jmp 0x100c7e36
test al, al
je 0x100c7e8d
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
push eax
call fcn.100d1da0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, 1
push ecx
push eax
call fcn.100d1da0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c92b0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
sub esp, 0x26c
mov dword [0x101558f8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101558fc], eax
push esi
test eax, eax
je 0x100c92f6
mov esi, dword [eax]
test esi, esi
je 0x100c92f6
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101558fc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d1ed0
push 0x40
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x44
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x1c], xmm0
call fcn.100747a0
add esp, 0xc
mov dword [esp + 0x4c], 1
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100c9376
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
mov dword [esp + 0x14], eax
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100c93a4
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push dword [esp + 0x10]
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esp + 0x10]
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c93c0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
sub esp, 0x26c
mov dword [0x101558f8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101558fc], eax
push esi
test eax, eax
je 0x100c9406
mov esi, dword [eax]
test esi, esi
je 0x100c9406
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101558fc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d1ed0
push 0x40
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x44
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x1c], xmm0
call fcn.100747a0
add esp, 0xc
mov eax, 1
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100c9481
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
mov dword [esp + 0x14], eax
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100c94af
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push dword [esp + 0x10]
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esp + 0x10]
call fcn.100d1da0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cf0f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d4f0
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
mov dword fs:[0], esp
call fcn.100718b0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2028]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x10], edi
call fcn.100747a0
xor eax, eax
mov dword [ebp - 0x18], 0
add esp, 0xc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x100cf150
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100cf15b
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x100cf166
mov ecx, dword [ecx]
push esi
push 0xfff
lea edx, [ebp - 0x2028]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x2028]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cf1a0
sub ecx, edx
lea eax, [ebp - 0x2028]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1001a860
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100cf1f4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf1ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf206
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
int3
Function at 0x100cf780
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x244
mov dword [0x101558f8], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x101558fc], esi
push edi
test esi, esi
je 0x100cf7c9
mov esi, dword [esi]
test esi, esi
je 0x100cf7c9
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101558fc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d1ed0
mov esi, eax
call fcn.100d1ed0
mov edi, eax
call fcn.100d1ed0
mov ebx, eax
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x44], 7
lea ecx, [esp + 0x48]
mov word [esp + 0x30], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cf800
sub ecx, edx
lea eax, [esp + 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.1001a860
push dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x14]
mov word [esp + 0x14], ax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
call fcn.1001a860
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
push 0x100ea120
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100cf94f
push edi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100cf93b
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100cf8e1
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf8d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf9d4
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100cf934
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf9d4
push edx
push ecx
call fcn.100703b3
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x820
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100cf8a5
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100cf987
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf97d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cf9d4
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100cf934
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cf92a
call fcn.1007e0fa
int3