joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419872
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x467bc5
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x4198a8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4199e2
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x4198b8
mov eax, dword [edi]
jmp 0x4198ba
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x419913
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.004194f1
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.004089c9
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0040102d
push 0x48627c
mov eax, esi
push eax
call fcn.00451224
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.004128e4
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x419948
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4199a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.004194f1
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.004089c9
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040102d
push 0x48627c
mov eax, esi
jmp 0x41990d
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.004128e4
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.00419b08
cmp dword [ebp - 0x98], ebx
je 0x4199dc
push dword [ebp - 0x98]
call fcn.0044957e
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.00451740
ret

Function at 0x41a174
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x46e11c
call fcn.00451654
mov edi, ecx
lea ebx, [edi + 0x44]
mov eax, ebx
lea esi, [ebp - 0x28]
call fcn.00435f4f
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
and dword [edi + 0x50], 0
mov ecx, edi
call fcn.0041a26b
mov eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0043618e
lea ebx, [edi + 0x54]
mov eax, ebx
lea esi, [ebp - 0x40]
call fcn.00435f4f
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x41a1d2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x40]
call fcn.00435f99
mov edi, dword [edi + 0x50]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00435f99
mov eax, edi
call fcn.0045172c
ret
Function at 0x423376
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cb5b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0xec]
mov ebx, ecx
push eax
mov edi, esi
mov dword [esp + 0x18], ebx
call fcn.0042dbdf
pop ecx
xor edi, edi
push esi
lea eax, [esp + 0x10c]
mov dword [esp + 0x1a4], edi
call fcn.0042dc93
pop ecx
xor eax, eax
inc eax
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0xfc], edi
je 0x42344e
push eax
lea eax, [esp + 0xf0]
push eax
lea edi, [esp + 0x148]
call fcn.00422857
mov byte [esp + 0x1a0], 2
push dword [ebp + 0xc]
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
call fcn.00423376
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.004228db
push 0
push 1
lea ecx, [esp + 0x110]
call fcn.00403353
push 0
jmp 0x4235cc
cmp dword [esi + 0x14], 0x10
jb 0x423458
mov ecx, dword [esi]
jmp 0x42345a
mov ecx, esi
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push edi
push ecx
push eax
call ebx
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x423548
push str.set_dword_value
lea ecx, [esp + 0x128]
call fcn.00402573
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
push esi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.00423e44
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.00422632
push str.System_error
push dword [esp + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 6
call fcn.00436725
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 7
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setDword
mov dword [esp + 0x28], 0x173
call fcn.0041c4f8
lea eax, [esp + 0x16c]
mov dword [esp], 0x4864a4
push eax
call fcn.00451224
cmp dword [0x49a024], edi
jg 0x4235bc
mov eax, dword [esp + 0x14]
mov ecx, esi
lea esi, [esp + 0xd0]
call fcn.00422b13
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x1ac], 8
call fcn.004240cb
add esp, 0xc
push str.Registry::setDword
push 0x176
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
push edi
mov edx, eax
mov ecx, 0x49a024
mov byte [esp + 0x1b0], 9
call fcn.0042432e
push edi
push 1
lea ecx, [esp + 0x12c]
call fcn.00403353
push edi
push 1
mov ecx, esi
call fcn.00403353
push edi
push 1
lea ecx, [esp + 0x110]
call fcn.00403353
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.00403353
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret 8
Function at 0x423c79
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0xc4]
push eax
mov ebx, ecx
call fcn.0042dbdf
pop ecx
push edi
lea eax, [esp + 0xe4]
call fcn.0042dc93
xor esi, esi
pop ecx
cmp dword [esp + 0xd4], esi
je 0x423dad
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
push esi
or ecx, 0x2001f
push ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00422676
mov esi, dword [esp + 0x30]
add esp, 0x14
test esi, esi
je 0x423d40
cmp byte [esp + 0x18], 0
je 0x423d07
push dword [esp + 0x14]
mov byte [esp + 0x1c], 0
call fcn.00431321
pop ecx
push 0
push 1
lea ecx, [esp + 0xe8]
call fcn.00403353
push 0
push 1
lea ecx, [esp + 0xcc]
call fcn.00403353
mov ecx, dword [esp + 0x124]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret 8
push 0x498ce9
lea eax, [esp + 0xe4]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [esp + 0x28]
mov byte [eax + 4], cl
mov dword [esp + 0x20], esp
push ebx
lea ecx, [esp + 0xd8]
lea edi, [esp + 0x110]
mov byte [esp + 0x2c], 0
call fcn.004227d4
mov ecx, eax
call fcn.00423c79
lea esi, [esp + 0xfc]
mov edi, eax
call fcn.004228db
cmp byte [esp + 0x18], 0
je 0x423da6
push dword [esp + 0x14]
mov byte [esp + 0x1c], 0
call fcn.00431321
pop ecx
mov esi, edi
jmp 0x423d07
cmp dword [edi + 0x14], 0x10
jb 0x423db7
mov ecx, dword [edi]
jmp 0x423db9
mov ecx, edi
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x423e3b
cmp dword [0x49a024], esi
jg 0x423e3b
lea eax, [esp + 0x28]
push eax
call fcn.00402897
lea eax, [esp + 0x28]
push str.Deleted__
push eax
call fcn.00405650
sub esp, 0x14
mov ecx, edi
mov esi, esp
mov eax, ebx
mov dword [esp + 0x40], esp
call fcn.00422b13
lea esi, [esp + 0x44]
call fcn.004043f5
mov esi, eax
push str.__value
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x1c3
push 0
mov ebx, str.Registry::deleteValue
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [esp + 0x28]
call fcn.004015c3
mov esi, dword [esp + 0x10]
jmp 0x423d07
Function at 0x425a0c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x425ab0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.004499dc
mov dword [esp + 0x20], vtable.std::invalid_argument.0
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::format
mov dword [esp + 0x20], 0x1b
call fcn.0042632c
lea eax, [esp + 0x4c]
mov dword [esp], 0x486598
push eax
call fcn.00451224
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.00419aed
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x425aeb
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.0044ef4b
add esp, 0x14
cmp eax, 0xffffffff
je 0x425aca
lea ecx, [esp + 0x2c]
call fcn.00419aed
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.0040319c
push ebx
push 1
mov ecx, esi
call fcn.00403353
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret
Function at 0x42ca71
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.0044b630
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 0x42ced5
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x466f0d
call fcn.004516bd
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.0042c009
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 0x42cf31
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0042c009
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.00402573
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042de14
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
test esi, esi
je 0x42cf60
push esi
call fcn.0044957e
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00451740
ret

