joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002cf1c
Capabilities:
Get file version info

Disassembly:
push 0x78
mov eax, 0x10109e32
call fcn.100c7e75
mov esi, edx
mov edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1002cf41
mov ecx, dword [eax]
mov dword [eax + 0x10], ebx
mov byte [ecx], bl
cmp dword [edx + 0x10], ebx
je 0x1002d0c5
cmp dword [esi + 0x10], ebx
je 0x1002d0c5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002cf62
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1002d0c5
push 0x10110960
push eax
call fcn.100c778a
mov edi, eax
mov dword [ebp - 0x2c], edi
pop ecx
pop ecx
test edi, edi
je 0x1002d0c5
cmp dword [esi + 0x14], 0x10
jb 0x1002cf9a
mov esi, dword [esi]
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1002d0be
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1002d0be
mov eax, dword [ebp - 0x1c]
push 0x10110960
push 0x100
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
or esi, eax
call fcn.100c778a
mov edx, eax
mov dword [ebp - 0x24], edx
pop ecx
pop ecx
test edx, edx
je 0x1002d0be
push 0x40
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push ecx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.10014342
mov edx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.10016675
pop ecx
cmp dword [eax + 0x14], 8
jb 0x1002d02a
mov eax, dword [eax]
push eax
push esi
mov esi, dword [ebp - 0x24]
push str.StringFileInfo_08lx_s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x54]
call fcn.100145b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100143bd
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1002d0be
push ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.10014342
xor ebx, ebx
lea ecx, [ebp - 0x84]
inc ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.1001fbab
push ecx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.1001404f
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
call fcn.1000fedd
lea ecx, [ebp - 0x6c]
call fcn.10002013
lea ecx, [ebp - 0x84]
call fcn.100145b0
lea ecx, [ebp - 0x30]
call fcn.100143bd
push edi
call fcn.100c7482
pop ecx
mov al, bl
call fcn.100c7e24
ret
Function at 0x1002d374
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14
mov eax, 0x10109eb4
call fcn.100c7e42
xor esi, esi
mov edi, 0x1015f5cc
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
push 0x10
mov dword [ebp - 0x1c], edi
mov dword [0x1015f5cc], esi
mov dword [0x1015f5d0], esi
call fcn.100c742f
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0x1015f5cc], eax
lea eax, [ebp - 0xe]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 1
push eax
mov word [ebp - 0xe], 0x6130
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6231
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6332
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6433
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6534
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6635
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6736
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6837
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6938
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6a39
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
mov word [ebp - 0xe], 0x6b61
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6c62
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6d63
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6e64
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003069d
lea eax, [ebp - 0xe]
mov word [ebp - 0xe], 0x6f65
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.1003069d
lea ecx, [ebp - 0xe]
mov word [ebp - 0xe], 0x7066
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.1003069d
mov eax, edi
call fcn.100c7e10
ret
Function at 0x10031301
Capabilities:
Create process on windows

