joyce8/EMBER2024-capa huggingface dataset:
Function at 0x759ced9f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.759b3c2d
lea ecx, [ebp - 0x20]
call fcn.759b3e2d
push eax
push dword [0x75bc8b74]
xor esi, esi
push esi
push 0x759b4a48
push 0x80000002
call fcn.759b3f15
add esp, 0x14
cmp eax, 2
je 0x759e29f2
cmp eax, esi
je 0x759e29fc
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.759b3c00
lea ecx, [ebp - 0x18]
call fcn.759b1681
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
mov esi, 0x103
jmp 0x759cedf9
push esi
push esi
mov eax, 0x101
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], eax
push esi
lea eax, [ebp - 0x224]
push esi
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, 2
jne 0x759e2a4b
lea ecx, [ebp - 0x230]
call fcn.759d7f69
jmp 0x759e29f2
cmp edi, esi
je 0x759e2a61
lea ecx, [ebp - 0x230]
call fcn.759d7f69
mov esi, edi
jmp 0x759cedf9
push dword [ebp - 0x230]
push dword [ebp + 0x10]
push ebx
call fcn.759b3cf5
lea ecx, [ebp - 0x230]
test eax, eax
jge 0x759e2a89
call fcn.759d7f69
mov esi, 0xea
jmp 0x759cedf9
call fcn.759d7f69
jmp 0x759cedf9

Function at 0x759cf36b
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x75bcc938]
push edi
xor edi, edi
cmp dword [eax + 0x1c], edi
jne 0x759eaae4
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [eax + 0x20], edi
jne 0x759eaafc
push edi
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x759eab3d
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x75bcc938]
push 0x4e20
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x759eab2b
mov eax, dword [0x75bcc938]
push edi
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x75bcc938]
push dword [eax + 0x20]
call esi
mov eax, dword [0x75bcc938]
mov dword [eax + 0x20], edi
mov eax, dword [0x75bcc938]
push dword [eax + 0x1c]
call esi
mov eax, dword [0x75bcc938]
mov dword [eax + 0x1c], edi
pop esi
jmp 0x759cf37c
Function at 0x759cf828
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x75bcc8ec], 2
push esi
mov esi, ecx
jne 0x759cf89c
push edi
mov edi, 0x75bcc964
push edi
call fcn.759b16ea
test al, al
jne 0x759cf8a0
mov eax, dword [0x75bcc8d8]
xor edi, edi
cmp eax, 0xffffffff
je 0x759cf87e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov dword [esi], eax
push dword [0x75bcc8d8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x759f232d
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x759f2337
lea eax, [esi + 4]
push eax
push 1
push 4
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov dword [0x75bcc964], edi
pop edi
mov eax, esi
pop esi
ret
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x759cf83a
call fcn.75b30e6a
jmp 0x759cf86e
call fcn.75b30e6a
jmp 0x759cf87e

Function at 0x759cf8af
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
inc ebx
cmp dword [0x75bcc8ec], 2
jne 0x759f24cc
push esi
mov esi, 0x75bcc964
push esi
call fcn.759b16ea
test al, al
jne 0x759cf8fc
mov eax, dword [0x75bcc8d8]
pop esi
cmp eax, 0xffffffff
je 0x759cf8f1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xe0000000
cmp eax, 0x20000000
setne bl
and dword [0x75bcc964], 0
mov al, bl
pop ebx
ret
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x759cf8c8
call fcn.759b3eb3
cmp eax, ebx
je 0x759cf8f8
cmp eax, 0xffffffff
jne 0x759cf8c2
xor al, al
pop ebx
ret

Function at 0x759cfe8b
Capabilities:
Set environment variable

Disassembly:
cmp dword [ebp + 0xc], 2
jne 0x759cfed1
push 0xffffffffffffffff
push 0x759cfe7c
push 0xffffffffffffffff
push ebx
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x759cfed1
jmp 0x759cfeca
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp + 8], 1
cmp esi, eax
je 0x759cfee7
cmp word [esi], ax
je 0x759cfee7
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, esi
inc esi
inc esi
cmp word [esi], 0x3d
jne 0x759cfeb0
xor ecx, ecx
mov word [esi], cx
inc esi
inc esi
cmp dword [ebp + 0xc], 1
je 0x759cfeee
cmp dword [ebp + 0xc], eax
jne 0x759cfe56
push esi
push ebx
call edi
mov dword [ebp + 8], eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x759cfef1
mov cx, word [esi]
inc esi
inc esi
test cx, cx
jne 0x759cfed8
cmp word [esi], ax
jne 0x759cfeae
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
push eax
jmp 0x759cfecb
xor al, al
jmp 0x759cfee9
Function at 0x759d0834
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, 0x75bcc964
push esi
call fcn.759b16ea
test al, al
jne 0x759d08d3
mov eax, dword [0x75bcc8d8]
and dword [0x75bcc964], 0
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x759f229d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov ecx, ebx
mov esi, ebx
mov eax, 0x1fffffff
and ecx, 0xe0000000
and esi, eax
cmp ecx, 0x80000000
je 0x759f22a4
lea ecx, [esi - 1]
xor ecx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
and ecx, eax
xor ecx, ebx
push ecx
push dword [ebp - 4]
call edi
test eax, eax
je 0x759f22bf
cmp esi, 1
je 0x759d08b7
mov al, 1
pop edi
pop ebx
pop esi
leave
ret
cmp dword [ebp + 8], esi
je 0x759f22ab
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x759d08b0
jmp 0x759f22b9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x759d0840
mov al, 1
jmp 0x759d08b4
mov al, 1
jmp 0x759d08b3
call dword [0x75bc845c]
test eax, eax
je 0x759d08b0
push ebx
push dword [ebp - 4]
call edi
call fcn.75b30e6a
xor al, al
jmp 0x759d08b2
Function at 0x759d0ccc
Capabilities:
Query or enumerate registry value