Function at 0x42d00e
Capabilities:
Get common file path

Disassembly:
push 0x20c
mov eax, 0x46bfd0
call fcn.004516bd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044b630
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42d13c
lea eax, [ebp - 0x218]
push eax
call fcn.00402897
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405650
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405650
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push 0x4793cc
push eax
call fcn.00405650
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00433f6e
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x19a
call fcn.0042d560
lea eax, [ebp - 0x160]
mov dword [esp], 0x4867d4
push eax
call fcn.00451224
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402573
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042de14
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.00403353
mov eax, edi
call fcn.00451740
ret
Function at 0x42d751
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x46bf26
call fcn.004516bd
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.0042d733
mov edi, eax
test edi, edi
jne 0x42d809
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.0041c4f8
lea eax, [ebp - 0x58]
mov dword [esp], 0x4864a4
push eax
call fcn.00451224
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x42d88d
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x42d7e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x42d8bd
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x42d8ae
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x42d8a4
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x42d8cc
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.00451740
ret 4

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

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

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42dbc8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42dbdc
test al, 0x10
je 0x42dbdc
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42e2e6
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46beb2
call fcn.004516bd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42e30d
lea eax, [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42e3d7
cmp dword [0x49a024], 0
jg 0x42e3ad
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004043f5
mov esi, eax
push str.__directory
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015c3
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42e3ef
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042de14
push eax
mov byte [ebp - 4], 4
call fcn.00423ff7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
jmp 0x42e3ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42e401
lea eax, [ebp + 8]
call fcn.0042dbc0
test al, al
je 0x42e401
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403353
call fcn.00451740
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00436725
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041c4f8
lea eax, [ebp - 0x38]
mov dword [esp], 0x4864a4
push eax
call fcn.00451224
int3
Function at 0x42ea19
Capabilities:
Delete file

Disassembly:
push 0x9c
mov eax, 0x46961d
call fcn.00451654
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x42ea34
mov eax, dword [edi]
jmp 0x42ea36
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
xor ebx, ebx
cmp al, bl
je 0x42ead4
cmp dword [0x49a024], ebx
jg 0x42ead0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00402552
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
call fcn.00402897
lea eax, [ebp - 0xa8]
push str.Deleted__
push eax
mov byte [ebp - 4], 1
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004043f5
mov esi, eax
push str.__file
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x25b
push ebx
mov ebx, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004015c3
mov al, 1
jmp 0x42eae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042ea04
add esp, 4
call fcn.0045172c
ret
Function at 0x42eae9
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.0042ea19
mov byte [esp + 0xf], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0xf], 0
jne 0x42ecb4
cmp eax, 5
jne 0x42ec9d
cmp dword [edi + 0x14], 0x10
jb 0x42eb2a
mov eax, dword [edi]
jmp 0x42eb2c
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 0x42eb49
xor al, al
jmp 0x42ecb7
test bl, 1
je 0x42ec9d
and ebx, 0xfffffffe
cmp dword [edi + 0x14], 0x10
jb 0x42eb5f
mov eax, dword [edi]
jmp 0x42eb61
mov eax, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call ebx
test eax, eax
je 0x42ebf4
cmp dword [0x49a024], 0
jg 0x42ebe4
lea eax, [esp + 0x20]
push eax
call fcn.00402897
lea eax, [esp + 0x20]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00405650
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00402552
lea esi, [esp + 0x3c]
call fcn.004043f5
mov esi, eax
push str.__file
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x273
push 0
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [esp + 0x20]
call fcn.004015c3
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0042ea19
mov byte [esp + 0xf], al
jmp 0x42ec96
cmp dword [0x49a024], 2
jg 0x42ec8e
lea eax, [esp + 0x20]
push eax
call fcn.00402897
lea eax, [esp + 0x20]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00405650
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00402552
lea esi, [esp + 0x3c]
call fcn.004043f5
mov esi, eax
push str.__file._File_will_not_be_deleted
push esi
call fcn.00405650
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.00436725
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
push 0x279
push 2
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016e2
lea ecx, [esp + 0x14]
call fcn.00449a38
lea eax, [esp + 0x20]
call fcn.004015c3
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [esp + 0xf], 0
jne 0x42ecb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042ea04
add esp, 4
test al, al
jne 0x42ecb4
xor eax, eax
jmp 0x42ecb7
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ed8f
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 0x42eda8
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
test al, al
je 0x42ee30
cmp dword [0x49a024], 0
jg 0x42ee26
lea eax, [esp + 0x10]
push eax
call fcn.00402897
lea eax, [esp + 0x10]
push str.Deleted__
push eax
call fcn.00405650
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x28], esp
push edi
call fcn.00402552
lea esi, [esp + 0x2c]
call fcn.004043f5
mov esi, eax
push str.__directory
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x28e
push 0
mov ebx, str.FileUtils::deleteDirectory
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [esp + 0x10]
call fcn.004015c3
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.0042ea04
add esp, 4
test al, al
jne 0x42ee26
xor eax, eax
jmp 0x42ee29