joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x10], esi
call fcn.004308d0
add esp, 4
push 0xa
push str._sys_clean
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040eb20
push eax
mov ecx, esi
call fcn.004136b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42d8db
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d8d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d902
push edx
push ecx
call fcn.004776ff
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42d8e5
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0049c66a
int3
Function at 0x42d910
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8dd3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor bl, bl
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0042ffa0
add esp, 0x10
test eax, eax
je 0x42d996
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x42dace
push ecx
jmp 0x42dac8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x42d9a1
mov eax, dword [eax]
mov esi, dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x42dac1
call fcn.0046fbc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42daa1
push 0x60
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcutils.cc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.0040ecb0
push 0x168
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040a7e0
mov dword [ebp - 0x20], eax
push str.DeleteRegEditValue_fail__result_
push eax
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
push ebx
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
call fcn.00420070
push str.__subkey_path:
push ebx
call fcn.0040b5c0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x42da65
mov edi, dword [edi]
test edi, edi
mov eax, str._null_
cmovne eax, edi
push eax
push ebx
call fcn.00409890
add esp, 8
call fcn.0046fbc0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040b820
lea ecx, [ebp - 0x38]
call fcn.0040afe0
lea ecx, [ebp - 0x50]
call fcn.0040afe0
test esi, esi
je 0x42daac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
test esi, esi
je 0x42dace
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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 0x42daf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.004990f0
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.004990f0
add esp, 0x18
test esi, esi
je 0x42dbf0
test ebx, ebx
je 0x42dbf0
lea eax, [ebp - 0x4bc]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42dbf0
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x42dbf0
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x42dbdb
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.004a36f4
add esp, 0xc
test eax, eax
je 0x42dc03
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x42db81
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004779c3
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x42dc59
cmp edi, 0x7fffffff
ja 0x42dc50
mov ecx, ebx
mov esi, SysReAllocString
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x42dc3b
movzx eax, word [ebx + ecx]
test ax, ax
je 0x42dc3b
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42dc20
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x42dc59
test edi, edi
je 0x42dc59
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x42dc67
cmp edi, 0x7fffffff
jbe 0x42dc6c
mov ecx, 0x80070057
test ecx, ecx
js 0x42dc9e
mov esi, edi
mov eax, ebx
test edi, edi
je 0x42dc86
cmp word [eax], 0
je 0x42dc86
add eax, 2
sub esi, 1
jne 0x42dc78
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x42dca0
xor esi, esi
test ecx, ecx
js 0x42dcf6
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x42dce9
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x42dce9
movzx eax, word [edi + ecx]
test ax, ax
je 0x42dce9
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x42dcd0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004779c3
mov esp, ebp
pop ebp
ret
Function at 0x42e100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e83
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x250], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.004990f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e190
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040edb0
push 0xd
push str.explorer.exe
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
call fcn.0040eb20
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42e338
push 0x60
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcutils.cc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.0040ecb0
push 0x1ca
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0040a7e0
mov edi, eax
push str.explorer_path:
push edi
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x42e285
mov ecx, dword [esi]
test ecx, ecx
mov eax, str._null_
cmovne eax, ecx
push eax
push edi
call fcn.00409890
add esp, 8
call fcn.0046fbc0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.0040b820
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x42e2e7
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e2dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e355
push edx
push ecx
call fcn.004776ff
add esp, 8
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
cmp edx, 0x10
jb 0x42e338
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e32e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e35a
push edx
push ecx
call fcn.004776ff
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004779c3
mov esp, ebp
pop ebp
ret
call fcn.0049c66a
call fcn.0049c66a
int3
Function at 0x42f7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9103
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5036e8]
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]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push edi
push eax
call fcn.0042ffa0
add esp, 0x10
test eax, eax
je 0x42f85d
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x42f855
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x42f9ae
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], 0xffffffff
jb 0x42f86c
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x42f89f
cmp dword [ebp - 0x14], 4
je 0x42f99e
lea ebx, [eax + 0xd]
call fcn.0046fbc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42f98a
push 0x60
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcutils.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040ecb0
push 0x13e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040a7e0
mov dword [ebp - 0x14], eax
push str.QueryDWORDValue_fail__result_
push eax
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
push ebx
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00420070
push str.__subkey_path:
push ebx
call fcn.0040b5c0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x42f94e
mov edi, dword [edi]
test edi, edi
mov eax, str._null_
cmovne eax, edi
push eax
push ebx
call fcn.00409890
add esp, 8
call fcn.0046fbc0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.0040b820
lea ecx, [ebp - 0x40]
call fcn.0040afe0
lea ecx, [ebp - 0x58]
call fcn.0040afe0
test esi, esi
je 0x42f855
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x42f9ae
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x42f9ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004779c3
mov esp, ebp
pop ebp
ret
Function at 0x42f9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c915d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], dx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], edx
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
push dword [ebp + 0x18]
lea edx, [ebp - 0x224]
mov dword [ebp - 4], 1
push edx
push eax
push ecx
call fcn.0042ffa0
add esp, 0x10
test eax, eax
je 0x42fa8c
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x42fb49
push eax
jmp 0x42fb43
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004990f0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42faaa
mov edi, dword [edi]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push edi
mov edi, dword [ebp - 0x224]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42fb3e
mov eax, dword [ebp - 0x214]
cmp eax, 1
je 0x42faed
cmp eax, 2
jne 0x42fb3e
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x42fb0a
test al, 1
jne 0x42fb3e
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x42fb13
jmp 0x42fb3e
xor eax, eax
mov word [ebp - 0x210], ax
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fb20
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040edb0
test edi, edi
je 0x42fb49
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004779c3
mov esp, ebp
pop ebp
ret
Function at 0x42fed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x10], esi
call fcn.004308d0
add esp, 4
push 4
push str.log
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040eb20
push eax
mov ecx, esi
call fcn.004136b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42ff5b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ff51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ff82
push edx
push ecx
call fcn.004776ff
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42ff65
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0049c66a
int3

