joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10006250
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000615d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100060ca
mov eax, dword [ebp - 4]
cmp eax, dword [0x1000e004]
ja 0x100060ca
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000609a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100060ef
jmp 0x1000615d
cmp dword [ebp - 0x14], 0x10000
jne 0x10006143
cmp dword [ebp - 0x18], 0x10000
jb 0x10006143
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006126
mov eax, dword [ebp - 8]
jmp 0x1000615f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10006136
xor eax, eax
jmp 0x1000615f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10006158
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10006250
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000609a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10006170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10006280
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10006245
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100061b5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1000e004]
ja 0x100061b5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10006185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100061da
jmp 0x10006245
cmp dword [ebp - 0x14], 0x10000
jne 0x1000622e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000622e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006211
mov eax, dword [ebp - 8]
jmp 0x10006247
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10006221
xor eax, eax
jmp 0x10006247
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10006240
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10006280
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10006185
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100062b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100066a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1000f7f0], 0
jne 0x100062ed
cmp dword [0x1000f7ec], 0
je 0x100062ed
mov eax, dword [0x1000f7ec]
mov dword [0x1000f7f0], eax
cmp dword [0x1000f7f0], 0
je 0x1000636a
mov ecx, dword [0x1000f7f0]
cmp dword [ecx + 8], 0
je 0x1000636a
mov edx, dword [0x1000f7f0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000636a
mov ecx, dword [0x1000f7f0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000636a
mov eax, dword [0x1000f7f0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10006339
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10006340
xor eax, eax
jmp 0x10006489
mov ecx, dword [0x1000f7f0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10006489
mov edx, dword [0x1000f7ec]
mov dword [0x1000f7f0], edx
jmp 0x10006386
mov eax, dword [0x1000f7f0]
mov ecx, dword [eax + 4]
mov dword [0x1000f7f0], ecx
cmp dword [0x1000f7f0], 0
je 0x100063c6
cmp dword [0x1000f7f0], 0
je 0x100063c4
mov edx, dword [0x1000f7f0]
cmp dword [edx + 8], 0
je 0x100063c4
mov eax, dword [0x1000f7f0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x100063c4
mov edx, dword [0x1000f7f0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x100063c4
jmp 0x1000631e
jmp 0x10006378
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006490
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10006487
mov eax, dword [ebp - 0x18]
mov dword [0x1000f7f0], eax
mov ecx, dword [0x1000f7f0]
mov dword [ecx], 0x52727464
mov edx, dword [0x1000f7f0]
mov dword [edx + 8], 0
mov eax, dword [0x1000f7f0]
mov ecx, dword [0x1000f7ec]
mov dword [eax + 4], ecx
mov edx, dword [0x1000f7f0]
mov dword [0x1000f7ec], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1000f7f0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10006457
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10006477
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1000644e
mov eax, dword [0x1000f7f0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000631e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100071d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1000f7ec]
mov dword [ebp - 4], eax
jmp 0x100071e9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10007210
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000720e
call sub.KERNEL32.dll_GetLastError
jmp 0x10007212
jmp 0x100071e0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100076b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1000f7fc], eax
je 0x100076d4
mov eax, 0x10dd
jmp 0x1000787c
cmp dword [0x1000f800], 0
je 0x100076e7
mov eax, dword [0x1000f800]
jmp 0x1000787c
cmp dword [ebp + 0xc], 0
jne 0x100076f7
mov eax, 0x57
jmp 0x1000787c
cmp dword [ebp + 8], 0
jne 0x10007707
mov eax, 6
jmp 0x1000787c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10007730
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1000f800], ecx
mov edx, dword [ebp + 8]
mov dword [0x1000f804], edx
mov eax, dword [ebp - 8]
jmp 0x1000787c
push 0x18
call fcn.10008d71
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000778b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1000f800], ecx
cmp dword [ebp - 4], 0
je 0x1000777a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10008d63
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1000f804], ecx
mov eax, dword [ebp - 8]
jmp 0x1000787c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10007690
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10007690
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x100077cb
cmp dword [ebp - 0xc], 0x1e
jbe 0x100077e7
mov dword [ebp - 8], 9
cmp dword [0x1000f7f4], 0
je 0x100077e2
jmp 0x10007759
jmp 0x10007750
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000780e
mov dword [ebp - 8], 9
cmp dword [0x1000f7f4], 0
je 0x10007809
jmp 0x10007759
jmp 0x10007750
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10007839
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10007750
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1000f80c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1000f80c], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10007890
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1000f7fc], eax
je 0x100078ad
mov eax, 0x10dd
jmp 0x10007990
mov eax, dword [0x1000f80c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000792c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10007908
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10007908
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10006730
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10008d63
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100078b5
mov dword [0x1000f80c], 0
call fcn.10007010
mov ecx, dword [0x1000f808]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000797a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10008d63
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10007944
mov dword [0x1000f808], 0
mov dword [0x1000f7fc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10007e70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1000f800], 0
je 0x10007e89
mov eax, dword [0x1000f800]
jmp 0x10007f28
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10007e9a
xor eax, eax
jmp 0x10007f28
push 8
call fcn.10008d71
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10007ef2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10007edb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10008d63
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1000f800], eax
mov dword [0x1000f804], 0
mov eax, dword [ebp - 8]
jmp 0x10007f28
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10007f0a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10007eba
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1000f808]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1000f808], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x406cf2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440f11
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
mov dword [esp + 0xc0], esi
cmp eax, esi
je 0x406e03
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], esi
je 0x406dcd
cmp dword [0x45cc10], 1
jg 0x406dcd
lea eax, [esp + 0x1c]
push eax
call fcn.00402148
lea eax, [esp + 0x1c]
push str.finish_waiting_for_mutex:
push eax
mov byte [esp + 0xc8], 1
call fcn.00404dc5
pop ecx
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.00403a59
lea eax, [esp + 0x1c]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_MsiUtils.cpp
mov esi, 0x45cc10
call fcn.00405300
lea eax, [esp + 0x1c]
mov byte [esp + 0xc0], 0
call fcn.004015ae
cmp dword [esp + 0x10], 0x102
jne 0x406e03
xor bl, bl
or dword [esp + 0xc0], 0xffffffff
push dword [esp + 0x14]
call fcn.0041490f
pop ecx
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x406dd9

