joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004030
Capabilities:
Check if file exists

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [esp + 8]
call fcn.1000ca30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004056
push dword [esp + 0xc]
mov ecx, edi
push dword [esp + 0xc]
call fcn.10003d50
pop edi
ret 8

Function at 0x10004060
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
sub esp, 0x18
mov word [ebp - 0x17], 0x4143
mov edi, ecx
mov word [ebp - 0x14], 0x20
mov ecx, esp
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x18], 0x53
push ebx
call fcn.10009000
lea eax, [ebp - 0x6c]
push eax
call fcn.100069f0
add esp, 0x1c
mov esi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.10008f60
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.10007b70
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.10009460
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.10009460
push 0
push 0x80
push 3
push 0
push 1
mov eax, 0x3a
mov dword [ebp - 0x22], 0x4f0020
push 0x80000000
mov ecx, ebx
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1e], 0x4b
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004194
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x10004178
cmp dword [ebp + 8], 0
jne 0x10004178
lea ecx, [ebp - 0x3c]
call fcn.1000ca20
push eax
mov ecx, edi
call fcn.10004380
test al, al
je 0x1000418b
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.100043d0
push esi
mov byte [edi + 0x415c], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100041a7
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1000c640
push ebx
mov ecx, edi
call fcn.10004890
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100041a7
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1000c640
push ebx
mov ecx, edi
call fcn.10004890
lea ecx, [ebp - 0x3c]
call fcn.10009460
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100042f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0x2e373231
mov dword [esp + 0xd], 0x312e302e
mov byte [esp + 0xc], 0x30
mov byte [esp + 0x11], 0
push dword [edi + 0x78]
call dword [0x100740bc]
push 6
push 1
push 2
call dword [0x1007409c]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
mov word [esi], ax
lea eax, [esp + 8]
push eax
call dword [0x100740a4]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100740a8]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100740b0]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
add esp, 0xc
ret
Function at 0x10004db0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push edi
push eax
push 0x101
mov edi, ecx
call dword [0x100740ac]
push 6
push 1
push 2
call dword [0x1007409c]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x10004e66
push esi
mov eax, 2
mov dword [esp + 9], 0x474e49
lea esi, [edi + 0x40c0]
mov byte [esp + 8], 0x50
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
mov word [esp + 0x19], 0x302e
mov dword [esp + 0x14], 0x2e373231
mov word [esp + 0x1c], 0x31
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x1b], 0x2e
call dword [0x100740a4]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100740a8]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100740b0]
pop esi
cmp eax, 0xffffffff
jne 0x10004e76
push dword [edi + 0x78]
call dword [0x100740bc]
call dword [0x100740a0]
xor al, al
pop edi
add esp, 0x1a4
ret
lea eax, [esp + 4]
mov ecx, edi
push eax
call fcn.10004380
mov ecx, edi
call fcn.100043d0
mov al, 1
pop edi
add esp, 0x1a4
ret
Function at 0x100052e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x10043877
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x184]
mov edi, ecx
push 0
push eax
call fcn.10029f70
mov ebx, 0x61
mov dword [ebp + 0x1c], 0
add esp, 0xc
mov byte [edi + 0x414c], 0
mov eax, 0x79
mov dword [ebp + 0x4c], 0x740061
add edi, 0x414c
mov word [ebp + 0x64], ax
lea eax, [ebp + 0x48]
mov dword [ebp + 0x60], 0x6c0069
lea esi, [ebx + 0xb]
mov dword [ebp + 0x66], 0x63002e
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp + 0x5a], 0x64005c
mov dword [ebp + 0x6c], 0x64
mov dword [ebp + 0x48], 0x44005c
mov dword [ebp + 0x50], 0x620061
mov dword [ebp + 0x56], 0x650073
mov word [ebp + 0x5e], bx
mov word [ebp + 0x6a], si
mov word [ebp + 0x54], bx
call fcn.10009080
mov esi, eax
push 0x10073dc8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.10009080
push esi
push eax
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
call fcn.10007d30
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10009470
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.10009470
lea ecx, [ebp]
call fcn.1000ca30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000548b
mov word [ebp + 0x46], ax
lea ecx, [ebp - 0x84]
mov eax, 0x79
mov dword [ebp + 0x38], 0x6c0069
mov word [ebp + 0x3c], ax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp + 0x42], 0x640076
mov dword [ebp + 0x2e], 0x650073
mov dword [ebp + 0x28], 0x620061
mov dword [ebp + 0x20], 0x44005c
mov dword [ebp + 0x3e], 0x63002e
mov word [ebp + 0x2c], bx
mov dword [ebp + 0x24], 0x740061
mov dword [ebp + 0x32], 0x64005c
mov word [ebp + 0x36], bx
call fcn.10009080
mov esi, eax
push 0x10073dc8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.10009080
push esi
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
call fcn.10007d30
add esp, 0xc
lea ecx, [ebp]
push eax
call fcn.10009620
lea ecx, [ebp - 0x54]
call fcn.10009470
lea ecx, [ebp - 0x6c]
call fcn.10009470
lea ecx, [ebp - 0x84]
call fcn.10009470
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp]
call fcn.1000ca30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100054fd
push 0
lea eax, [ebp + 0x1c]
push eax
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x161]
push 0x10045450
push eax
call fcn.1002cf2d
add esp, 0xc
test eax, eax
je 0x100054fd
push 0xffffffffffffffff
push eax
push 0x10
push edi
call fcn.1002ce43
add esp, 0x10
lea ecx, [ebp]
call fcn.10009470
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x70]
pop ebp
ret
Function at 0x100056a0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x44
push 0
lea eax, [ebx + 0x40e0]
push eax
call fcn.10029f70
add esp, 0xc
mov ecx, 0x10073fc8
call fcn.1000d910
lea ecx, [ebx + 0x407c]
mov byte [ebx + 0x40dd], 0
mov byte [ebx + 0x40da], 0
mov byte [ebx + 0x29], 0
call fcn.1000cb00
lea ecx, [ebx + 0x4130]
mov dword [ebx + 0x40a4], 0
mov dword [ebx + 0x416c], 0
call fcn.1000cb10
lea ecx, [ebx + 0x413c]
call fcn.1000cb10
mov edi, dword [esp + 0x14]
xor esi, esi
mov ecx, edi
mov byte [ebx + 0x40dc], 1
call fcn.1000e8c0
test eax, eax
je 0x10005742
push esi
mov ecx, edi
call fcn.10009740
push eax
lea ecx, [ebx + 0x4130]
call fcn.1000de00
mov ecx, edi
inc esi
call fcn.1000e8c0
cmp esi, eax
jb 0x10005722
push 0
push 0
push ebx
push 0x10003280
push 0
push 0
call fcn.1002f915
add esp, 0x18
mov dword [ebx + 0x416c], eax
mov ecx, 0x10073fc8
call fcn.1000e930
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10005770
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x44
push 0
lea eax, [ebx + 0x40e0]
push eax
call fcn.10029f70
add esp, 0xc
mov ecx, 0x10073fc8
call fcn.1000d910
lea ecx, [ebx + 0x407c]
mov byte [ebx + 0x40dd], 0
mov byte [ebx + 0x40da], 0
mov byte [ebx + 0x29], 0
call fcn.1000cb00
lea ecx, [ebx + 0x4130]
mov dword [ebx + 0x40a4], 0
mov dword [ebx + 0x416c], 0
call fcn.1000cb10
lea ecx, [ebx + 0x413c]
call fcn.1000cb10
mov edi, dword [esp + 0x14]
xor esi, esi
mov ecx, edi
mov byte [ebx + 0x40dc], 1
call fcn.1000e8c0
test eax, eax
je 0x10005812
push esi
mov ecx, edi
call fcn.10009740
push eax
lea ecx, [ebx + 0x413c]
call fcn.1000de00
mov ecx, edi
inc esi
call fcn.1000e8c0
cmp esi, eax
jb 0x100057f2
mov ecx, edi
call fcn.1000e8c0
push 0
push 0
push ebx
push 0x10003280
push 0
push 0
mov dword [ebx + 0x40fc], eax
call fcn.1002f915
add esp, 0x18
mov dword [ebx + 0x416c], eax
mov ecx, 0x10073fc8
call fcn.1000e930
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10005e80
Capabilities:
Check if file exists
Check mutex on windows
Create thread

