joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee158
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10088ec7
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b040
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 4], 0
push esi
call fcn.1009e4ad
mov edi, eax
add esp, 4
test edi, edi
je 0x10088f05
push esi
push 0
push edi
call fcn.100b91d0
add esp, 0xc
mov byte [edi], 0
jmp 0x10088f07
xor edi, edi
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
cmovae eax, esi
push eax
push edi
mov dword [ebx + 0x20054], edi
mov dword [ebp - 0x14], 0
call fcn.100b86d0
add esp, 0xc
lea eax, [ebx + 0x20040]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebx + 0x20054]
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10088f75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x10088f63
cmp eax, 0xe8
jne 0x10088f75
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
xor bl, bl
jmp 0x10088f77
mov bl, 1
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10088fa6
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10088f9c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10088fc6
push ecx
push esi
call fcn.1009e49f
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret 4
call fcn.100bc709
int3
Function at 0x10088ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee19b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x10129fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x2002c]
push eax
push 0
push 0x20000
lea eax, [ecx + 0x14]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10089111
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x10089111
call fcn.1006cd40
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x10089111
push 0x61
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.1000b040
mov byte [ebp - 4], 1
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0xd4]
push 0x74
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10007ce0
mov esi, eax
push str.WaitPublish_falied__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.10009020
add esp, 8
mov ecx, esi
push ebx
call fcn.10014510
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd4]
call fcn.100090e0
lea ecx, [ebp - 0x24]
call fcn.10008880
lea ecx, [ebp - 0x3c]
call fcn.10008880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008c010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x1008c0d7
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x1008c025
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1008d820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee823
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x10128f18]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1008d710
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x1008da01
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100b91d0
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x100ffcb0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008da01
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x1008d8f5
cmp eax, 2
jne 0x1008da01
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1008d916
test cl, 1
jne 0x1008da01
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1008d91c
jmp 0x1008da01
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x1008da01
call fcn.10009930
mov ecx, eax
test ecx, ecx
je 0x1008da2c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.1008ba80
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x100ffcb8
push eax
call fcn.1008dea0
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.1008c010
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x1008d9e5
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1008d986
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.1008da40
push dword [0x10128f20]
lea eax, [ebp - 0x74]
push dword [0x10128f1c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1008d9c2
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1008d9de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1008da03
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1008da01
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1008da0e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009720
int3
Function at 0x1008dba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee858
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10129fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x10128f18]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1008d710
test eax, eax
je 0x1008dcc8
mov esi, dword [ebp - 0x18]
mov edi, dword [str.SOFTWAREComMaster]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x1008dc73
cmp dword [esi], 0
je 0x1008dc66
push 0x100ffb64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1008dc33
mov eax, 1
jmp 0x1008dc94
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008dc6c
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x1008dc94
cmp dword [esi + 4], 0
jne 0x1008dc73
mov eax, 1
jmp 0x1008dc94
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008dcbe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1008dca6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x1008dccb
xor ebx, ebx
jmp 0x1008dd6f
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x1008dd6f
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1008dd28
mov ecx, dword [ebx]
test ecx, ecx
je 0x1008dd8e
push ecx
push eax
call fcn.100c0b3e
add esp, 8
test eax, eax
je 0x1008dd28
mov edx, dword [edi]
test edx, edx
je 0x1008dd28
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008dd00
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x1008dd33
lea eax, [edx + 0xd]
jmp 0x1008dd68
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008dd40
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100ffcb0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x1008dd7a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009720
int3
Function at 0x1008f390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008f401
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1008f3cf
cmp eax, 2
jne 0x1008f3eb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1008f3fb
test ecx, ecx
je 0x1008f3f6
test cl, 1
jne 0x1008f3eb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1008f3fb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10095070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef121
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.10009930
mov ecx, eax
test ecx, ecx
je 0x10095204
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100951c5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100951b7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100951c5
add eax, 0x10
push 0x1010251a
push eax
mov dword [ebp - 0x20], eax
call fcn.1009f749
mov esi, eax
add esp, 8
test esi, esi
je 0x100951c5
push dword [ebp - 0x20]
push 0
push esi
call fcn.100b91d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1009517a
push esi
call fcn.1009e4b6
add esp, 4
jmp 0x100951c5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10095180
sub ecx, edx
sar ecx, 1
je 0x100951ae
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10095196
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000a200
push esi
call fcn.1009e4b6
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100951c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100951e4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10009720
int3
Function at 0x10095210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10095234
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x10095296
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x10095296
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100952b1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009e81e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100956c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef1c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10129fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.100079c0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
or ebx, 0xffffffff
test eax, eax
je 0x100957f4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10009790
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [esi - 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi + edi]
mov dword [ebp - 0x1c], eax
add eax, 2
push eax
push 0x2000
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x1009575c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100957d7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 0
push eax
call fcn.100b91d0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
add esp, 0xc
or eax, ecx
jge 0x10095790
push 0
lea ecx, [ebp - 0x14]
call fcn.10009c50
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push eax
push esi
push eax
push dword [ebp - 0x20]
call fcn.10033be0
push dword [esi - 8]
push esi
call fcn.100c0941
add esp, 0x18
test eax, eax
js 0x10095829
cmp eax, dword [esi - 8]
jg 0x10095829
xor ecx, ecx
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100957f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100957f6
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10095815
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10009720
int3
Function at 0x10095840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100b91d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push edi
push ebx
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.1009d0d0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1009e81e
mov esp, ebp
pop ebp
ret

Function at 0x100964d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.100b91d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
mov ecx, esp
push edi
call fcn.100079c0
lea eax, [ebp - 0x20c]
push eax
call fcn.1009dc70
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.1009e81e
mov esp, ebp
pop ebp
ret
Function at 0x10096750
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef32b
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x448], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x43c], ebx
call fcn.100b91d0
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100c108d
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10096800
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.1000b130
push 1
push 0x100f3f18
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.10033940
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100b91d0
mov ebx, dword [ebp - 0x424]
xor esi, esi
mov edi, dword [ebp - 0x438]
add esp, 0xc
cmp dword [ebp - 0x428], esi
jbe 0x100968c0
nop word [eax + eax]
cmp ebx, 8
lea eax, [ebp - 0x438]
cmovae eax, edi
movzx eax, word [eax + esi*2]
mov ecx, eax
mov word [ebp + esi*2 - 0x420], ax
cmp ecx, 0x5c
je 0x10096894
cmp ecx, 0x2f
jne 0x100968b7
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100968b7
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10096908
inc esi
cmp esi, dword [ebp - 0x428]
jb 0x10096870
push dword [ebp - 0x43c]
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
cmp ebx, 8
jb 0x10096916
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1009690c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096934
jmp 0x1009690c
xor esi, esi
jmp 0x100968e0
push ecx
push edi
call fcn.1009e49f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret
call fcn.100bc709
int3

Function at 0x100969a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100969c9
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100969b0
sub ecx, esi
sar ecx, 1
pop esi
lea ecx, [ecx*2 + 2]
jmp 0x100969ce
mov ecx, 2
push ecx
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebp
ret