joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret

Function at 0x4668e3
Capabilities:
Encode data using xor

Disassembly:
ret
lea ecx, [ebx + 7]
push 0xffffffffffffffff
push dword [ecx + 0x35]
inc edi
dec al
lea esi, [ecx - 7]
pop edx
add ecx, dword [edx + ebx + 0x78]
xchg edi, eax
add esi, dword [ecx + 0x19]
jmp 0x4669c9
pop edx
not edi
nop
inc edi
inc edx
lodsd eax, dword [esi]
lea ebx, [ebx]
cmp dword [ecx + 0x11], edx
mov esi, esi
lea edi, [eax + ebx + 5]
je 0x46682a
add eax, esi
sub eax, esi
xor eax, eax
nop
imul eax, eax, 0xf
push eax
lea eax, [eax]
movzx eax, byte [edi - 5]
nop
xor cl, ah
xor cl, ah
mov ch, ch
nop
or bh, bh
add ah, 0
nop
mov ebp, ebp
neg eax
cmp dh, 0xd2
add dword [esp], eax
sub edi, 0xfffffff1
lea edi, [edi - 0xe]
cmp byte [edi - 5], 0xa
pop eax
ja 0x4669e8
wait
xor dl, 0
mov edi, edi
nop
clc
mov eax, 0xf0e958d9
xor dword [esp - 4], eax
mov eax, dword [esp + 4]
xor dword [esp - 4], eax
jne 0x4669ce
nop
mov edx, edx
nop
cld
sub ecx, 0xffffffed
add al, bl
add esp, 8
lea eax, [ebp - 0x11]
sbb eax, 0xe6b0867
push dword [ecx + 2]
test ah, bl
mov eax, 0xc9fa269d
pop edi
not eax
adc eax, eax
add edi, ebx
add edx, edx
nop
cmp al, cl
inc eax
dec al
mov esi, dword [ecx + 0xa]
add edx, ebx
mov ax, word [edx + esi]
cwde
mov edx, 0x6d9efa3e
lea ecx, [ecx + edi*4 + 0x19]
push dword [edi + eax*4]
add dword [esp], ebx
dec ecx
pop esi
mov eax, dword [esp - 8]
jmp eax
Function at 0x1002b02c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x24], 0
je 0x1002b074
push ebx
push edi
push esi
sub esp, 8
movsd xmm0, qword [0x100b7230]
movsd qword [esp], xmm0
xor eax, eax
xor esi, esi
xor edx, edx
xor edi, edi
mov ebx, eax
and ebx, 7
mov bl, byte [esp + ebx]
xor byte [ecx + eax], bl
add edx, 1
adc edi, 0
cmp eax, 0x23
sbb esi, 0
mov eax, edx
mov esi, edi
jb 0x1002b04d
mov byte [ecx + 0x24], 0
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x1002b076
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x18], 0
je 0x1002b0be
push ebx
push edi
push esi
sub esp, 8
movsd xmm0, qword [0x100b7240]
movsd qword [esp], xmm0
xor eax, eax
xor esi, esi
xor edx, edx
xor edi, edi
mov ebx, eax
and ebx, 7
mov bl, byte [esp + ebx]
xor byte [ecx + eax], bl
add edx, 1
adc edi, 0
cmp eax, 0x17
sbb esi, 0
mov eax, edx
mov esi, edi
jb 0x1002b097
mov byte [ecx + 0x18], 0
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x1002b0c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x2e], 0
je 0x1002b108
push ebx
push edi
push esi
sub esp, 8
movsd xmm0, qword [0x100b7250]
movsd qword [esp], xmm0
xor eax, eax
xor esi, esi
xor edx, edx
xor edi, edi
mov ebx, eax
and ebx, 7
mov bl, byte [esp + ebx]
xor byte [ecx + eax], bl
add edx, 1
adc edi, 0
cmp eax, 0x2d
sbb esi, 0
mov eax, edx
mov esi, edi
jb 0x1002b0e1
mov byte [ecx + 0x2e], 0
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x1007ddc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0x100bc45c
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
test edi, edi
je 0x1007ddfe
mov dword [edi], 0
call fcn.10084030
mov dword [edi + 4], eax
mov dword [esp], 0
call fcn.10084030
mov dword [esp + 4], eax
mov edi, esp
lea eax, [esp + 0x80]
lea ecx, [esp + 8]
push edi
push eax
push esi
push ecx
call fcn.1007d560
add esp, 0x10
movzx eax, byte [esp + 8]
cmp eax, 2
je 0x1007de41
test eax, eax
jne 0x1007de4b
lea ecx, [esp + 0x10]
push edi
call fcn.1007dfe0
jmp 0x1007de6a
test byte [ebx], 1
je 0x1007de6c
mov eax, dword [ebx + 8]
jmp 0x1007de6f
mov dword [esp + 0x30], 0x14
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push 0x100bc46d
push eax
push ecx
call fcn.1007ebb0
add esp, 0xc
jmp 0x1007de80
lea eax, [ebx + 2]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
je 0x1007de88
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], esi
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x11
jne 0x1007df04
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
call fcn.10083e90
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x28], 0
call fcn.10084030
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x20]
push eax
push ecx
push ebx
push edx
call fcn.1007d560
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
cmp al, 2
jne 0x1007df27
xor eax, eax
jmp 0x1007de80
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
call fcn.10083e90
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
jmp 0x1007de3a
jmp 0x1007de35
Function at 0x1007e240
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov ebx, edi
sar ebx, 0x1f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
mov esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x1007e2be
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
sub esp, 4
test eax, eax
je 0x1007e2be
mov esi, dword [ebp + 0x10]
mov dword [esi], 0
call fcn.10084030
mov dword [esi + 4], eax
xor eax, eax
jmp 0x1007e2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
call fcn.1007b250
mov esi, eax
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov dword [eax], esi
call edi
mov esi, dword [eax]
call fcn.10083e90
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1007eab0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], 0x100bc45c
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x1007eaef
mov dword [esi], 0
call fcn.10084030
mov dword [esi + 4], eax
test byte [edi], 1
je 0x1007eaf9
mov eax, dword [edi + 8]
jmp 0x1007eafc
lea eax, [edi + 2]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x1007eba2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov esi, eax
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov dword [eax], esi
call ebx
cmp dword [eax], 0x11
jne 0x1007eb79
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
call fcn.10083e90
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp], 0
call fcn.10084030
mov dword [esp + 4], eax
mov eax, esp
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push eax
push ecx
push edi
push edx
call fcn.1007d560
add esp, 0x10
cmp byte [esp + 0x20], 2
jne 0x1007eb94
xor eax, eax
jmp 0x1007eba2
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
call fcn.10083e90
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
lea eax, [esp + 0x28]
jmp 0x1007eb98
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.1007dfe0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1007ed00
Capabilities:
Get common file path