Disassembly:
sub esp, 0xc
cmp byte [0x10055c82], 0
push esi
mov esi, ecx
je 0x10005f34
mov eax, 0x64
mov dword [esp + 4], 0x700055
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push 0x5a0
mov dword [esp + 0x12], 0x6d0054
call fcn.10005f40
test eax, eax
je 0x10005f34
push 0x5a0
mov ecx, esi
call fcn.10006390
test eax, eax
je 0x10005f34
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x10005ef9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10005f34
cmp dword [0x10055c8c], 0
je 0x10005f19
mov eax, dword [0x10055c8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x10002960
push 0
push 0
call fcn.1002f915
add esp, 0x18
mov dword [0x10055c8c], eax
pop esi
add esp, 0xc
ret
Function at 0x10006390
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
mov eax, dword [ebp + 0x4178]
shl esi, 4
sub esi, dword [esp + 0x28]
push edi
lea edi, [ebp + 0x4178]
shl esi, 2
or eax, dword [edi + 4]
jne 0x100063f9
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
lea ecx, [ebp + 0x419c]
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100063f9
push 0
lea eax, [esp + 0x30]
push eax
push 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x18], ax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
movq qword [esp + 0x1e], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, dword [esp + 0x14]
xor eax, eax
or eax, dword [esp + 0x10]
and ebx, 0x7fffffff
mov ecx, eax
mov dword [esp + 0x2c], eax
sub ecx, dword [edi]
mov eax, ebx
push 0
sbb eax, dword [edi + 4]
push 0x989680
push eax
push ecx
call fcn.10012250
test edx, edx
jl 0x100064c5
jg 0x1000646a
cmp eax, esi
jbe 0x100064c5
mov eax, dword [esp + 0x2c]
lea ecx, [ebp + 0x419c]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov dword [edi], eax
mov dword [edi + 4], ebx
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov esi, eax
cmp esi, 0xffffffff
je 0x100064b6
push 0
lea eax, [esp + 0x30]
push eax
push 8
push edi
push esi
call dword [0x10074074]
push esi
call dword [0x10074078]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
Function at 0x100067a0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x66c
push ebx
push ebp
push esi
push 0x400
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.10029f70
mov ebx, dword [esp + 0x688]
mov eax, 0x25
mov word [esp + 0x24], ax
lea eax, [esp + 0x24]
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x290]
mov dword [esp + 0x3a], 0x2a
push 0x200
push eax
mov dword [esp + 0x3e], 0x2e002a
mov dword [esp + 0x3a], 0x5c0073
call fcn.1000e9a0
add esp, 0x20
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100068b5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x2c], 0x10
je 0x10006899
cmp word [esp + 0x58], 0x2e
je 0x10006899
cmp word [esp + 0x5a], 0x2e
je 0x10006899
xor eax, eax
mov dword [esp + 0x10], 0x730025
mov word [esp + 0x1a], ax
mov eax, 0x5c
mov word [esp + 0x14], ax
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x1e], 0x730025
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x28c]
push 0x200
push eax
call fcn.1000e9a0
lea eax, [esp + 0x294]
push eax
call fcn.10006630
add esp, 0x1c
lea eax, [esp + 0x27c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
push esi
call dword [0x10074064]
test eax, eax
jne 0x10006828
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret

Function at 0x10006ed0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov byte [0x10055c80], 0
nop dword [eax]
inc esi
cmp esi, 0x1e
jg 0x10006f14
push edi
push 0x10006e70
call ebx
cmp byte [0x10055c80], 0
jne 0x10006f14
push 0x64
call ebp
cmp byte [0x10055c80], 0
je 0x10006ef0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10007330
Capabilities:
Create directory

Disassembly:
sub esp, 0x38
push esi
mov esi, dword [esp + 0x40]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000734a
pop esi
add esp, 0x38
ret
push edi
push 0
push 0x2000000
push 3
push 0
push 0
push 0x60000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10007373
pop edi
xor eax, eax
pop esi
add esp, 0x38
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x221
push 0x20
push 2
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
mov word [esp + 0x48], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
movq qword [esp + 0x3c], xmm0
push eax
movups xmmword [esp + 0x30], xmm0
push 1
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x10000000
mov dword [esp + 0x38], 3
mov dword [esp + 0x48], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10007450
push 0
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x14]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x38
ret

