joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0x4fb41a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fb421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fb410
mov eax, 1
add ebx, ebx
jne 0x4fb433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fb444
jne 0x4fb463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fb463
dec eax
add ebx, ebx
jne 0x4fb450
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fb428
add ebx, ebx
jne 0x4fb45f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fb4b5
xor ecx, ecx
sub eax, 3
jb 0x4fb47b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fb4ea
sar eax, 1
mov ebp, eax
jmp 0x4fb486
add ebx, ebx
jne 0x4fb486
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fb454
inc ecx
add ebx, ebx
jne 0x4fb494
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fb454
add ebx, ebx
jne 0x4fb4a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fb496
jne 0x4fb4b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fb496
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fb4d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fb4c6
jmp 0x4fb416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fb4d4
add edi, ecx
jmp 0x4fb416
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fb4f2
cmp byte [edi], 0x17
jne 0x4fb4f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4fb4f7
lea edi, [esi + 0xf5000]
mov eax, dword [edi]
or eax, eax
je 0x4fb566
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11504c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1150e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fb524
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1150e8]
or eax, eax
je 0x4fb560
mov dword [ebx], eax
add ebx, 4
jmp 0x4fb541
call dword [esi + 0x1150e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4fb597
cmp al, 0xef
ja 0x4fb58a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4fb56c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4fb579
mov ebp, dword [esi + 0x1150ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4fb5cb
sub esp, 0xffffff80
jmp 0x435126
Function at 0x41f589
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.0041f1fd
cmp dword [ebp - 0x24], 0
je 0x41f620
mov eax, dword [ebx + 8]
mov esi, 0x47b478
push 0
or eax, 0x2001f
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00420194
mov edi, dword [ebp - 0x64]
add esp, 0x18
test edi, edi
jne 0x41f613
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x6c]
push ecx
push ecx
mov ecx, esp
push ebx
mov dword [ecx], eax
mov al, byte [ebp - 0x68]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x68], 0
call fcn.0041f234
mov ecx, eax
call fcn.0041f589
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.0041f4b5
lea ecx, [ebp - 0x6c]
call fcn.0041f46b
jmp 0x41f6b8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41f62a
mov eax, dword [esi]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test edi, edi
jne 0x41f6b8
push eax
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x41f6b8
push 1
lea ecx, [ebp - 0x104]
call fcn.00402e2f
lea eax, [ebp - 0x104]
push str.Deleted__
push eax
call fcn.00402775
sub esp, 0x10
mov ecx, ebx
mov eax, esp
push esi
push eax
call fcn.0041f84e
lea ecx, [ebp - 0x104]
call fcn.0040adeb
mov esi, eax
push str.__value
push esi
call fcn.00402775
pop ecx
pop ecx
push esi
push str.Registry::deleteValue
push 0x1d2
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
push edi
call fcn.00418a5b
mov ecx, eax
call fcn.0040f32d
lea ecx, [ebp - 0x104]
call fcn.00403921
lea ecx, [ebp - 0x1c]
call fcn.00408398
lea ecx, [ebp - 0x34]
call fcn.00408398
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044119a
leave
ret 8
Function at 0x41fd0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x4695b3
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 0xb4]
lea ecx, [ebp + 0x78]
mov ebx, dword [ebp + 0xb8]
mov eax, dword [ebp + 0xbc]
mov dword [ebp - 0x18], esi
push ebx
mov dword [ebp - 0x18], eax
call fcn.0041f1fd
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x88], eax
je 0x41fdad
push eax
lea eax, [ebp + 0x78]
push eax
push edi
lea ecx, [ebp + 0x3c]
call fcn.0041f34c
push dword [ebp - 0x18]
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.0041fd0d
lea ecx, [ebp + 0x3c]
call fcn.0041f4b5
jmp 0x41fe44
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov edx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 2
mov eax, edx
sub eax, ecx
cmp ecx, edx
mov dword [ebp - 0x14], eax
sete byte [ebp - 0xd]
xor eax, eax
cmp ecx, edx
cmove ecx, eax
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x41fddc
mov eax, dword [ebx]
lea edx, [ebp - 0x14]
push edx
push ecx
push dword [ebp - 0x18]
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp edi, 0xea
je 0x41fe0a
cmp byte [ebp - 0xd], 0
je 0x41fe22
test edi, edi
jne 0x41fe7e
test ecx, ecx
je 0x41fe26
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00416934
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x41fdbe
test edi, edi
jne 0x41fe7e
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00416934
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
lea ecx, [ebp + 0x90]
call fcn.00408398
lea ecx, [ebp + 0x78]
call fcn.00408398
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 + 0xa8]
xor ecx, ebp
call fcn.0044119a
add ebp, 0xac
leave
ret 0xc
push str.query_value
lea ecx, [ebp + 0x60]
call fcn.00402f12
lea ecx, [ebp]
call fcn.00402f63
mov ecx, dword [ebp - 0x28]
push eax
push ebx
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0041f87e
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.004198a2
push str.System_error
push edi
push dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x38]
call fcn.0042d244
mov esi, eax
push 0x12b
push str.Registry::getValue
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00403093
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp + 0x18]
push 0x48bc80
push eax
call fcn.00442f9e
int3
Function at 0x420243
Capabilities:
Set registry value