Function at 0x4080d3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004274c0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
leave
ret

Function at 0x408350
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x43e062
call fcn.0042be7d
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.0040792f
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x4083ac
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0040792f
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401d95
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004092ff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402a69
test esi, esi
je 0x4083db
push esi
call fcn.00425436
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.0042bf00
ret
Function at 0x408620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440ecd
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor esi, esi
push 0x104
lea eax, [esp + 0x118]
push esi
push eax
mov edi, ecx
mov dword [esp + 0x2c], esi
call fcn.004274c0
add esp, 0xc
lea eax, [esp + 0x114]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x40876c
lea eax, [esp + 0x34]
push eax
call fcn.00402148
lea eax, [esp + 0x34]
push str.SHGetFolderPath_0x
push eax
mov dword [esp + 0x238], esi
call fcn.00404dc5
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
pop ecx
lea eax, [esp + eax + 0x38]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [esp + 0x38]
push eax
call fcn.0040782a
lea eax, [esp + 0x34]
push str.__mode
push eax
call fcn.00404dc5
pop ecx
pop ecx
push 1
lea eax, [esp + 0x38]
push eax
call fcn.0040782a
lea eax, [esp + 0x34]
push 0x44784c
push eax
call fcn.00404dc5
pop ecx
pop ecx
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x28]
call fcn.00415481
lea ecx, [esp + 0xe8]
mov byte [esp + 0x230], 1
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_SysInfo.cpp
mov dword [esp + 0x1c], str.SysInfo::SHGetFolderPathAdapter
mov dword [esp + 0x20], 0x1bf
call fcn.00408dbf
lea eax, [esp + 0xec]
mov dword [esp], 0x450888
push eax
call fcn.0042b9e4
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xd0]
call fcn.00401d95
lea edx, [esp + 0xcc]
mov eax, edi
mov dword [esp + 0x230], 2
call fcn.004092ff
push esi
push 1
lea ecx, [esp + 0xd4]
call fcn.00402a69
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00425441
mov esp, ebp
pop ebp
ret

