joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d0ef
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp dword [ebx + 0x50], 0xffffffff
push edi
setne al
movzx eax, al
push eax
push 0x10055d4
push esi
push esi
push esi
push 0x10054f8
push dword [0x102e5ac]
mov dword [ebp - 4], esi
push 4
call fcn.0102c428
mov dword [ebp - 0x18], esi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
push 1
push esi
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 8], eax
mov edi, 0x80070000
cmp eax, esi
jne 0x101d161
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101d15a
and eax, 0xffff
or eax, edi
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x101d1ba
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 0x50]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x101d1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x101d1ac
push 1
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x50]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x101d1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101d1b7
and eax, 0xffff
or eax, edi
mov dword [ebp - 4], eax
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x101d1cb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret 0x14

Function at 0x101d970
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1005c24
mov dword [esi], edi
push dword [ecx + 0x1c]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101d9ca
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x1005bd0
push dword [ebp - 4]
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101d9ca
cmp dword [ebp - 8], edi
setne al
mov dword [esi], eax
cmp dword [ebp - 4], edi
pop edi
pop esi
je 0x101d9da
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 4
Function at 0x101dccf
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [ebp + 8], 2
push ebx
push esi
push edi
jne 0x101dd09
xor ebx, ebx
cmp dword [ebp + 0xc], 1
jne 0x101dcf3
mov esi, dword [ecx + 0x78]
mov edi, dword [ecx + 0x7c]
mov dword [ecx + 0x78], ebx
mov dword [ecx + 0x7c], ebx
jmp 0x101dd29
lea eax, [ecx + 0x80]
mov esi, dword [eax]
and dword [eax], ebx
lea edx, [ecx + 0x84]
mov edi, dword [edx]
and dword [edx], ebx
jmp 0x101dd29
xor eax, eax
cmp byte [ebp + 8], al
jne 0x101dd3a
lea eax, [ecx + 0x88]
mov esi, dword [eax]
and dword [eax], 0
lea edx, [ecx + 0x8c]
mov edi, dword [edx]
and dword [edx], 0
lea ebx, [ebp + 0x10]
push ebx
push edi
push dword [ebp + 0xc]
push 0xff
push dword [ecx + 0x68]
call esi
jmp 0x101dd55
push eax
push 0x10061f8
push eax
push eax
push eax
push 0x1006108
push dword [0x102e5ac]
push 4
call fcn.0102c428
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x101df2f
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], 1
mov esi, ecx
jne 0x101df7c
lea ecx, [esi + 0x94]
mov ebx, dword [ecx]
push ebx
lea eax, [esi + 0x90]
mov edx, dword [eax]
push edi
push edi
mov dword [eax], edi
mov dword [ecx], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 4
lea edx, [ebp + 0x10]
push edx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
call dword [eax + 0x1c]
jmp 0x101dfea
cmp dword [ebp + 0x10], edi
jne 0x101dfcf
cmp dword [esi + 0xa4], edi
lea eax, [esi + 0x98]
mov ebx, dword [eax]
mov dword [eax], edi
sete al
movzx eax, al
push eax
push 0x1006940
push edi
push edi
push edi
lea ecx, [esi + 0x9c]
mov edx, dword [ecx]
push 0x1006860
mov dword [ecx], edi
push dword [0x102e5ac]
mov dword [ebp + 8], edx
push 4
call fcn.0102c428
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [esi + 0xa4], eax
call ebx
jmp 0x101dfea
push edi
push 0x1006838
push edi
push edi
push edi
push 0x1006758
push dword [0x102e5ac]
push 4
call fcn.0102c428
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x101e03b
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [esi], esi
sete bl
xor eax, eax
cmp ebx, eax
je 0x101e07d
cmp dword [esi + 8], eax
sete cl
movzx ecx, cl
push ecx
push 0x1006b1c
push eax
push eax
push eax
push 0x1006a58
push dword [0x102e5ac]
push 4
call fcn.0102c428
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x101e29b
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
setne al
movzx eax, al
push eax
push 0x10047b4
push edi
push edi
push edi
push 0x1006c28
push dword [0x102e5ac]
mov esi, ecx
push 4
call fcn.0102c428
cmp dword [ebp + 0xc], edi
setne al
movzx eax, al
push eax
push 0x1006c0c
push edi
push edi
push edi
push 0x1006b48
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov ecx, dword [esi + 0x18]
xor eax, eax
test ecx, ecx
jbe 0x101e30e
mov ecx, dword [esi + 0x10]
cmp ebx, dword [ecx + edi + 8]
je 0x101e31a
mov ecx, dword [esi + 0x18]
inc eax
add edi, 0x20
cmp eax, ecx
jb 0x101e2fa
mov eax, 0x80004005
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x101e313