Function at 0x4308d0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c932b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
mov dword [ebp - 0x238], esi
call fcn.004990f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430954
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040edb0
push 8
push str.ludashi
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0040eb20
push eax
mov ecx, esi
call fcn.004136b0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x4309d3
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4309c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a04
push edx
push ecx
call fcn.004776ff
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4309dd
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004779c3
mov esp, ebp
pop ebp
ret
call fcn.0049c66a
int3
Function at 0x430a10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9383
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5036e8]
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]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
xor bl, bl
mov esi, dword [ebp + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
push edi
push eax
call fcn.0042ffa0
add esp, 0x10
test eax, eax
je 0x430a9d
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x430bc6
push ecx
jmp 0x430bc0
cmp dword [esi + 0x14], 8
jb 0x430aa5
mov esi, dword [esi]
mov eax, dword [ebp + 0x14]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push esi
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x430bb9
call fcn.0046fbc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430bbb
push 0x60
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcutils.cc
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0040ecb0
push 0x153
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040a7e0
mov ebx, eax
push str.SetDWORDValue_fail__result_
push ebx
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.00420070
push str.__subkey_path:
push ebx
call fcn.0040b5c0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x430b78
mov edi, dword [edi]
test edi, edi
mov eax, str._null_
cmovne eax, edi
push eax
push ebx
call fcn.00409890
add esp, 8
call fcn.0046fbc0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.0040b820
lea ecx, [ebp - 0x3c]
call fcn.0040afe0
lea ecx, [ebp - 0x54]
call fcn.0040afe0
mov bl, byte [ebp - 0x15]
jmp 0x430bbb
mov bl, 1
test esi, esi
je 0x430bc6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004779c3
mov esp, ebp
pop ebp
ret
Function at 0x430bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c93d3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0042ffa0
add esp, 0x10
test eax, eax
je 0x430c87
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x430c72
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], 8
jb 0x430c92
mov edx, dword [edx]
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x14], 8
jb 0x430c9d
mov edi, dword [edi]
mov esi, dword [ebp - 0x20]
test edx, edx
jne 0x430cab
mov edi, 0xd
jmp 0x430ce2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430cb3
sub ecx, dword [ebp - 0x14]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x430df1
call fcn.0046fbc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430dcd
push 0x60
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcutils.cc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.0040ecb0
push 0x128
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040a7e0
mov dword [ebp - 0x14], eax
push str.SetDWORDValue_fail__result_
push eax
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
push edi
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00420070
push str.__subkey_path:
push edi
call fcn.0040b5c0
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x430d91
mov ebx, dword [ebx]
test ebx, ebx
mov eax, str._null_
cmovne eax, ebx
push eax
push edi
call fcn.00409890
add esp, 8
call fcn.0046fbc0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040b820
lea ecx, [ebp - 0x38]
call fcn.0040afe0
lea ecx, [ebp - 0x50]
call fcn.0040afe0
test esi, esi
je 0x430c72
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
test esi, esi
je 0x430dfe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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 0x431ac0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c956b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.004390a0
mov ebx, dword [ebp + 8]
mov esi, eax
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov word [esi + 0xc], 0
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.004136b0
add edi, 0x18
mov byte [ebp - 4], 1
add ebx, 0x18
mov dword [ebp + 8], edi
push ebx
mov ecx, edi
call fcn.004136b0
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x18]
push eax
call fcn.004136b0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x30]
push eax
call fcn.004136b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4