Function at 0x10007490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100439d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.100090b0
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100074f1
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000750d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
lea ecx, [ebp - 0x24]
call fcn.10009470
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100096f0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1000de00
lea eax, [ebp - 0x250]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10007511
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
pop edi
jmp 0x100074f3
Function at 0x1000b000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000b013
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000b056
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000b052
nop dword [eax + eax]
cmp esi, edx
jae 0x1000b056
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000b040
cmp esi, edx
jb 0x1000b05a
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x1000ecc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push esi
xor eax, eax
mov dword [esp + 0x26], 0x6c006c
xor esi, esi
mov word [esp + 0x2a], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x22], 0x64002e
push eax
mov dword [esp + 0x20], 0x6c0064
lea ecx, [esi + 0x6c]
mov dword [esp + 0x1c], 0x74006e
mov word [esp + 0x24], cx
mov dword [esp + 8], 0x6554744e
mov dword [esp + 0xc], 0x6e696d72
mov dword [esp + 0x12], 0x6f725065
mov word [esp + 0x19], 0x73
mov word [esp + 0x16], 0x6563
mov word [esp + 0x10], 0x7461
mov byte [esp + 0x18], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000ed5c
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10074038], eax
test eax, eax
je 0x1000ed5c
push esi
push dword [esp + 0x34]
call eax
test eax, eax
mov ecx, 1
cmove esi, ecx
mov eax, esi
pop esi
add esp, 0x28
ret