Disassembly:
push 0x17c
mov eax, 0x46971c
call fcn.0044120d
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xec], eax
call fcn.0041f1fd
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
je 0x4202ae
push 1
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0xac]
call fcn.0041f34c
push ebx
push dword [ebp - 0xec]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00420243
lea ecx, [ebp - 0xac]
call fcn.0041f4b5
jmp 0x4203a0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4202b8
mov eax, dword [esi]
push ebx
push dword [ebp - 0xec]
push 3
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xec], eax
test eax, eax
jne 0x4203b8
push eax
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x4203a0
push 1
lea ecx, [ebp - 0x188]
call fcn.00402e2f
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 7
push str.length
push eax
call fcn.00402775
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x188]
call fcn.0040c44b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x184]
call fcn.00408e47
push esi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.0041f84e
push 3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041f092
add esp, 0x10
push eax
push str.Registry::setBinary
push 0x1b3
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 0xa
call fcn.00418a5b
mov ecx, eax
call fcn.00418cd0
lea ecx, [ebp - 0x40]
call fcn.00408398
lea ecx, [ebp - 0x88]
call fcn.00408398
lea ecx, [ebp - 0x28]
call fcn.00408398
lea ecx, [ebp - 0x188]
call fcn.00403921
lea ecx, [ebp - 0x58]
call fcn.00408398
lea ecx, [ebp - 0x70]
call fcn.00408398
call fcn.004411bc
ret 0xc
push str.set_binary_value
lea ecx, [ebp - 0x40]
call fcn.00402f12
lea ecx, [ebp - 0xe8]
call fcn.00402f63
push eax
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0041f87e
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 4
call fcn.004198a2
push str.System_error
push dword [ebp - 0xec]
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0042d244
mov esi, eax
push 0x1ae
push str.Registry::setBinary
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00403093
push eax
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0xd0]
push 0x48bc80
push eax
call fcn.00442f9e
int3
Function at 0x42045c
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x4697a2
call fcn.0044120d
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push esi
call fcn.0041f1fd
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x4204b7
push 1
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.0041f34c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0042045c
lea ecx, [ebp - 0x94]
call fcn.0041f4b5
jmp 0x420546
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4204c1
mov eax, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push 0
push eax
push dword [edi]
call ebx
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x42055e
xor ebx, ebx
push ebx
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x420546
push esi
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.0041f84e
push ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041efb5
add esp, 0x10
push eax
push str.Registry::setDword
push 0x184
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
push ebx
mov byte [ebp - 4], 8
call fcn.00418a5b
mov ecx, eax
call fcn.00418cd0
lea ecx, [ebp - 0x28]
call fcn.00408398
lea ecx, [ebp - 0x70]
call fcn.00408398
lea ecx, [ebp - 0x40]
call fcn.00408398
lea ecx, [ebp - 0x58]
call fcn.00408398
call fcn.004411bc
ret 8
push str.set_dword_value
lea ecx, [ebp - 0x28]
call fcn.00402f12
lea ecx, [ebp - 0xd0]
call fcn.00402f63
push eax
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0041f87e
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.004198a2
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push ebx
push eax
lea ecx, [ebp - 0xe0]
call fcn.0042d244
mov esi, eax
push 0x181
push str.Registry::setDword
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00403093
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bc80
push eax
call fcn.00442f9e
int3
Function at 0x420600
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x4697a2
call fcn.0044120d
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
push edi
call fcn.0041f1fd
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x42065c
push 1
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x94]
call fcn.0041f34c
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00420600
lea ecx, [ebp - 0x94]
call fcn.0041f4b5
jmp 0x4206f0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x420666
mov edx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x420670
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
inc eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x420708
push eax
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x4206f0
push edi
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0041f84e
push 0
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0041f092
add esp, 0x10
push eax
push str.Registry::setString
push 0x193
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 8
call fcn.00418a5b
mov ecx, eax
call fcn.00418cd0
lea ecx, [ebp - 0x28]
call fcn.00408398
lea ecx, [ebp - 0x70]
call fcn.00408398
lea ecx, [ebp - 0x40]
call fcn.00408398
lea ecx, [ebp - 0x58]
call fcn.00408398
call fcn.004411bc
ret 8
push str.set_string_value
lea ecx, [ebp - 0x28]
call fcn.00402f12
lea ecx, [ebp - 0xd0]
call fcn.00402f63
push eax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0041f87e
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.004198a2
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0042d244
mov esi, eax
push 0x190
push str.Registry::setString
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00403093
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bc80
push eax
call fcn.00442f9e
int3
Function at 0x42ca8a
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x46b475
call fcn.0044120d
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], esi
push eax
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00407f6a
lea edi, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
jb 0x42cad3
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x42cb99
lea ecx, [ebp - 0x35]
push ecx
push eax
mov ecx, edi
call fcn.00416934
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x42cb00
mov ecx, dword [esi]
push dword [edi]
push eax
push dword [ebp - 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42cb8f
push 0x487
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00403093
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoA
push 0x472a88
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00402ef6
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.00403205
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.00402760
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040adeb
mov ecx, eax
call fcn.00402760
push eax
lea ecx, [ebp - 0x50]
call fcn.0042d244
mov byte [ebp - 4], 9
jmp 0x42cc13
mov eax, esi
call fcn.004411bc
ret 4
push 0x47e
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00403093
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x472a88
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00402ef6
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00403205
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.00402760
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040adeb
mov ecx, eax
call fcn.00402760
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042d244
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041a69e
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x48bc80
push eax
call fcn.00442f9e
int3

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x42d0fb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42d10e
test al, 0x10
je 0x42d10e
mov al, 1
ret
xor al, al
ret
Function at 0x43287e
Capabilities:
Write file on windows

Disassembly:
push 0xd4
mov eax, 0x46c617
call fcn.0044120d
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xe0]
xor ebx, ebx
call fcn.00439370
push dword [esi + 4]
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
call fcn.00437ec7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00408e47
push edi
mov byte [ebp - 4], 1
call fcn.00438d74
pop ecx
cmp dword [ebp - 0x18], ebx
jne 0x4328ef
mov esi, 0x4719bc
push esi
call fcn.00446b50
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408475
push 0x47b478
push 0x47632c
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00439042
add esp, 0x10
mov cl, byte [eax + 4]
mov edx, dword [eax]
mov byte [eax + 4], bl
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x34], cl
cmp byte [ebp - 0x3c], 0
mov byte [ebp - 4], 3
je 0x43292d
push dword [ebp - 0x40]
mov byte [ebp - 0x3c], bl
call fcn.00465da1
mov edx, dword [ebp - 0x38]
pop ecx
mov byte [ebp - 4], 2
test edx, edx
jne 0x4329a8
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00438d32
pop ecx
pop ecx
mov bl, byte [eax + 4]
mov esi, dword [eax]
mov byte [eax + 4], 0
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 5
je 0x432967
push dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
call fcn.00465d95
pop ecx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x132
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
push esi
call fcn.0044dc2f
add esp, 0xc
push eax
call fcn.00432539
add esp, 0xc
mov byte [ebp - 4], 6
test bl, bl
je 0x432a21
push esi
call fcn.00465d95
jmp 0x432a20
lea eax, [ebp - 0x38]
push eax
push 0x476330
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00439077
add esp, 0x10
mov bl, byte [eax + 4]
mov esi, dword [eax]
mov byte [eax + 4], 0
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 9
je 0x4329e4
push dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
call fcn.00465da1
pop ecx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.0044b6a4
push dword [ebp - 0x34]
push 0x132
push eax
push 1
call fcn.004324ec
add esp, 0x20
mov byte [ebp - 4], 0xa
test bl, bl
je 0x432a21
push esi
call fcn.00465da1
pop ecx
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xb
je 0x432a38
push dword [ebp - 0x38]
mov byte [ebp - 0x34], 0
call fcn.00465da1
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00408398
lea ecx, [ebp - 0xd8]
call fcn.00403921
call fcn.004411bc
ret 4

Function at 0x4386fa
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x438709
mov eax, dword [eax]
push eax
call fcn.004526ca
pop ecx
ret