Disassembly:
push ebx
push edi
push esi
push 0x21c
call sub.msvcrt.dll_malloc
add esp, 4
mov edi, eax
push eax
push 0x10e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x10f
jb 0x1007ed55
mov ebx, eax
add eax, eax
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov esi, eax
test edi, edi
je 0x1007ed43
push edi
call fcn.100b5988
add esp, 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1007ed5b
mov eax, esi
pop esi
pop edi
pop ebx
ret
mov esi, edi
test eax, eax
jne 0x1007ed4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov edi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], edi
xor eax, eax
test esi, esi
je 0x1007ed51
push esi
call fcn.100b5988
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x1007fa10
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007faef
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
test cl, 1
jne 0x1007fb08
mov ecx, eax
and ecx, 0x400
je 0x1007fb08
sub esp, 0x1c
movaps xmm0, xmmword [0x100bc3e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
je 0x1007fb2b
mov esi, eax
lea eax, [esp + 8]
push 0x28
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x1007fac8
mov eax, dword [esp + 0x28]
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
test bl, 0x92
sete cl
or ecx, edx
mov dword [esp + 0x28], ecx
xor edi, edi
cmp ecx, eax
je 0x1007fae6
push 0x28
lea eax, [esp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
jne 0x1007fae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov edi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], edi
mov edi, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007fb49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
jmp 0x1007fb42
mov edx, eax
and edx, 0xfffffffe
xor ecx, ecx
test bl, 0x92
sete cl
or ecx, edx
xor edi, edi
cmp ecx, eax
je 0x1007fb49
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1007fb49
jmp 0x1007faef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1007b250
add esp, 4
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], esi
mov edi, 0xffffffff
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100801a0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x100bc410]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x10080258
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x24], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
sub esp, 0x14
test eax, eax
je 0x1008022d
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
sub esp, 4
xor edi, edi
test eax, eax
jne 0x1008024a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
call fcn.1007b250
mov edi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], edi
mov edi, 0xffffffff
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x10080275
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
call fcn.1007b250
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], esi
mov edi, 0xffffffff
mov eax, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10082fe0
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.1008b250
test al, al
je 0x10083027
mov esi, dword [fcn.1008b180]
push 2
call esi
add esp, 4
push ebp
push ebx
push edi
push str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0x__n
push eax
call fcn.10082600
add esp, 0x14
push 2
call esi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.1008b340
Function at 0x1008ac60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x1008ac71
jmp dword [eax*4 + 0x100bdbe8]
cmp dword [0x100cef34], 0
je 0x1008ad80
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x100cef50]
test edi, edi
je 0x1008ad75
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1008acbb
mov edi, dword [edi + 8]
test edi, edi
je 0x1008ad75
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x1008acb0
test esi, esi
je 0x1008acb0
mov ecx, dword [edi + 4]
call dword [0x100c3964]
push esi
call ecx
add esp, 4
jmp 0x1008acb0
call fcn.100b1f30
jmp case.default.0x1008ac71
cmp dword [0x100cef34], 0
je case.default.0x1008ac71
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x100cef50]
test edi, edi
je 0x1008ad68
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1008ad27
mov edi, dword [edi + 8]
test edi, edi
je 0x1008ad68
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x1008ad20
test esi, esi
je 0x1008ad20
mov ecx, dword [edi + 4]
call dword [0x100c3964]
push esi
call ecx
add esp, 4
jmp 0x1008ad20
cmp dword [0x100cef34], 0
jne 0x1008ad5c
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x100cef34], 1
jmp case.default.0x1008ac71
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x1008ac71
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x100cef34]
cmp eax, 1
jne case.default.0x1008ac71
mov eax, dword [0x100cef50]
test eax, eax
je 0x1008adb2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.100b5988
add esp, 4
mov eax, esi
test esi, esi
jne 0x1008ada0
mov dword [0x100cef50], 0
mov dword [0x100cef34], 0
push 0x100cef38
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1008aee0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x100bc968]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x1008af46
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x1008af46
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x1008af46
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x1008af46
mov edx, dword [esp + 0xc]
sub edx, dword [0x100bc968]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x1008af36
add esi, 0x28
dec ecx
je 0x1008af46
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x1008af30
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x1008af30
mov eax, esi
pop esi
pop edi
ret

Function at 0x1008b188
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [sym.imp.msvcrt.dll__iob]
shl eax, 5
add eax, dword [ecx]
ret
Function at 0x1008b190
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp byte [0x100d01ef], 1
jne 0x1008b1af
cmp byte [0x100d01ee], 0
jne 0x1008b1ce
jmp 0x1008b1fb
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x100d01ef], 1
test eax, eax
setne byte [0x100d01ee]
je 0x1008b1fb
mov ebx, dword [fcn.1008b180]
push 2
call ebx
add esp, 4
push edi
push esi
push str.libunwind:___unw_init_local_cursor_p__context_p__n
push eax
call fcn.10083670
add esp, 0x10
push 2
call ebx
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
mov dword [esi], 0x100bdf44
mov dword [esi + 4], 0x100cffc8
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esi + 8], xmm0
movups xmmword [esi + 0x18], xmm1
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x58], xmm0
movups xmmword [esi + 0x62], xmm0
mov ecx, esi
push 0
call fcn.1008c610
xor eax, eax
pop esi
pop edi
pop ebx
ret

Function at 0x1008b250
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x100d01ef], 1
jne 0x1008b264
cmp byte [0x100d01ee], 0
setne al
ret
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
test eax, eax
setne al
setne byte [0x100d01ee]
mov byte [0x100d01ef], 1
ret

Function at 0x1008b290
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x100d01ef], 1
jne 0x1008b2b4
cmp byte [0x100d01ee], 0
jne 0x1008b2d3
jmp 0x1008b301
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x100d01ef], 1
test eax, eax
setne byte [0x100d01ee]
je 0x1008b301
mov edi, dword [fcn.1008b180]
push 2
call edi
add esp, 4
push ebx
push ebp
push esi
push str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
push eax
call fcn.10083670
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push ebp
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x1008b334
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push ebp
call edi
mov dword [ebx], eax
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1008b340
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp byte [0x100d01ef], 1
jne 0x1008b367
cmp byte [0x100d01ee], 0
jne 0x1008b386
jmp 0x1008b3b4
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x100d01ef], 1
test eax, eax
setne byte [0x100d01ee]
je 0x1008b3b4
mov edi, dword [fcn.1008b180]
push 2
call edi
add esp, 4
push ebp
push ebx
push esi
push str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_x__n
push eax
call fcn.10083670
add esp, 0x14
push 2
call edi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push ebx
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x1008b448
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push ebp
push ebx
call edi
xor eax, eax
cmp ebx, 0xffffffff
jne 0x1008b448
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x100c3964]
mov eax, esp
mov ecx, esi
push eax
call edi
mov eax, dword [esi]
mov edi, dword [eax + 0x34]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push 0
call edi
cmp dword [esp + 0x10], 0
je 0x1008b446
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push 0xfffffffffffffffe
call edi
mov edi, eax
add edi, dword [esp + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [0x100c3964]
mov ecx, esi
push edi
push 0xfffffffffffffffe
call ebx
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1008b5e0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x100d01ef], 1
jne 0x1008b5fa
cmp byte [0x100d01ee], 0
jne 0x1008b619
jmp 0x1008b645
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x100d01ef], 1
test eax, eax
setne byte [0x100d01ee]
je 0x1008b645
mov edi, dword [fcn.1008b180]
push 2
call edi
add esp, 4
push esi
push str.libunwind:___unw_step_cursor_p__n
push eax
call fcn.10083670
add esp, 0xc
push 2
call edi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push 0
call edi
pop esi
pop edi
ret

Function at 0x1008b660
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x100d01ef], 1
jne 0x1008b67a
cmp byte [0x100d01ee], 0
jne 0x1008b699
jmp 0x1008b6c5
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x100d01ef], 1
test eax, eax
setne byte [0x100d01ee]
je 0x1008b6c5
mov edi, dword [fcn.1008b180]
push 2
call edi
add esp, 4
push esi
push str.libunwind:___unw_step_stage2_cursor_p__n
push eax
call fcn.10083670
add esp, 0xc
push 2
call edi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x100c3964]
mov ecx, esi
push 1
call edi
pop esi
pop edi
ret