joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008a0b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5a], 0x41
call fcn.10089cbd
push eax
push esi
push dword [ebp + 8]
call fcn.10089c72
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10089cbd
push eax
push esi
push dword [ebp + 8]
call fcn.10089c72
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10089cad
xor al, 0x69
add cl, ah
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], pe_nt_image_headers32
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10089cad
mov esi, 0x8df50910
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x10094e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], ecx
mov ebx, dword [eax + 4]
mov dword [eax + 4], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x10094e3c
call fcn.1007c020
cmp dword [esi + 4], ebx
je 0x10094e69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x10094e75
cmp edi, 2
jb 0x10094e60
mov dword [esi + 4], ebx
call fcn.1007c020
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
push dword [esi + 4]
call fcn.10084410
add esp, 4
mov dword [esi + 4], 0
jmp 0x10094e53

Function at 0x10094e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esi], ecx
xor ecx, ecx
mov dword [eax], ecx
mov ebx, dword [eax + 4]
mov dword [eax + 4], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x10094eb7
call fcn.1007c020
cmp dword [esi + 4], ebx
je 0x10094ee4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x10094ef0
cmp edi, 2
jb 0x10094edb
mov dword [esi + 4], ebx
call fcn.1007c020
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
push dword [esi + 4]
call fcn.10084410
add esp, 4
mov dword [esi + 4], 0
jmp 0x10094ece
Function at 0x100a26d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1015beb8]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100a26fb
mov ecx, 0x1015beb0
pop ebp
jmp fcn.10037ce0
push 0x1015beb8
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015beb8], 0xffffffff
jne 0x100a26f0
xor eax, eax
mov dword [0x1015beb4], eax
mov dword [0x1015beb0], eax
mov ecx, 0x1015beb0
push eax
call fcn.10037d80
push 0x1015beb8
call fcn.100c1d1d
add esp, 4
jmp 0x100a26f0
Function at 0x100a6890
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1015bf44]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100a68dd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, 0x1015bf40
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1015bf44
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015bf44], 0xffffffff
jne 0x100a68c3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.100c5370
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.100c1c01
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x1015bf74]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100a6986
mov ecx, esi
push ebx
push 0x1015bf50
push edi
call fcn.1004fbf0
mov dword [0x1015bf40], esi
push 0x1015bf44
call fcn.100c1d1d
add esp, 4
jmp 0x100a68c3
push 0x1015bf74
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015bf74], 0xffffffff
jne 0x100a6960
xorps xmm0, xmm0
movups xmmword [0x1015bf60], xmm0
movups xmmword [0x1015bf50], xmm0
mov dword [0x1015bf70], 0
push 0x1015bf50
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1015bf74
call fcn.100c1d1d
add esp, 4
jmp 0x100a6960
Function at 0x100a69e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1015bf44]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100a6a30
mov esi, dword [0x1015bf40]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1015bf44
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015bf44], 0xffffffff
jne 0x100a6a13
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.100c5370
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.100c1c01
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x1015bf74]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100a6ad9
mov ecx, esi
push ebx
push 0x1015bf50
push edi
call fcn.1004fbf0
mov dword [0x1015bf40], esi
push 0x1015bf44
call fcn.100c1d1d
add esp, 4
jmp 0x100a6a13
push 0x1015bf74
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015bf74], 0xffffffff
jne 0x100a6ab3
xorps xmm0, xmm0
movups xmmword [0x1015bf60], xmm0
movups xmmword [0x1015bf50], xmm0
mov dword [0x1015bf70], 0
push 0x1015bf50
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1015bf74
call fcn.100c1d1d
add esp, 4
jmp 0x100a6ab3
Function at 0x100a7550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp ebx, 0x30
ja 0x100a768d
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x30]
movdqa xmmword [eax], xmm0
movdqa xmmword [eax - 0x10], xmm0
movdqa xmmword [eax - 0x20], xmm0
mov ecx, dword [ecx + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea eax, [esi + 0xfc]
mov dword [esp + 0xc], eax
call dword [section..00cfg]
lea eax, [esp + 0x10]
push esi
push eax
push dword [esp + 0x14]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x14]
call ecx
add esp, 0xc
test ebx, ebx
je 0x100a762d
xor eax, eax
mov cl, byte [edi + eax]
xor byte [esp + eax + 0x10], cl
inc eax
cmp ebx, eax
jne 0x100a7621
lea edi, [esi + 0xf4]
mov eax, dword [0x1015bf88]
bt eax, 0x19
jae 0x100a7691
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.10003380
add esp, 0xc
mov ecx, section..text
mov eax, 0x10001b90
test edi, edi
je 0x100a7661
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x30]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movups xmmword [eax], xmm0
xor esi, esi
inc esi
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x100a7678
bt eax, 9
jae 0x100a76b3
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.10003ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x10003f50
jmp 0x100a765b
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.10115d50
add esp, 0xc
mov ecx, 0x10115c50
mov eax, 0x101164e0
jmp 0x100a765b
Function at 0x100b7800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1005fdf0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1005fca0
push 0x1015c130
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x100b787a
xor esi, esi
cmp dword [0x1015c134], 0
jne 0x100b7866
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x1015c138]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x100b7866
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100d5450
int3
Function at 0x100ba540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x100ba578
mov edx, dword [ebp + 0xc]
xor esi, esi
nop word cs:[eax + eax]
movzx edi, al
movzx ebx, byte [edx + esi]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x1013f574]
inc esi
cmp ecx, esi
jne 0x100ba560
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d5010
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1014a790]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100d5050
cmp byte [ebx], 0xa
jne 0x100d5050
or byte [eax + edi + 0x28], 4
jmp 0x100d5055
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100d5153
mov al, byte [edx]
cmp al, 0x1a
je 0x100d5135
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100d5084
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100d50a9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100d50b3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100d5066
jmp 0x100d5153
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100d5130
cmp dword [ebp - 0xc], 0
je 0x100d5130
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1014a790]
test byte [eax + edi + 0x28], 0x48
je 0x100d510a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100d50f5
mov byte [esi], dl
jmp 0x100d5106
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1014a790]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100d5153
cmp byte [ebp - 1], 0xa
jne 0x100d5119
cmp esi, ebx
jne 0x100d5119
mov byte [esi], 0xa
jmp 0x100d5152
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100df530
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100d5153
mov byte [esi], 0xd
jmp 0x100d5152
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1014a790]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100d514f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100d5153
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100d515c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x1014a790]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100d519f
cmp word [esi], dx
jne 0x100d519f
or byte [edi + eax + 0x28], 4
jmp 0x100d51a4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100d52dd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100d52bd
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100d51e6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100d521c
cmp eax, edx
jae 0x100d5228
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100d51be
jmp 0x100d52dd
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100d52b9
cmp dword [ebp - 0x14], 0
je 0x100d52b9
mov eax, dword [ebx*4 + 0x1014a790]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100d5291
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x100d52d7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1014a790]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x1014a790]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1014a790]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x100d52da
pop ebx
cmp word [ebp - 4], bx
jne 0x100d52a2
cmp esi, dword [ebp + 0xc]
jne 0x100d52a2
mov word [esi], bx
jmp 0x100d52da
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100df530
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100d52dd
push 0xd
jmp 0x100d52d6
mov ecx, dword [ebx*4 + 0x1014a790]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100d52d4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100d52dd
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100dcd16
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1012e5d8
push 0x1012e5d0
push 0x1012e5d8
push 0x1e
call fcn.100dd272
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100dcd4a
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x100dcd50
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100dcd94
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1012e5fc
push 0x1012e5f4
push 0x1012e5fc
push 0x20
call fcn.100dd272
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100dcdcb
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100e30a1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100e313e
push ebx
push esi
call fcn.100e318f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100e2fea
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100e30eb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e313d
push edi
push eax
call fcn.10039630
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100e310b
call fcn.100844c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e313c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100e2fea
add esp, 0x20
test eax, eax
jne 0x100e312a
push edi
call fcn.100844c0
jmp 0x100e3132
push ebx
call fcn.100844c0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100e3141
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e3152
pop esi
ret
push ebx
push edi
push esi
call fcn.100e318f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10039630
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e317a
push ebx
push esi
push edi
call fcn.100c4df0
add esp, 0xc
push 0
call fcn.100844c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100e31d1
Capabilities:
Set environment variable

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