Function at 0x101e328
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x44]
setb al
movzx eax, al
push eax
push 0x1006dc4
xor eax, eax
push eax
push eax
push eax
push 0x1006cf0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [edi + 0x10]
shl esi, 5
mov eax, dword [esi + eax + 4]
pop edi
pop esi
pop ebp
ret 4

Function at 0x101e36f
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
sete al
movzx eax, al
push eax
push 0x1006ec8
push 0
push 0
push 0
push 0x1006df0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [ebp + 8]
and dword [esi + 8], 0
mov dword [esi + 4], eax
mov dword [esi], 1
pop esi
pop ebp
ret 4

Function at 0x101e3e6
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, ecx
cmp edi, eax
setne cl
movzx ecx, cl
push ecx
push 0x1005300
push eax
push eax
push eax
push 0x1006ee0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov dword [esi + 0xa4], edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x101e8e2
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x101e9c0
push esi
push edi
push dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
call fcn.0101e328
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xe4
mov ecx, dword [eax]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
cmp ecx, edx
jne 0x101e97b
cmp dword [edi + 0xe8], edx
jne 0x101e97b
cmp dword [edi + 0xd8], edx
jne 0x101e947
cmp dword [edi + 0xdc], edx
jne 0x101e947
mov al, 1
jmp 0x101e949
xor al, al
push eax
push 0x10074b8
push edx
push edx
push edx
push 0x10073c8
push dword [0x102e5ac]
push 4
call fcn.0102c428
add edi, 0xe4
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
add edi, 0xd8
jmp 0x101e9ad
mov esi, dword [ebp - 0x10]
lea ecx, [edi + 0xd8]
mov edx, dword [ecx]
cmp esi, edx
ja 0x101e9ab
mov edx, dword [ebp - 0xc]
jne 0x101e997
cmp edx, dword [edi + 0xdc]
ja 0x101e9ab
mov ecx, dword [eax]
cmp esi, ecx
jb 0x101e9a7
jne 0x101e9b3
cmp edx, dword [edi + 0xe8]
jae 0x101e9b3
mov edi, eax
jmp 0x101e9ad
mov edi, ecx
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x101e8fb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ed10
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov esi, ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
setne al
movzx eax, al
push eax
push 0x100280c
xor eax, eax
push eax
push eax
push eax
push 0x1007a90
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
shl ecx, 5
lea ecx, [ecx + edx + 0xc]
mov edx, dword [ecx + 4]
lea eax, [edi + 0x84]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov esi, dword [esi + 0x4c]
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
ret 8

Function at 0x101ef72
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov esi, ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
setne al
movzx eax, al
push eax
push 0x100280c
xor eax, eax
push eax
push eax
push eax
push 0x1007ff0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea eax, [edi + 0x84]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov esi, dword [esi + 0x4c]
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
ret 4

Function at 0x101efe8
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [0x102e5a8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
je 0x101f047
cmp dword [esi + 0xc], 1
mov ebx, 0x100280c
sete al
movzx eax, al
push eax
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x1008190
push dword [0x102e5ac]
push 4
call fcn.0102c428
xor eax, eax
cmp edi, eax
setne cl
movzx ecx, cl
push ecx
push ebx
push eax
push eax
push eax
push 0x10080d0
push dword [0x102e5ac]
push 4
call fcn.0102c428
lea ebx, [esi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 4]
lea eax, [edi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [ecx], eax
inc dword [esi + 8]
push ebx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x101f07d
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
cmp dword [eax], eax
jne 0x101f0e9
cmp dword [eax + 4], eax
jne 0x101f0e9
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101f0d7
test byte [eax + 0x9c], 4
je 0x101f0d7
cmp byte [eax + 0x99], 2
jb 0x101f0d7
push edi
push 0x1004c00
push 0x31
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
xor eax, eax
push eax
push 0x100280c
push eax
push eax
push eax
push 0x1008310
jmp 0x101f151
cmp dword [esi], esi
je 0x101f10a
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov dword [eax + 4], eax
mov dword [eax], eax
mov eax, dword [edi]
push edi
call dword [eax + 8]
dec dword [esi + 8]
xor esi, esi
inc esi
jmp 0x101f160
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101f141
test byte [eax + 0x9c], 4
je 0x101f141
cmp byte [eax + 0x99], 2
jb 0x101f141
push edi
push 0x1004c00
push 0x32
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
xor eax, eax
push eax
push 0x100280c
push eax
push eax
push eax
push 0x1008250
push dword [0x102e5ac]
xor esi, esi
push 4
call fcn.0102c428
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x101f50a
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push edi
mov esi, ecx
call dword [eax + 8]
lea ecx, [esi + 0x6c]
mov eax, dword [ecx + 0xc]
dec eax
push eax
call fcn.0101903f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
setne al
movzx eax, al
push eax
push 0x100280c
push ebx
push ebx
push ebx
push 0x1008560
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp byte [esi + 0x1c], 1
sete al
movzx eax, al
push eax
push 0x1008528
push ebx
push ebx
push ebx
push 0x1008470
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x101f585
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push edi
mov edi, ecx
lea ecx, [edi + 0x6c]
mov eax, dword [ecx]
dec eax
cmp dword [edi + 0x78], eax
jne 0x101f5e3
push esi
call fcn.01019f51
mov esi, dword [eax + 0xc]
test esi, esi
je 0x101f5dc
lea eax, [esi + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x101f5dc
push edi
mov ecx, esi
call fcn.010256f4
test eax, eax
jne 0x101f5dc
push eax
push 0x10086d8
push 0x748
push 2
push 1
push 0x1008618
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov dword [edi + 0x108], esi
pop esi
pop edi
ret
Function at 0x101f697
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
xor ebx, ebx
push edi
mov dword [esi], 0x10083d0
cmp eax, ebx
je 0x101f6dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
sete al
movzx eax, al
push eax
push 0x100280c
push ebx
push ebx
push ebx
push 0x1008890
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x101f6ea
push 3
call fcn.0101996e
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x10], ebx
je 0x101f777
mov edi, dword [esi + 0x44]
mov dword [ebp - 4], edi
cmp edi, ebx
jbe 0x101f766
shl edi, 5
sub edi, 0x20
mov eax, dword [esi + 0x10]
add eax, edi
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
cmp dword [eax + 8], ebx
je 0x101f726
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x10]
mov dword [edi + eax + 8], ebx
mov eax, dword [esi + 0x10]
add eax, edi
cmp dword [eax + 0x14], ebx
je 0x101f75b
cmp dword [eax + 0x1c], ebx
je 0x101f741
mov eax, dword [eax + 0x14]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x10]
lea eax, [edi + eax + 0x14]
cmp dword [eax], ebx
je 0x101f75b
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x10]
mov dword [edi + eax + 0x14], ebx
dec dword [ebp - 4]
sub edi, 0x20
cmp dword [ebp - 4], ebx
ja 0x101f706
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x101f774
push 3
call fcn.0101e700
mov dword [esi + 0x10], ebx
push dword [esi + 0x20]
call fcn.0102afb2
push dword [esi + 0x24]
mov dword [esi + 0x20], ebx
call fcn.0102afb2
push dword [esi + 0x28]
mov dword [esi + 0x24], ebx
call fcn.0102afb2
push dword [esi + 0x2c]
mov dword [esi + 0x28], ebx
call fcn.0102afb2
push dword [esi + 0x34]
mov dword [esi + 0x2c], ebx
call fcn.0102afb2
push dword [esi + 0x30]
mov dword [esi + 0x34], ebx
call fcn.0102afb2
push dword [esi + 0x38]
mov dword [esi + 0x30], ebx
call fcn.0102afb2
mov eax, dword [esi + 0x3c]
add esp, 0x1c
mov dword [esi + 0x38], ebx
cmp eax, ebx
je 0x101f7d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x101f7e7
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x101f7f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x4c], ebx
lea edi, [esi + 0xa0]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x101f80a
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], ebx
mov dword [esi + 0xac], ebx
mov esi, dword [esi + 0x50]
cmp esi, 0xffffffff
je 0x101f81f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1020ad3
Capabilities:
Reference absolute stream path on windows
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi]
xor ebx, ebx
jmp 0x1020b31
lea eax, [ebp - 4]
push eax
push 0x7fffffff
push dword [esi + 0x20]
call fcn.01019eeb
test eax, eax
setge al
movzx eax, al
push eax
push 0x1009bc8
xor eax, eax
push eax
push eax
push eax
push 0x1009ae8
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [ebp - 4]
mov esi, dword [esi]
lea ebx, [ebx + eax + 1]
cmp esi, edi
jne 0x1020af2
inc ebx
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x1020b9c
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x1020c42
test byte [eax + 0x9c], 4
je 0x1020c42
cmp byte [eax + 0x99], 2
jb 0x1020c42
push ebx
push 0x1004c00
push 0x33
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
jmp 0x1020c42
xor ecx, ecx
mov word [eax], cx
mov esi, dword [edi]
jmp 0x1020bea
push dword [esi + 0x20]
push ebx
push dword [ebp - 4]
call fcn.0101735d
test eax, eax
jl 0x1020bc3
push 0x1009ae4
push ebx
push dword [ebp - 4]
call fcn.0101735d
xor ecx, ecx
cmp eax, ecx
setge al
movzx eax, al
push eax
push 0x1009a90
push ecx
push ecx
push ecx
push 0x10099b0
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov esi, dword [esi]
cmp esi, edi
jne 0x1020ba5
push dword [ebp - 4]
push 0x1009990
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1020c42
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x1020c42
test byte [eax + 0x9c], 4
je 0x1020c42
cmp byte [eax + 0x99], 2
jb 0x1020c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x102e010]
push 0x1004c00
push 0x34
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 4]
call fcn.0102afb2
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1021b9a
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
setne al
movzx eax, al
push eax
push 0x1005300
push ebx
push ebx
push ebx
push 0x100a288
push dword [0x102e5ac]
mov edi, ecx
push 4
call fcn.0102c428
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
dec eax
mov esi, eax
mov eax, dword [edi + 0x48]
shl esi, 2
cmp dword [esi + eax], ebx
sete al
movzx eax, al
push eax
push 0x100a248
push ebx
push ebx
push ebx
push 0x100a180
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp + 0xc]
pop edi
mov dword [esi + eax], ecx
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1021c14
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
setne al
movzx eax, al
push eax
push 0x1005300
push 0
push 0
push 0
push 0x100a488
push dword [0x102e5ac]
mov edi, ecx
push 4
call fcn.0102c428
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
dec eax
mov esi, eax
mov eax, dword [edi + 0x48]
shl esi, 2
cmp dword [esi + eax], 0
setne al
movzx eax, al
push eax
push 0x100a418
push 0xa0
push 4
push 1
push 0x100a350
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [edi + 0x48]
mov eax, dword [esi + eax]
mov ecx, dword [ebp + 0xc]
pop edi
mov dword [ecx], eax
pop esi
pop ebp
ret 8

Function at 0x1021c96
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 1
sete al
movzx eax, al
push eax
push 0x100280c
push 0
push 0
push 0
push 0x100a550
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [ebp + 8]
test eax, eax
je 0x1021cd2
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1021ce0
mov cx, word [esi + 0x30]
mov word [eax], cx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1021cee
mov cx, word [esi + 0x32]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1021cfa
mov ecx, dword [esi + 0x28]
mov dword [eax], ecx
pop esi
pop ebp
ret 0x10

Function at 0x1021d04
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 3
sete al
movzx eax, al
push eax
push 0x100280c
push 0
push 0
push 0
push 0x100a628
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [ebp + 8]
test eax, eax
je 0x1021d40
mov ecx, dword [esi + 0x28]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1021d52
mov ecx, dword [esi + 0x30]
mov dword [eax], ecx
mov ecx, dword [esi + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1021d5e
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
pop esi
pop ebp
ret 0xc