joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor dl, dl
mov dword [ebp - 4], ecx
test eax, eax
je 0x1000901d
test eax, 0xffff0000
jne 0x1000901d
push ebx
push edi
movzx edi, ax
push edi
call fcn.10011dd5
mov ebx, eax
test ebx, ebx
je 0x10009019
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10009019
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10009019
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10009018
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x10008fb5
cmp esi, ecx
jae 0x10009018
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x10008fa3
cmp esi, ecx
jae 0x10009018
movzx eax, word [esi]
test ax, ax
je 0x10009018
mov ebx, dword [ebp - 4]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x10008feb
push edi
mov ecx, ebx
call fcn.10007680
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x10008fee
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.10158e8e
push eax
call fcn.10008e90
mov eax, dword [ebx]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x10009025
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
pop esi
pop edi
mov dl, 1
pop ebx
mov al, dl
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10007550
int3
Function at 0x1001b6c4
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x1001b717
push esi
push dword [ebp + 8]
call fcn.1001b8ad
mov edi, eax
test edi, edi
je 0x1001b712
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001b712
mov eax, dword [ebp - 8]
jmp 0x1001b729
mov eax, dword [ebp + 0x10]
jmp 0x1001b729
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x10020a7f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.10020f64
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.10020c98
cmp esi, 3
je 0x10020abd
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x10020b06
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10020ae0
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10011e47
jmp 0x10020af1
push 0xff
mov ecx, esi
call fcn.100116da
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10011e6a
jmp 0x10020b2a
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10020b2a
push dword [esi]
push dword [ebp - 4]
call fcn.1001cef1
pop edi
pop esi
leave
ret 0xc

Function at 0x10020bef
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10020c98
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10020c37
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10011e47
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10011e6a
jmp 0x10020c42
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1001cef1
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1002101e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1016dc3b
call fcn.10148f73
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x10021044
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100210a4
call fcn.10012257
push eax
lea ecx, [ebp - 0x10]
call fcn.10011068
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x1017b968]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10159031
push eax
call fcn.10008e90
add esp, 0x14
test esi, esi
je 0x10021097
push esi
call fcn.101591c2
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10011768
mov eax, ebx
call fcn.10148f3c
ret 8

Function at 0x10023be5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x10023c2a
call fcn.10015997
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10023c2a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10023c46
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1002b538
mov ebx, eax
test edi, edi
je 0x10023c44
test esi, esi
je 0x10023c44
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10024645
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10024703
cmp dword [esi + 0x20], 0
je 0x10024703
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10024703
cmp dword [ebp + 8], 0
je 0x10024703
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.10015997
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100246d4
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10024703
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1002c0c0
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x100246f4
test edi, edi
je 0x100246f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x100246ff
mov ecx, esi
call fcn.100243e7
mov eax, ebx
jmp 0x10024705
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1002c7ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1002c819
cmp dword [ebx + 0x80], 0
jne 0x1002c819
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.10015997
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1002caaf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002c853
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10015997
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1002c88a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1002c8a9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1002e9eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x1002ea41
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1002ea1a
call fcn.10019088
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1002ea2f
call fcn.10019088
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1002ea41
call fcn.10019088
call fcn.10015997
cmp dword [eax + 0x3c], 0
je 0x1002ea56
push edi
mov ecx, ebx
call fcn.1002e11b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1002ec28
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1002ea7f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1002ea8b
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10051382
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x1005139c
call fcn.10015997
mov esi, dword [eax + 0xc]
push 0x1018983c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x100513f2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100513f2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100513d1
xor esi, esi
jmp 0x100513e7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.100513fb
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x100513f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100df754
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100df78f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100df776
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100df787
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100df791
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100df76c
xor eax, eax
pop edi
pop esi
ret

Function at 0x100dfa09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100df714
mov al, byte [0x8dc98b48]
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x100dfdd3
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100dfdeb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100dfe09
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]

Function at 0x100dfe15
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
invalid
mov ch, 0x54
invalid
invalid
Function at 0x100dfff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
invalid
invalid

Function at 0x100e061c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100df6f2
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100df724
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100df6d9
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100df714
neg ebx
cmpsb byte [esi], byte es:[edi]
mov byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x100e160b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0xb2
mov byte [ebp - 0x7d7], 0x8b
mov byte [ebp - 0x7d6], 0x9c
mov byte [ebp - 0x7d5], 0x9c
mov byte [ebp - 0x7d4], 0x81
mov byte [ebp - 0x7d3], 0x9c
mov byte [ebp - 0x7d2], 0xc0
mov byte [ebp - 0x7d1], 0x82
mov byte [ebp - 0x7d0], 0x81
mov byte [ebp - 0x7cf], 0x89
mov byte [ebp - 0x7ce], 0xee
push 0xb
lea eax, [ebp - 0x7dc]
push eax
call fcn.100df724
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.100df685
add esp, 0xc
jmp 0x100e168c
Function at 0x100e6736
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x1017674a
call fcn.10148fa7
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10009030
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x101818c4
call fcn.10013f3a
cmp eax, 0xffffffff
jne 0x100e6810
push 0
push 0x101897f8
lea ecx, [ebp - 0x4d0]
call fcn.10013f3a
cmp eax, 0xffffffff
jne 0x100e6810
push 0
push 0x1017ee04
lea ecx, [ebp - 0x4d0]
call fcn.10013f3a
cmp eax, 0xffffffff
jne 0x100e6810
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10009030
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x100e67df
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x1017b968]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.10011768
jmp 0x100e6849
lea eax, [ebp - 0x218]
push eax
call fcn.101591c2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.10007720
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.10011768
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x100e6836
mov edi, dword [ebp - 0x4cc]
jmp 0x100e6849
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x1017b968]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.10011768
mov eax, edi
call fcn.10148f51
ret