Disassembly:
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jge 0x759d0d86
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x10
mov dword [ebp - 0x18], ebx
call esi
cmp dword [ebp - 0x18], ebx
jne 0x759d0d86
push ebx
push ebx
push dword [0x75bccd48]
push 0x11
call esi
jmp 0x759d0d86
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push 0x75bcca7c
cmp byte [ebp + 8], bl
jne 0x759d0c8c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test eax, eax
jne 0x759d0d86
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
push 0x75bccd48
push ebx
push 0x10
call esi
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x1c], 0x20019
call fcn.759b172f
pop ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push ebx
push 0x759d0dbc
push 0x80000001
call dword [0x75bcc908]
test eax, eax
jne 0x759d0d86
push edi
mov word [ebp - 0x10], ax
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x759d0d94
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
test eax, eax
je 0x759e9528
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x11], bl
je 0x759e9575
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
cmp dword [ebp - 0x1c], 1
jne 0x759d0d74
mov edx, 0x759f915c
lea eax, [ebp - 0x10]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x759e9560
cmp cx, bx
je 0x759e955c
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x759e9560
add eax, 4
add edx, 4
cmp cx, bx
jne 0x759e953a
xor eax, eax
jmp 0x759e9565
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x759d0d74
mov byte [ebp - 0x11], bl
jmp 0x759d0d74
push ebx
push ebx
push ebx
jmp 0x759d0cbe
Function at 0x759d1677
Capabilities:
Query or enumerate registry value

Disassembly:
cmp eax, 2
je 0x759f2c7c
cmp eax, 0xea
jne 0x759f2c9b
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 4]
je 0x759f2cb0
push ecx
mov ecx, esi
call fcn.759d1708
cmp dword [esi], ebx
je 0x759f2c83
push dword [ebp + 0x10]
mov ecx, edi
push esi
push dword [ebp + 8]
call fcn.759d1677
jmp 0x759d16d1
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
call fcn.759d029c
mov esi, eax
cmp esi, ebx
jne 0x759d16d8
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x759d1632
mov eax, dword [ebp + 0x10]
cmp dword [eax], 7
mov ecx, esi
je 0x759f2cc7
push dword [ebp - 4]
call fcn.759d2202
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [esi]
push 3
push esi
call dword [eax + 0x1c]
cmp eax, 2
jne 0x759d16ff
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov dword [eax], 1
call fcn.759d1708
jmp 0x759d16cf
mov eax, esi
jmp 0x759d16d1
mov ecx, esi
jmp 0x759d16ee
push ebx
mov ecx, esi
call fcn.759d1708
push 0x962
call fcn.75a203dc
pop ecx
jmp 0x759d16d1
cmp eax, 0x3fa
jne 0x759f2cb0
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 0x10], ebx
jmp 0x759f2c7c
push eax
push ebx
push dword [ebp + 8]
push 0x57d
call fcn.75a208dc
add esp, 0x10
jmp 0x759d16d1
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call fcn.759d2202
mov eax, dword [esi]
mov byte [edi + eax], bl
mov eax, dword [esi]
mov byte [eax + edi + 1], bl
jmp 0x759d16cf