Disassembly:
push 0xd8
mov eax, 0x1010a9e8
call fcn.100c7e75
mov dword [ebp - 0x80], edx
mov esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x65], bl
call fcn.100c95b0
xor eax, eax
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [esi + 0x10], ebx
je 0x100314df
mov ecx, dword [ebp - 0x78]
xor edi, edi
mov esi, dword [ebp - 0x80]
xor eax, eax
inc edi
mov dword [ebp - 0x54], 0x44
push 5
cmp byte [ecx], al
pop edx
cmovne eax, edx
mov dword [ebp - 0x28], edi
xor edx, edx
mov word [ebp - 0x24], ax
cmp dword [esi + 0x10], edx
jne 0x10031379
mov esi, edx
jmp 0x100313f2
push ecx
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10014342
and dword [ebp - 4], 0
mov edx, esi
push ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x6c], edi
call fcn.10016675
mov esi, eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xcc]
push 3
pop edi
mov dword [ebp - 0x6c], edi
mov dword [esp], 0x10147924
call fcn.10014579
push esi
push eax
push dword [ebp - 0x74]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x6c], 7
call fcn.10031181
mov dword [ebp - 4], edi
lea esi, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
push 0x4f
cmovae esi, dword [ebp - 0x9c]
xor edx, edx
pop ebx
mov dword [ebp - 0x6c], ebx
mov edi, dword [ebp - 0x70]
cmp dword [edi + 0x10], edx
jne 0x100313fe
mov eax, edx
jmp 0x10031434
push ecx
push ecx
lea ecx, [ebp - 0x84]
call fcn.10014342
push ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xb4]
or ebx, 0x10
mov edx, edi
mov dword [ebp - 0x6c], ebx
call fcn.10016675
or ebx, 0x20
pop ecx
cmp dword [eax + 0x14], 8
jb 0x10031432
mov eax, dword [eax]
xor edx, edx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
neg eax
sbb al, al
inc al
mov dword [ebp - 0x70], eax
test bl, 0x20
je 0x10031466
lea ecx, [ebp - 0xb4]
and ebx, 0xffffffdf
call fcn.100145b0
test bl, 0x10
je 0x10031479
lea ecx, [ebp - 0x84]
and ebx, 0xffffffef
call fcn.100143bd
test bl, 8
je 0x1003148c
lea ecx, [ebp - 0x9c]
and ebx, 0xfffffff7
call fcn.100145b0
test bl, 4
je 0x1003149f
lea ecx, [ebp - 0xcc]
and ebx, 0xfffffffb
call fcn.100145b0
test bl, 2
je 0x100314b2
lea ecx, [ebp - 0xe4]
and ebx, 0xfffffffd
call fcn.100145b0
test bl, 1
je 0x100314bf
lea ecx, [ebp - 0x7c]
call fcn.100143bd
cmp byte [ebp - 0x70], 0
jne 0x100314dc
mov eax, dword [ebp - 0x74]
push dword [eax]
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x5c], 0
setne bl
jmp 0x100314df
mov bl, byte [ebp - 0x65]
cmp dword [ebp - 0x60], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100314f0
push dword [ebp - 0x60]
call esi
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x64], 0
je 0x100314ff
push dword [ebp - 0x64]
call esi
mov al, bl
call fcn.100c7e24
ret
Function at 0x100317a9
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x111c
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x111c], esi
cmp dword [ebx + 0x10], esi
je 0x10031904
push edi
mov edi, 0x1000
lea eax, [ebp - 0x1108]
push edi
push esi
push eax
call fcn.100c95b0
and dword [ebp - 0x110c], esi
lea eax, [ebp - 0x110c]
add esp, 0xc
push eax
push edi
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x10031903
mov esi, dword [ebp - 0x110c]
xor edi, edi
shr esi, 2
inc edi
cmp esi, edi
jbe 0x100318fd
cmp dword [ebp + edi*4 - 0x1108], 4
jbe 0x100318f4
push dword [ebp + edi*4 - 0x1108]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1118], eax
test eax, eax
je 0x100318f4
and dword [ebp - 0x1114], 0
lea ecx, [ebp - 0x1110]
and dword [ebp - 0x1110], 0
push ecx
push 4
lea ecx, [ebp - 0x1114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x100318e8
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100c95b0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [ebp - 0x1114]
push dword [ebp - 0x1118]
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x100318e8
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100318be
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.100cdeb1
pop ecx
pop ecx
test eax, eax
jne 0x100318e8
push eax
push dword [ebp - 0x1118]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100318e8
inc dword [ebp - 0x111c]
push dword [ebp - 0x1118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x10031823
mov esi, dword [ebp - 0x111c]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c7413
leave
ret
Function at 0x10031a82
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x1010aa87
call fcn.100c7e75
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
push ebx
xor eax, eax
mov dword [ebp - 0x24], ebx
push 0x80
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.100324cf
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x80
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x1c], 0x44
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x10031b56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10031b54
cmp dword [ebp - 0x1c], 0x44
ja 0x10031b59
mov eax, dword [ebp - 0x18]
cmp eax, 0x80
jbe 0x10031b2f
lea ecx, [ebp - 0x34]
cmp eax, dword [ebp - 0x24]
ja 0x10031b25
push eax
call fcn.1002d108
jmp 0x10031b2f
sub eax, dword [ebp - 0x24]
push ebx
push eax
call fcn.100323cf
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
setne bl
lea ecx, [ebp - 0x34]
call fcn.100145b0
mov al, bl
call fcn.100c7e24
ret 0xc

Function at 0x10031bcf
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10031c4d
push ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10031a82
test al, al
je 0x10031c4d
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10031b6b
push eax
mov ecx, ebx
call fcn.1003228f
lea ecx, [esp + 0xc]
call fcn.100145b0
and dword [esi], 0
push esi
call fcn.100319ed
test al, al
jne 0x10031c5d
and dword [esi], 0
mov ecx, dword [esp + 0x94]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c7413
mov esp, ebp
pop ebp
ret 8
Function at 0x10031c76
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x30
mov eax, 0x1010ab00
call fcn.100c7e75
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0xf0000000
push 1
push ebx
push ebx
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10031d98
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x8004
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10031d98
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x10031ccf
mov edi, dword [edi]
push ebx
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10031d98
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x1c]
push 4
pop ecx
push ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
call edi
test eax, eax
je 0x10031d98
mov dword [ebp - 0x34], ebx
push 0xf
mov dword [ebp - 0x24], ebx
pop ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, ebx
jbe 0x10031d48
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.100321fa
and dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x34]
call fcn.10011a7c
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x10031d8b
cmp dword [ebp - 0x14], 0x14
jne 0x10031d8b
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.10001c7a
lea ecx, [ebp - 0x34]
call fcn.10002013
jmp 0x10031da2
push 0
push 0x14
mov ecx, esi
call fcn.1001782c
jmp 0x10031d81
push ebx
push 0x14
mov ecx, esi
call fcn.1001782c
mov eax, esi
call fcn.100c7e24
ret 8
Function at 0x10031e3a
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x1010ab3c
call fcn.100c7e75
mov edi, dword [ebp + 0x10]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], edi
cmp dword [edi + 0x14], 0x10
jb 0x10031e59
mov eax, dword [edi]
xor ebx, ebx
mov dword [edi + 0x10], ebx
mov byte [eax], bl
mov dword [ebp - 0x28], ebx
or dword [ebp - 4], 0xffffffff
push ecx
push dword [ebp - 0x60]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.10032180
lea eax, [esi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], eax
mov eax, dword [eax]
test eax, eax
je 0x10031efd
add eax, eax
cmp dword [esi + 0x14], 8
jb 0x10031e9e
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.100019ae
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10031c76
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
jb 0x10031ed7
mov ecx, dword [ebp - 0x40]
add eax, ecx
jmp 0x10031edc
add eax, ecx
lea ecx, [ebp - 0x40]
sub eax, ecx
push eax
push ecx
push edx
call fcn.100c9030
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.10002013
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10002013
push 0x18
mov esi, ebx
pop ecx
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0xc]
cmovae edx, dword [ebp - 0x28]
sar eax, cl
sub ecx, 8
mov byte [edx + esi + 0x14], al
inc esi
cmp esi, 4
jb 0x10031f02
mov eax, dword [ebp - 0x5c]
cmp dword [eax], ebx
jne 0x10031f2c
cmp dword [ebp + 0xc], 0
je 0x10031f77
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
jb 0x10031f42
lea edx, [ecx + 0x18]
mov dword [ebp - 0x5c], ecx
mov eax, ecx
jmp 0x10031f4b
lea eax, [ebp - 0x28]
add edx, 0x18
mov dword [ebp - 0x5c], eax
test edx, edx
je 0x10031f7a
mov byte [edx], bl
test eax, eax
je 0x10031f77
mov edi, dword [ebp - 0x5c]
mov esi, ebx
movzx ecx, byte [esi + edi]
movzx eax, bl
xor ecx, eax
inc esi
mov bl, byte [ecx + 0x10146b40]
cmp esi, 0x18
jl 0x10031f5a
mov edi, dword [ebp - 0x60]
xor bl, 0x55
mov byte [edx], bl
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push ecx
push eax
call fcn.10031dac
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.10002013
mov al, bl
call fcn.100c7e24
ret 0xc
Function at 0x10037b5e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x84
mov eax, 0x1010ba4e
call fcn.100c7e75
mov eax, edx
mov dword [ebp - 0x20], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x10037d46
cmp dword [edi + 0x10], ebx
je 0x10037d46
cmp dword [eax + 0x10], ebx
je 0x10037d46
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x10037d46
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
push 0x1010f400
xor eax, eax
mov dword [ebp - 0x14], ecx
inc eax
mov dword [ebp - 0x18], ecx
push eax
push ecx
push 0x1010f420
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x10037d1a
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x1010f430
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x10037d1a
mov eax, dword [ebp - 0x14]
push ecx
push ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
call fcn.10014342
and dword [ebp - 4], ebx
mov edx, esi
push ecx
lea ecx, [ebp - 0x48]
call fcn.10016675
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10037c15
mov eax, dword [eax]
push eax
push dword [ebp - 0x14]
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.100145b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100143bd
test esi, esi
jne 0x10037d1a
mov eax, dword [ebp - 0x14]
push ecx
push ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
call fcn.10014342
mov edx, edi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.1000e6f0
push ecx
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.10016675
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10037c79
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.100145b0
lea ecx, [ebp - 0x60]
call fcn.10002013
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100143bd
test esi, esi
jne 0x10037d1a
mov eax, dword [ebp - 0x18]
push ecx
push ecx
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
call fcn.10014342
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 5
call fcn.1000e6f0
push ecx
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.10016675
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x10037ce6
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.100145b0
lea ecx, [ebp - 0x90]
call fcn.10002013
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100143bd
push 1
test esi, esi
movzx ebx, bl
pop eax
cmove ebx, eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10037d2b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10037d3c
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
and dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
jmp 0x10037d48
xor al, al
call fcn.100c7e24
ret
Function at 0x10037ec5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x250], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
jne 0x10037f05
xor al, al
jmp 0x10037f6d
lea eax, [esp + 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10037f60
cmp word [esp + 0x26c], 0
je 0x10037f51
lea eax, [esp + 0x26c]
mov ecx, 0x8b
mov dword [esp + 0x18], eax
lea esi, [esp + 0x248]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
call fcn.10037ddc
lea eax, [esp + 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10037f16
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c7413
mov esp, ebp
pop ebp
ret

Function at 0x10038030
Capabilities:
Enumerate processes

Disassembly:
push 0x288
mov eax, 0x1010bb0a
call fcn.100c7e75
mov edi, ecx
mov esi, dword [edi]
xor ebx, ebx
push dword [esi + 4]
push edi
call fcn.100202e8
push 0x228
lea eax, [ebp - 0x250]
mov dword [esi + 4], esi
push ebx
mov dword [esi], esi
mov dword [esi + 8], esi
push eax
mov dword [edi + 4], ebx
call fcn.100c95b0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x10038159
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10038148
cmp word [ebp - 0x230], 0
je 0x1003813a
push ecx
push ecx
lea ecx, [ebp - 0x25c]
call fcn.10014342
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10014579
push ecx
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1001404f
pop ecx
lea ecx, [ebp - 0x27c]
call fcn.100145b0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 4
call fcn.100143bd
cmp dword [ebp - 0x18], 0
je 0x1003812e
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x294]
call fcn.1002ceb3
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.10037f82
lea ecx, [ebp - 0x294]
call fcn.10002013
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002013
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1003809e
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.100c7e24
ret