Function at 0x100e5b60
Capabilities:
Read file on windows

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x10]
mov dword [edi], edx
push edi
call fcn.10067990
lea ecx, [esi + 0x60]
push ecx
push 0
push dword [edi]
push eax
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100f1e12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100f1e2b
mov byte [esi + 0x75], 1
lock inc dword [esi + 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100c2603
add esp, 8
pop esi
pop edi
pop ebp
ret
mov ecx, esi
push 0
call fcn.10012af0
jmp 0x100f1e1a
Function at 0x100fa120
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
lea ecx, [esi + 0x70]
mov dword [ecx - 4], esp
xor edi, edi
dec edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], 0x1002f0b0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor ecx, ecx
lea eax, [esi + 0x19]
mov dword [eax + 3], ecx
mov dword [eax - 1], 0x25
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
push dword [edx + 4]
push 1
push ecx
push eax
call fcn.10104ae0
add esp, 0x10
mov dword [esi + 8], esp
lea ebx, [esi + 0x20]
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov byte [ebx + 0xc], 0xff
sub esp, 0x1c
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.10079170
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0xd
lea eax, [esi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.10031240
add esp, 0x1c
mov esp, dword [esi + 8]
lea edi, [esi + eax]
add edi, 0x20
push dword [ebp + 0x10]
push edi
push ebx
call fcn.100f9e90
add esp, 0xc
mov dword [esi + 8], eax
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x30]
movdqu xmmword [ebx + 0x1e], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea ecx, [esi + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10078a50
lea eax, [esi + 0x70]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push edi
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.100fb0e0
add esp, 0x1c
mov ebx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
test eax, eax
jne 0x100fa25b
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x78], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x78], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.100faf60
add esp, 0x1c
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x100fa300
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
lea ecx, [esi + 0xb0]
mov dword [ecx - 4], esp
xor edi, edi
dec edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], 0x1002f0c0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor ecx, ecx
lea eax, [esi + 0x19]
mov dword [eax + 3], ecx
mov dword [eax - 1], 0x25
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push dword [edx + 4]
push 1
push ecx
push eax
call fcn.10104ae0
add esp, 0x10
mov dword [esi + 8], esp
lea ebx, [esi + 0x20]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
sub esp, 0x20
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.10079170
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0x18
lea eax, [esi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.10031240
add esp, 0x20
mov esp, dword [esi + 8]
lea edi, [esi + eax]
add edi, 0x20
push dword [ebp + 0x10]
push edi
push ebx
call fcn.100f9e90
add esp, 0xc
mov dword [esi + 8], eax
lea ebx, [esi + 0x40]
pcmpeqd xmm0, xmm0
movdqu xmmword [ebx + 0x4a], xmm0
movdqa xmmword [ebx + 0x40], xmm0
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea ecx, [esi + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10078a50
lea eax, [esi + 0xb0]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push edi
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.100fb0e0
add esp, 0x1c
mov ebx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
test eax, eax
jne 0x100fa45e
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb8], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [ebp + 0xc]
push edi
call fcn.100faf60
add esp, 0x1c
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c