Function at 0x759d5b71
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [0x75bcc8ec], 2
push esi
mov esi, ecx
jne 0x759d5bce
push edi
mov edi, 0x75bcc964
push edi
call fcn.759b16ea
test al, al
jne 0x759d5bd0
mov eax, dword [0x75bcc8d8]
and dword [0x75bcc964], 0
pop edi
cmp eax, 0xffffffff
je 0x759d5bce
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x759f2341
push dword [esi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x759f234b
mov esi, dword [esi + 4]
test esi, esi
jne 0x759f2355
pop esi
ret
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x759d5b83
call fcn.75b30e6a
jmp 0x759d5bb0
call fcn.75b30e6a
jmp 0x759d5bc3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x759d5bce
Function at 0x759d7831
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, ebx
mov dword [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
jne 0x759f19ec
add esi, 0xc
dec dword [ebp - 4]
jne 0x759d7844
lea esi, [ebx + 0x88]
mov eax, dword [esi]
test eax, eax
je 0x759d786b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
add ebx, 0x60
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
pop ebx
leave
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
and dword [esi + 8], 0
jmp 0x759d784e

Function at 0x759d7f8e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [0x759ce97c]
mov eax, 0x104
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x53c], ecx
push 0x759d8118
lea ecx, [ebp - 0x31c]
push eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x328], ecx
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0x108]
push eax
mov dword [ebp - 0x114], ecx
call fcn.759b4c31
add esp, 0x10
test eax, eax
jl 0x759e5a94
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x548], eax
lea eax, [ebp - 0x540]
push eax
mov dword [ebp - 0x540], 1
call fcn.759b172f
pop ecx
lea eax, [ebp - 0x544]
push eax
push dword [ebp - 0x540]
xor ebx, ebx
push ebx
push dword [ebp - 0x53c]
push 0x80000000
call dword [0x75bcc908]
test eax, eax
jne 0x759d80e1
push esi
lea eax, [ebp - 0x548]
push eax
push dword [ebp - 0x114]
lea eax, [ebp - 0x54c]
push eax
push ebx
push ebx
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x544]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
jne 0x759d80e1
lea eax, [ebp - 0x560]
push eax
mov dword [ebp - 0x560], 0x14
call sym.msi.dll_DllGetVersion
push dword [ebp - 0x554]
push dword [ebp - 0x558]
push dword [ebp - 0x55c]
push 0x759d8184
push dword [ebp - 0x324]
push dword [ebp - 0x328]
call fcn.759b4c31
add esp, 0x18
test eax, eax
jl 0x759d80e1
push dword [ebp - 0x114]
push dword [ebp - 0x328]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x759d80e1
mov bl, 1
lea ecx, [ebp - 0x114]
call fcn.759b170a
lea ecx, [ebp - 0x328]
call fcn.759b170a
lea ecx, [ebp - 0x53c]
call fcn.759b170a
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
xor bl, bl
jmp 0x759d80e1
Function at 0x759d8b22
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
lea eax, [ebp - 8]
inc esi
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
mov edi, eax
mov byte [ebp - 0x15], bl
cmp edi, ebx
je 0x759d8b7c
lea eax, [ebp - 0x14]
push edi
push eax
mov dword [ebp - 0xc], esi
call fcn.759d8ba8
pop ecx
pop ecx
test al, al
je 0x759d8b96
push esi
push dword [ebp - 0x14]
call fcn.759cfe8b
pop ecx
pop ecx
mov byte [ebp - 0x15], al
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [ebp - 0x14]
call fcn.759b1681
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x15]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
cmp dword [0x75bc8ca8], ebx
je 0x759d8b75
jmp 0x759e7520
push ebx
push ebx
mov eax, 0x759c2dec
push eax
push eax
push eax
push eax
push eax
push eax
push 0x759e7544
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8b75
Function at 0x759d8c03
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x75bcc8ec], 2
jne 0x759e7562
push ebx
xor ebx, ebx
push esi
mov esi, 0x759c2dec
cmp dword [0x75bc8ca8], ebx
jne 0x759e7566
call fcn.759d0925
cmp dword [0x75bc8ca8], ebx
jne 0x759e7584
push ebx
push ebx
lea eax, [ebp - 8]
push eax
call dword [0x75bc8444]
test eax, eax
je 0x759d8d08
call fcn.759d8b22
push ebx
push dword [ebp - 8]
call fcn.759cfe8b
pop ecx
pop ecx
push dword [ebp - 8]
call dword [0x75bc837c]
push edi
mov edi, 0x75bcc9a0
mov ecx, edi
mov dword [ebp - 0xc], ebx
call fcn.759b3cdb
push eax
call fcn.759b94a5
pop ecx
test al, al
je 0x759e75c0
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
call dword [0x75bc8444]
test eax, eax
je 0x759e75cf
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
cmp edi, ebx
je 0x759d8ce1
push edi
push 0x75bc8b54
mov dword [0x75bc8b5c], 1
call fcn.759d8ba8
pop ecx
pop ecx
test al, al
je 0x759d8cda
push 2
push dword [ebp - 0x10]
call fcn.759cfe8b
pop ecx
pop ecx
mov byte [ebp - 1], al
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push dword [ebp - 0x10]
call dword [0x75bc837c]
cmp dword [0x75bc8ca8], ebx
jne 0x759e75d6
call fcn.759d8d1e
call fcn.759c8304
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x75bc8ca8], ebx
jne 0x759e75a2
jmp 0x759d8c6b
mov al, 1
leave
ret
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e7698
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8c2d
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e7668
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8c3e
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e7640
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8c6b
mov ecx, edi
call fcn.759b3cdb
mov dword [ebp - 0xc], eax
jmp 0x759d8c8a
xor al, al
jmp 0x759d8d03
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e75f8
push ebx
push ebx
push 9
call fcn.759de326
add esp, 0x30
jmp 0x759d8cf6
Function at 0x759d8d1e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, 0x759c2dec
cmp dword [0x75bc8ca8], ebx
jne 0x759e6cbf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x759d8d88
push edi
mov dword [ebp - 4], eax
mov edi, 0x759b7ff8
cmp word [eax], bx
je 0x759d8d72
cmp dword [0x75bc8ca8], ebx
jne 0x759e6cdd
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x759d8d61
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x759d8d50
pop edi
cmp dword [0x75bc8ca8], ebx
jne 0x759e6cfe
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
pop ebx
leave
ret
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e6d38
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8d3a
push ebx
push ebx
push edi
push edi
push edi
push edi
push edi
push eax
push 0x759f5d94
push ebx
push ebx
push 0xa
call fcn.759c26bf
mov eax, dword [ebp - 4]
add esp, 0x30
jmp 0x759d8d61
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e6d1c
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
jmp 0x759d8d7f
Function at 0x759d9ddc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x218]
call fcn.759d97ef
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 0x210], 0x104
push edi
jne 0x759e0281
call fcn.759d9e8d
add esp, 0xc
test eax, eax
je 0x759e028b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
push ecx
push dword [ebp - 0x218]
call ebx
mov edi, eax
cmp edi, dword [esi + 4]
ja 0x759e02aa
test edi, edi
je 0x759e028b
cmp edi, dword [esi + 4]
ja 0x759e028b
cmp dword [ebp - 0x214], 0x104
jg 0x759e02d2
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret
call fcn.75a21cf9
jmp 0x759d9e2a
cmp dword [ebp - 0x214], 0x104
jle 0x759e02a3
push dword [ebp - 0x218]
call fcn.759c6f79
pop ecx
xor eax, eax
jmp 0x759d9e79
push edi
mov ecx, esi
call fcn.759d9eed
mov eax, dword [esi]
test eax, eax
je 0x759e028b
cmp edi, dword [esi + 4]
ja 0x759d9e55
push edi
push eax
push dword [ebp - 0x218]
call ebx
mov edi, eax
jmp 0x759d9e55
push dword [ebp - 0x218]
call fcn.759c6f79
pop ecx
jmp 0x759d9e76