Function at 0x101002c6
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1015db60
pop ecx
test eax, eax
jne 0x10100308
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10016177
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101002ce
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x10161572
Capabilities:
Read file on windows

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

Function at 0x1016157d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101613a3
Function at 0x10120d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1012130
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1012121
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x101211d
cmp esi, eax
jae 0x1012121
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x101210f
cmp esi, eax
jb 0x1012125
xor eax, eax
jmp 0x101212f
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1015a59
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
cmp eax, 0xffffffff
je 0x1015a6e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 0xffffffffffffffff
push 0x1009680
push 2
call fcn.01018b0b
add esp, 0xc
ret

Function at 0x1015ab1
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102a300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1015b15
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1015b15
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.0101a8ec
leave
ret
Function at 0x10170fa
Capabilities:
Query environment variable

Disassembly:
push 0x214
mov eax, 0x1026bfb
call fcn.0101a973
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0x1009f58
push esi
mov dword [ebp - 0x21c], eax
call fcn.01016a9b
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x101713f
push 0x100a778
push 1
call fcn.01018b0b
pop ecx
pop ecx
xor al, al
call fcn.0101a9c7
ret 8
push ebx
mov ecx, esi
call fcn.01016a60
mov ecx, dword [eax]
push 6
push 0x2c
call fcn.01016d4a
push ebx
mov ecx, esi
mov edi, eax
call fcn.01016a60
test edi, edi
jge 0x1017175
mov eax, dword [eax]
push dword [eax]
push 0x100a690
push 1
call fcn.01018b0b
add esp, 0xc
jmp 0x1017135
add edi, 0xfffffffa
push edi
push 6
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [eax]
call fcn.01017002
mov esi, dword [ebp - 0x220]
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10171d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100a598
push 1
call fcn.01018b0b
add esp, 0xc
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.0100fba0
mov al, bl
jmp 0x1017137
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call fcn.0101b784
test eax, eax
pop ecx
pop ecx
jne 0x10171ed
mov bl, 1
jmp 0x10171c2
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push 0x100a470
push 1
call fcn.01018b0b
add esp, 0x10
jmp 0x10171c0
Function at 0x1017403
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x1ac
mov eax, 0x1026cd1
call fcn.0101a973
push dword [ebp + 8]
xor ebx, ebx
push 0x100ad20
push ebx
mov dword [ebp - 0x164], ecx
call fcn.01018b0b
mov edi, 0x11c
push edi
lea eax, [ebp - 0x158]
push ebx
push eax
call fcn.0101a9e0
add esp, 0x18
xor esi, esi
inc esi
push esi
push 2
push ebx
mov dword [ebp - 0x158], edi
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push ebx
mov dword [ebp - 0x154], 5
mov dword [ebp - 0x150], esi
call edi
push esi
push esi
push edx
push eax
call edi
push edx
push eax
push 3
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x10174f3
cmp dword [ebp + 8], 0x80070094
jne 0x10174f3
mov edi, dword [ebp - 0x164]
cmp byte [edi + 0xc], bl
jne 0x10174f3
push 0x100aca8
push ebx
call fcn.01018b0b
mov byte [edi + 0xc], 1
xor eax, eax
lea edi, [ebp - 0x174]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [ebp - 0x1b8]
push ebx
push eax
call fcn.0101a9e0
push 0x208
mov dword [ebp - 0x1b8], edi
call fcn.01019bef
add esp, 0x18
mov edi, eax
push edi
push ebx
push ebx
push 0x24
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x10174fd
push eax
push 0x100abf8
push esi
call fcn.01018b0b
add esp, 0xc
xor al, al
call fcn.0101a9c7
ret 4
push edi
lea ecx, [ebp - 0x15c]
call fcn.01012c69
push 0x100abc4
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
push eax
mov dword [ebp - 4], ebx
call fcn.01017210
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 1
call fcn.01015680
mov ecx, dword [ebp - 0x160]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0100fba0
push 0xb
pop ecx
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x1b8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x15c]
mov esi, 0x100ab98
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x101759b
push 0x100ab28
push 1
call fcn.01018b0b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x15c]
add ecx, 0xfffffff0
call fcn.0100fba0
jmp 0x10174f3
push 0x1d4c0
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10175df
push 0x100aaa8
push 1
call fcn.01018b0b
pop ecx
pop ecx
push dword [ebp - 0x170]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x15c]
add ecx, 0xfffffff0
call fcn.0100fba0
mov al, bl
jmp 0x10174f5
mov bl, 1
jmp 0x10175be