joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416020
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c69b8
mov eax, dword fs:[0]
push eax
sub esp, 0x244
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]
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x250]
push 3
push eax
mov dword [ebp - 0x234], 1
call fcn.004172a0
add esp, 8
push 0xe
push str.debug_url.set
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0040eb20
mov dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x416131
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416127
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41623a
push edx
push ecx
call fcn.0047771f
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x23c], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4161e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00499120
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4d3594
push str.test_url
push str.DebugUrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4161c2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040edb0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41621c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416212
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41623f
push edx
push ecx
call fcn.0047771f
add esp, 8
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.004779e3
mov esp, ebp
pop ebp
ret 4
call fcn.0049c69a
call fcn.0049c69a
int3
Function at 0x429860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c892b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00499120
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4298c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x94]
call fcn.0040edb0
mov ecx, edi
call fcn.0042a770
test al, al
je 0x429a02
mov esi, dword [edi + 0x18]
xor eax, eax
test esi, esi
je 0x4298fc
mov eax, dword [esi]
mov dword [edi + 0x24], eax
xor eax, eax
test esi, esi
je 0x429908
mov eax, dword [esi + 4]
mov dword [edi + 0x28], eax
xor eax, eax
test esi, esi
je 0x429914
mov eax, dword [esi + 0xc]
push 0
push 0x3c
lea ecx, [ebp - 0x230]
mov dword [edi + 0x2c], eax
call fcn.0040a670
test esi, esi
je 0x42994d
cmp dword [ebp - 0x21c], 8
lea eax, [esi + 0x10]
push 0x3c
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push eax
push ecx
call fcn.00498620
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae edx, dword [ebp - 0x230]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429970
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x30]
call fcn.0040edb0
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4299cc
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4299c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a1d
push edx
push ecx
call fcn.0047771f
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x54
mov ecx, edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042b200
mov ecx, edi
call fcn.0042b8e0
mov ecx, edi
call fcn.0042b370
mov al, 1
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.004779e3
mov esp, ebp
pop ebp
ret
call fcn.0049c69a
int3
Function at 0x42bfe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8c80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5036e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004776ef
mov edi, eax
add esp, 4
test edi, edi
je 0x42c092
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0043ff5c
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x42d114
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x42d103
jg 0x42d078
test edx, edx
je 0x42d103
call fcn.0040d6c0
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x42d0c8
jg 0x42d08e
test esi, esi
je 0x42d0c8
cmp ebx, eax
jg 0x42d09d
jl 0x42d098
cmp edi, esi
jae 0x42d09d
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [ebp + 8]
call fcn.00498620
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [ebp + 8]
jmp 0x42d0ea
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42d0fd
mov eax, dword [ebp + 8]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebp - 4]
add eax, esi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x42d078
jl 0x42d0fd
test edi, edi
jne 0x42d078
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x42d133
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x42d135
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x42d1dd
jg 0x42d14f
test esi, esi
je 0x42d1dd
test eax, eax
jl 0x42d18e
jg 0x42d159
test ebx, ebx
je 0x42d18e
cmp edi, eax
jg 0x42d168
jl 0x42d163
cmp esi, ebx
jae 0x42d168
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00498620
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ebx
sub esi, ebx
sbb edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x42d194
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x42d1dd
jg 0x42d19e
test esi, esi
je 0x42d1dd
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x42d1dd
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x42d1c9
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [ebp + 8]
call fcn.004a27f2
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8dd8
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.0047771f
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.0049c69a
int3
Function at 0x42d910
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e23
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.0046fbf0
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.0046fbf0
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.00499120
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00499120
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.004a3727
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.004779e3
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.004779e3
mov esp, ebp
pop ebp
ret
Function at 0x42e100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ed3
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.00499120
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.0046fbf0
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.0046fbf0
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.0047771f
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.0047771f
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.004779e3
mov esp, ebp
pop ebp
ret
call fcn.0049c69a
call fcn.0049c69a
int3
Function at 0x42f7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9153
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.0046fbf0
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.0046fbf0
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.004779e3
mov esp, ebp
pop ebp
ret
Function at 0x42f9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c91ad
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.00499120
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.004779e3
mov esp, ebp
pop ebp
ret