Function at 0x759da3e0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.759da223
movzx eax, ax
pop ecx
test ax, ax
je 0x759da448
mov ecx, dword [0x759da450]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x759da454]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp byte [ebp + 0xc], 0
je 0x759da433
test eax, eax
je 0x759da448
cmp eax, 1
je 0x759da448
push eax
call fcn.759da45d
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.759b1748
leave
ret
push 4
pop eax
jmp 0x759da43c
Function at 0x759db4c9
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
test eax, eax
je 0x759db4ff
cmp dword [ebp - 4], 0
je 0x759db4ff
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x759db4ff
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x759dd262
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 4], ebx
je 0x759dd2ae
cmp dword [ebp - 4], 7
je 0x759dd2b1
mov edi, dword [ebp + 0x18]
jmp 0x759dd2de
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp + 0x18], eax
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
push 2
mov dword [ebp - 0xc], eax
pop ebx
cmp eax, 0xea
je 0x759dd2fd
cmp dword [ebp - 0xc], 0
jne 0x759dd255
cmp dword [ebp - 4], 1
jne 0x759dd24a
xor ebx, ebx
inc ebx
mov edi, dword [ebp + 0x18]
xor ecx, ecx
and dword [ebp - 8], ecx
lea eax, [edi - 1]
test ebx, ebx
jbe 0x759dd2de
test eax, eax
jl 0x759dd2d6
mov edx, dword [esi]
cmp byte [eax + edx], 0
jne 0x759dd2d6
inc ecx
inc dword [ebp - 8]
dec eax
cmp dword [ebp - 8], ebx
jb 0x759dd2c0
cmp ebx, ecx
ja 0x759e0b2e
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x759e0b27
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x759dd2f5
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], 1
jne 0x759e0b04
inc dword [ebp + 0x18]
push 0
push dword [ebp + 0x18]
mov ecx, esi
call fcn.759b4013
test al, al
je 0x759e0b1f
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push eax
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov dword [ebp - 0xc], eax
jmp 0x759dd2a2
cmp dword [ebp - 4], ebx
je 0x759dd307
cmp dword [ebp - 4], 7
jne 0x759dd30a
add dword [ebp + 0x18], ebx
jmp 0x759dd30a
push 0xe
pop eax
jmp 0x759dd2f8
mov dword [eax], edi
jmp 0x759dd2e9
sub ebx, ecx
add edi, ebx
cmp edi, dword [esi + 4]
jbe 0x759e0b45
push 1
push edi
mov ecx, esi
call fcn.759b4013
test al, al
je 0x759e0b1f
test ebx, ebx
jbe 0x759dd2de
mov eax, dword [esi]
sub eax, ebx
dec ebx
mov byte [eax + edi], 0
je 0x759dd2de
jmp 0x759e0b4d
Function at 0x759de19d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.759b3c2d
mov eax, dword [0x75bc8b74]
or eax, 2
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.759de27b
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x759de256
and dword [ebp - 0x24], 0
push 4
pop esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x759de313
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffc4
shl eax, 4
or eax, dword [ebp - 0x3a]
mov ecx, 0xffff
shl eax, 5
or eax, dword [ebp - 0x36]
movzx edx, ax
mov eax, dword [ebp - 0x24]
and eax, ecx
cmp eax, ecx
jge 0x759de235
inc eax
push dword [ebp - 0x28]
movzx ecx, dx
shl ecx, 0x10
or ecx, eax
lea eax, [ebp - 0x24]
push eax
push esi
push 0
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.759b3c00
lea ecx, [ebp - 0x18]
call fcn.759b1681
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.759b1748
leave
ret
cmp eax, 2
je 0x759de207
jmp 0x759de254