joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b176
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100cb8d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.1006f1a0
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x1001f6ec
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x1001f6ec
call fcn.1001c2c0
mov esi, eax
jmp 0x1001f7d9
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001f70f
call fcn.1001c2c0
jmp 0x1001f7cc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x1001f72d
call fcn.1001c2c0
jmp 0x1001f7cc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001f74e
mov esi, 0x8007000e
jmp 0x1001f7ce
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.1001c190
jmp 0x1001f778
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x1001f78f
mov esi, 0x8007000e
jmp 0x1001f7ce
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001f7af
call fcn.1001c2c0
jmp 0x1001f7cc
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.1001f490
mov esi, eax
test edi, edi
je 0x1001f7d9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x1001f7f2
lea ecx, [ebp - 0x420]
call fcn.1001d300
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 - 0x14]
xor ecx, ebp
call fcn.1002f2ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10020170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b22b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100cb8d4]
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]
cmp dword [esi + 8], 0
jne 0x10020270
mov ecx, esi
call fcn.1001ddd0
test al, al
jne 0x1002028f
call fcn.1002d450
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020270
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_clean_ai_cooling_ai_cooling_ai_cooling_src_ai_cooling_client.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10007eb0
push 3
push 0x100a17bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007eb0
mov byte [ebp - 4], 1
call fcn.1002d450
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x53
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100047d0
mov esi, eax
push str.can_not_init_Statistic_or_Network
push esi
mov byte [ebp - 4], 2
call fcn.10005940
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005b70
lea ecx, [ebp - 0x2c]
call fcn.10005210
lea ecx, [ebp - 0x44]
call fcn.10005210
xor eax, eax
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.1002f2ae
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x10020640
push 0
push 0
call fcn.10077f82
mov dword [esi + 8], eax
add esp, 0x18
mov eax, 1
jmp 0x10020272

Function at 0x10026c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x100cb8d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x10026c93
test eax, eax
jne 0x10026d48
mov eax, dword [0x100ca864]
cmp eax, 0xffffffff
je 0x10026d48
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x10026d47
mov eax, dword [0x100ca864]
mov ecx, 0x100
push esi
push edi
mov esi, ebx
mov dword [ebp - 0x408], eax
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x404]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.1002ef46
add esp, 4
mov edi, 0x100
nop dword [eax + eax]
mov esi, dword [0x100d1c40]
xor dl, dl
test esi, esi
jle 0x10026d2e
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x404]
test ecx, ecx
je 0x10026d29
mov eax, dword [esi*4 + 0x100d1c48]
test eax, eax
je 0x10026d29
push ecx
mov dword [ebp + esi*4 - 0x404], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x10026d00
dec edi
test edi, edi
jle 0x10026d37
test dl, dl
jne 0x10026cf0
push 0
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f2ae
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b810
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100cb8d4]
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.1002ef08
mov edi, eax
add esp, 4
test edi, edi
je 0x100287aa
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10021ba4
add esp, 4
mov dword [edi + 4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100287ac
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, esi
push 0x20
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
call fcn.100291a0
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x100287e1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10028803
cmp byte [ebp + 0xc], 0
je 0x100287f0
push esi
call fcn.100220cb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1002880f
mov esi, str.ios_base::badbit_set
jmp 0x1002881f
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10009090
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10004cf0
push 0x100bfa50
lea eax, [ebp - 0x28]
push eax
call fcn.1006e285
int3
Function at 0x1002c130
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ba7f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cb8d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.1000ecd0
mov ecx, eax
test ecx, ecx
je 0x1002c2e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.1000ecd0
mov ecx, eax
test ecx, ecx
je 0x1002c2ee
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.1000ecd0
mov ecx, eax
test ecx, ecx
je 0x1002c2f8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x1002c208
xor ecx, ecx
jmp 0x1002c220
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c210
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10014c60
push edi
mov ecx, ebx
call fcn.1000d6b0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002c23c
xor ecx, ecx
jmp 0x1002c254
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c244
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10014c60
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1002cfe0
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.1000d6b0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1002c2ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1002c2ce
cmp dword [esi + 0x10], 0
je 0x1002c2c5
push dword [edi]
call fcn.1007e271
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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 0xc
push 0x80004005
call fcn.1000dc10
push 0x80004005
call fcn.1000dc10
push 0x80004005
call fcn.1000dc10
int3
Function at 0x1002cde0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bb88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100cb8d4]
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 esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002cf41
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x1002ce38
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x1002cf41
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x1002ce52
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x1002cf41
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x1002ce6c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x1002cf41
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x1002ce86
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x1002cf41
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x1002cf41
push 3
mov ecx, esi
call fcn.1002cda0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004590
push 0x100aa7a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1002e830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002cede
push 0
mov ecx, esi
call fcn.1002cda0
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002ceef
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x1002cf31
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x1002cf31
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1002cf31
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.10004780
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10005260
lea ecx, [ebp - 0x2c]
call fcn.1002c3b0
lea ecx, [ebp - 0x28]
call fcn.10005260
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.1002f2ae
mov esp, ebp
pop ebp
ret 4
Function at 0x10035e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.1002f960
mov eax, dword [0x100cb8d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x20]
test esi, esi
je 0x10035f95
cmp word [esi], 0
je 0x10035f95
cmp dword [ebp + 0x14], 0
je 0x10035e5c
push esi
call fcn.10055720
add esp, 4
test eax, eax
je 0x10035f95
xorps xmm0, xmm0
mov dword [ebp - 0x1058], 0x44
lea eax, [ebp - 0x1058]
movlpd qword [ebp - 0x1054], xmm0
push eax
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x1044], xmm0
movlpd qword [ebp - 0x103c], xmm0
movlpd qword [ebp - 0x1034], xmm0
movlpd qword [ebp - 0x102c], xmm0
movlpd qword [ebp - 0x1024], xmm0
movlpd qword [ebp - 0x101c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x10]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x1028], ax
lea eax, [ebp - 0x1004]
push 0
push eax
mov dword [ebp - 0x102c], 1
movups xmmword [ebp - 0x1014], xmm0
call fcn.1006f1a0
add esp, 0xc
lea eax, [ebp - 0x1004]
test ebx, ebx
je 0x10035f07
push ebx
push esi
push str.__s___s
push eax
call fcn.10035de0
add esp, 0x10
jmp 0x10035f16
push esi
push str.__s_
push eax
call fcn.10035de0
add esp, 0xc
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x10035f82
cmp dword [ebp + 0x18], 0
je 0x10035f5a
push dword [ebp + 0x1c]
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x10035f6c
push dword [edi]
push dword [ebp - 0x1014]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x1010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1014]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f2ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f2ae
mov esp, ebp
pop ebp
ret
Function at 0x1003fb30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d772
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100cb8d4]
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
mov dword [ebp - 0x30], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [edi + 0x48], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
mov dword [ecx + 0x10], eax
push 7
mov dword [ecx + 0x14], 7
push str.Default
mov word [ecx], ax
call fcn.10007fb0
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x100a17b8
lea ecx, [ebp - 0x28]
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007fb0
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi*4 + 0x100ac2c8]
lea ecx, [ebp - 0x40]
call fcn.1003f800
mov esi, eax
cmp edi, esi
je 0x1003fca0
mov ecx, edi
call fcn.10016370
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x40]
call fcn.10016370
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1003fcde
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fcd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fcfd
push edx
push ecx
call fcn.1002ef38
add esp, 8
mov eax, edi
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.1002f2ae
mov esp, ebp
pop ebp
ret 4
call fcn.10072639
int3
Function at 0x100423c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ca5b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100cb8d4]
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 + 0xc]
mov esi, dword [ebp + 8]
push edi
push esi
push str.APPDATA
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb ebx, ebx
and ebx, 0x7ff8ffa9
add ebx, 0x80070057
test eax, eax
je 0x10042567
push str.MicrosoftWindowsStart_MenuPrograms_
push edi
push esi
call fcn.1007291a
add esp, 0xc
neg eax
sbb ebx, ebx
and ebx, 0x80070057
call fcn.1002d450
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042567
push 0x65
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutilsldsutilswintoastwintoastlib.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10007eb0
push 3
push 0x100a17bc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10007eb0
mov byte [ebp - 4], 1
call fcn.1002d450
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xf1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100047d0
mov esi, eax
push str.Default_shell_link_path:
push esi
mov byte [ebp - 4], 2
call fcn.10005940
mov eax, dword [ebp - 0x44]
mov ecx, 0x100a186c
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10002df0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005b70
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10042525
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004251b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042585
push edx
push ecx
call fcn.1002ef38
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10042567
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004255d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004258a
push edx
push ecx
call fcn.1002ef38
add esp, 8
mov eax, ebx
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.1002f2ae
mov esp, ebp
pop ebp
ret
call fcn.10072639
call fcn.10072639
int3
Function at 0x10047750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100cb8d4]
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, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.10048430
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x100477b7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10047835
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.10048430
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100477fb
mov ecx, eax
call fcn.10005260
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10047835
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004782b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004793d
push edx
push ecx
call fcn.1002ef38
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x10047860
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x100a17b8
mov word [edi], ax
call fcn.10007fb0
jmp 0x10047916
call fcn.1000ecd0
mov ecx, eax
test ecx, ecx
je 0x10047942
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000c8d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10047a10
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100478c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100478e2
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.10007fb0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10047916
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10005260
mov eax, edi
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.1002f2ae
mov esp, ebp
pop ebp
ret 8
call fcn.10072639
push 0x80004005
call fcn.1000dc10
int3
Function at 0x1004a7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ea62
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x100cb8d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
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 ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x1004a8e0
test eax, eax
je 0x1004a8e0
test ebx, ebx
je 0x1004a8e0
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004a8cf
cmp dword [ebp - 0x818], eax
je 0x1004a8e0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1006f1a0
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1004a8cf
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004a8b1
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007fb0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1004a8e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f2ae
mov esp, ebp
pop ebp
ret 0x10