Function at 0x409093
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x40909b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x4090ab
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x4090b3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4090c7
test al, 0x10
je 0x4090c7
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x409374
Capabilities:
Delete file

Disassembly:
push 0x9c
mov eax, 0x43fd31
call fcn.0042be14
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x40938f
mov eax, dword [edi]
jmp 0x409391
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
xor ebx, ebx
cmp al, bl
je 0x40942f
cmp dword [0x45cc10], ebx
jg 0x40942b
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00401d74
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
call fcn.00402148
lea eax, [ebp - 0xa8]
push str.Deleted__
push eax
mov byte [ebp - 4], 1
call fcn.00404dc5
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00403968
mov esi, eax
push str.__file
push esi
call fcn.00404dc5
pop ecx
pop ecx
push esi
push 0x25e
push ebx
mov ebx, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.00405300
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004015ae
mov al, 1
jmp 0x40943e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040935f
add esp, 4
call fcn.0042beec
ret
Function at 0x409444
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00409374
mov byte [esp + 0xf], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0xf], 0
jne 0x40960f
cmp eax, 5
jne 0x4095f8
cmp dword [edi + 0x14], 0x10
jb 0x409485
mov eax, dword [edi]
jmp 0x409487
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 5
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0xffffffff
jne 0x4094a4
xor al, al
jmp 0x409612
test bl, 1
je 0x4095f8
and ebx, 0xfffffffe
cmp dword [edi + 0x14], 0x10
jb 0x4094ba
mov eax, dword [edi]
jmp 0x4094bc
mov eax, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call ebx
test eax, eax
je 0x40954f
cmp dword [0x45cc10], 0
jg 0x40953f
lea eax, [esp + 0x20]
push eax
call fcn.00402148
lea eax, [esp + 0x20]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00404dc5
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00401d74
lea esi, [esp + 0x3c]
call fcn.00403968
mov esi, eax
push str.__file
push esi
call fcn.00404dc5
pop ecx
pop ecx
push esi
push 0x276
push 0
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.00405300
lea eax, [esp + 0x20]
call fcn.004015ae
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00409374
mov byte [esp + 0xf], al
jmp 0x4095f1
cmp dword [0x45cc10], 2
jg 0x4095e9
lea eax, [esp + 0x20]
push eax
call fcn.00402148
lea eax, [esp + 0x20]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00404dc5
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00401d74
lea esi, [esp + 0x3c]
call fcn.00403968
mov esi, eax
push str.__file._File_will_not_be_deleted
push esi
call fcn.00404dc5
pop ecx
pop ecx
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov ecx, ebx
lea edi, [esp + 0x20]
call fcn.0041479b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
push 0x27c
push 2
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.00401671
lea ecx, [esp + 0x14]
call fcn.004258e8
lea eax, [esp + 0x20]
call fcn.004015ae
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [esp + 0xf], 0
jne 0x40960f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040935f
add esp, 4
test al, al
jne 0x40960f
xor eax, eax
jmp 0x409612
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409619
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x409632
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
test al, al
je 0x4096ba
cmp dword [0x45cc10], 0
jg 0x4096b0
lea eax, [esp + 0x10]
push eax
call fcn.00402148
lea eax, [esp + 0x10]
push str.Deleted__
push eax
call fcn.00404dc5
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x28], esp
push edi
call fcn.00401d74
lea esi, [esp + 0x2c]
call fcn.00403968
mov esi, eax
push str.__directory
push esi
call fcn.00404dc5
pop ecx
pop ecx
push esi
push 0x291
push 0
mov ebx, str.FileUtils::deleteDirectory
mov edi, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.00405300
lea eax, [esp + 0x10]
call fcn.004015ae
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040935f
add esp, 4
test al, al
jne 0x4096b0
xor eax, eax
jmp 0x4096b3