Function at 0x1000eef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043b6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 0
push edi
push 2
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ef77
lea eax, [ebp - 0x238]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000ef70
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp + 8]
call fcn.1000fb70
test eax, eax
je 0x1000ef6b
lea eax, [ebp - 0x238]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1000ef44
jmp 0x1000ef70
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.10009410
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000f970
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043c5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
mov eax, 0x6f
mov dword [ebp - 0x2a], 0x650072
push esi
mov word [ebp - 0x2c], ax
mov ecx, 0x72
xor eax, eax
mov dword [ebp - 0x24], 0x65002e
push edi
mov dword [ebp - 0x34], 0x780065
mov dword [ebp - 0x20], 0x650078
mov dword [ebp - 0x30], 0x6c0070
mov word [ebp - 0x26], cx
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
xor edi, edi
mov dword [ebp - 0x260], 0x22c
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000faa8
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000faa1
nop dword [eax]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10008ce0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1000fb70
test eax, eax
jne 0x1000fa76
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x1000fa76
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1000fa99
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10009410
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1000fa20
jmp 0x1000faa1
lea ecx, [ebp - 0x10]
call fcn.10009410
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100139ea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10037ae4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100377a4
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x407050], 1
mov dword [0x407054], 1
mov dword [0x407058], 1
mov dword [0x407044], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret