joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb9d
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00468970
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.0041bac0
pop esi
test eax, eax
je 0x41bc05
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41bc10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x41bc00
cmp eax, 0x20
je 0x41bc00
cmp eax, 0x21
jne 0x41bc10
xor eax, eax
inc eax
jmp 0x41bc12
push str.Fail_to_get_the_file_path_for_Java_install_flag
call fcn.00439ca9
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.00465f42
add ebp, 0x88
leave
ret
Function at 0x428fc7
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x4837a5
call fcn.0046e3a1
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x429054
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00428f61
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00413aa7
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00407d08
push 0x4ad33c
mov eax, esi
push eax
call fcn.0046de80
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.00429580
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00465f60
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.0046e424
ret

Function at 0x42908b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x4837a5
call fcn.0046e3a1
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x429109
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00428f61
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00413aa7
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00407d08
push 0x4ad33c
mov eax, esi
push eax
call fcn.0046de80
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.00429580
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00465f60
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.0046e424
ret
Function at 0x4291b2
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x483770
call fcn.0046e3a1
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x4291e1
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x4292da
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x42923f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00428f61
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00413aa7
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.00407d08
push 0x4ad33c
mov eax, esi
push eax
call fcn.0046de80
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00429531
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42926c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x4292ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00428f61
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00413aa7
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x42922a
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00429531
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.0040e5e0
push 0
push 1
mov ecx, esi
call fcn.0040e7d9
mov eax, edi
call fcn.0046e424
ret
Function at 0x4292e2
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x483720
call fcn.0046e3a1
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 0x429318
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x429452
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x429328
mov eax, dword [edi]
jmp 0x42932a
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 0x429383
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00428f61
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00413aa7
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00407d08
push 0x4ad33c
mov eax, esi
push eax
call fcn.0046de80
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.00429580
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x4293b8
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 0x429416
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00428f61
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00413aa7
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00407d08
push 0x4ad33c
mov eax, esi
jmp 0x42937d
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.00429580
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.0042954c
cmp dword [ebp - 0x98], ebx
je 0x42944c
push dword [ebp - 0x98]
call fcn.00465f37
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.0046e424
ret

Function at 0x429912
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x30], eax
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
cmp byte [edi + 0x6c], al
lea ecx, [esp + 0x1c]
setne al
push eax
push str.__d_
call fcn.0044389e
pop ecx
pop ecx
and dword [esp + 0x48], 0
push eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 8]
call fcn.0042f988
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [esp + 0x48], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.0040e7d9
call fcn.00429a12
mov ecx, edi
call fcn.0042e9bb
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret
Function at 0x429d35
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x48bb11
call fcn.0046e3a1
xor ebx, ebx
push 0x20
lea eax, [ebp - 0x220]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x1f5], bl
mov dword [ebp - 0x1fc], ebx
call fcn.00468970
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x1fc]
push eax
push ebx
push ebx
push 0x11
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [ebp - 0x1fc]
push str.select
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x210], 0x49
call fcn.0040d21d
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0xdb6
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040868a
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x138]
push ecx
mov ecx, eax
call fcn.0044350f
lea esi, [ebp - 0x1f4]
call fcn.0040c99f
push ebx
push 1
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.0040e7d9
mov eax, dword [ebp - 0x138]
push 0x10
pop esi
cmp dword [ebp - 0x124], esi
jae 0x429e0f
lea eax, [ebp - 0x138]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov dword [ebp - 0x200], eax
cmp eax, ebx
je 0x429f3a
push 0x104
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00468970
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x200]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x429e78
lea eax, [ebp - 0x11c]
push eax
add edi, 0x70
push edi
call fcn.0040d274
mov byte [ebp - 0x1f5], 1
jmp 0x429f2e
cmp dword [0x4c8640], 3
jg 0x429f2e
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.004400c2
add esp, 0xc
mov edi, eax
push str.SHGetPathFromIDList
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 3
call fcn.0040d21d
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], esi
jb 0x429ebd
mov edi, dword [edi]
cmp dword [eax + 0x14], esi
jb 0x429ec4
mov eax, dword [eax]
push edi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x170]
call fcn.0044389e
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], esi
jb 0x429ee4
mov eax, dword [eax]
push eax
push 0x87
push 3
mov ebx, str.ChangeFolderDialog::browseForFolder
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_html_ui_wrappers_ChangeFolderDialog.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x170]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x1a8]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x18c]
call fcn.0040e7d9
xor ebx, ebx
push dword [ebp - 0x200]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x1fc], ebx
je 0x429f4e
push dword [ebp - 0x1fc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push ebx
push 1
lea ecx, [ebp - 0x138]
call fcn.0040e7d9
mov al, byte [ebp - 0x1f5]
call fcn.0046e424
ret
Function at 0x42a1c2
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d9c5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
cmp byte [esi + 0x6c], al
lea ecx, [esp + 0x30]
setne al
push eax
push str.showChangeFolder__d_
call fcn.0044389e
pop ecx
pop ecx
and dword [esp + 0x78], 0
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
call fcn.0042f988
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x78], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.0040e7d9
xor eax, eax
cmp byte [esi + 0x6d], al
lea ecx, [esp + 0x4c]
setne al
push eax
push str.setChangeFolder__d_
call fcn.0044389e
pop ecx
pop ecx
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x7c], 1
push eax
mov eax, dword [esi + 8]
call fcn.0042f988
lea eax, [esp + 0xc]
push eax
call edi
or dword [esp + 0x78], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.0040e7d9
mov ecx, esi
call fcn.0042e9bb
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret

Function at 0x42b3e7
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d9c5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
cmp byte [esi + 0x6c], al
lea ecx, [esp + 0x30]
setne al
push eax
push str.showBackButton__d_
call fcn.0044389e
pop ecx
pop ecx
and dword [esp + 0x78], 0
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
call fcn.0042f988
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x1c]
push eax
call edi
or dword [esp + 0x78], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.0040e7d9
xor eax, eax
cmp byte [esi + 0x6d], al
lea ecx, [esp + 0x4c]
setne al
push eax
push str.setRestoreCheckbox__d_
call fcn.0044389e
pop ecx
pop ecx
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x7c], 1
push eax
mov eax, dword [esi + 8]
call fcn.0042f988
lea eax, [esp + 0xc]
push eax
call edi
or dword [esp + 0x78], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.0040e7d9
mov ecx, esi
call fcn.0042e9bb
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret
Function at 0x42e762
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea edi, [ebx + 0x44]
mov eax, edi
lea esi, [esp + 0xc]
call fcn.0044d8d7
mov dword [esp + 0x20], edi
and dword [esp + 0x30], 0
mov eax, dword [ebp + 8]
push 0
mov dword [ebx + 0x50], eax
push dword [edi + 8]
call fcn.00450ccb
or dword [esp + 0x30], 0xffffffff
mov ecx, esi
call fcn.0044d921
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42e912
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov ebx, eax
push edi
lea edi, [ebx + 0x54]
mov eax, edi
lea esi, [esp + 0x10]
call fcn.0044d8d7
mov ebx, dword [ebx + 8]
mov dword [esp + 0x24], edi
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x42e945
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x10]
call fcn.0044d921
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f4d3
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x42f4e9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x42f4fc
and dword [eax + 8], 0
call fcn.004316c8
mov eax, dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 4]
and dword [eax + 4], 0
pop esi
pop ebx
ret
Function at 0x437940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4833ef
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea esi, [esp + 0x14]
mov edi, edx
mov dword [esp + 0x10], ecx
call fcn.0040d1fc
push dword [esp + 0xc]
and dword [esp + 0x5c], 0
lea esi, [esp + 0x30]
call fcn.0040d1fc
xor esi, esi
inc esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], esi
call fcn.00427c4d
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.0040e688
push 0
push esi
lea ecx, [esp + 0x34]
call fcn.0040e7d9
push 0
push esi
lea ecx, [esp + 0x18]
call fcn.0040e7d9
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4
Function at 0x437ac1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c50e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x14
mov edi, ecx
mov dword [esp + 0x1c], eax
pop esi
lea eax, [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00437ffa
mov dword [esp + 0x128], ebx
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [esp + 0x20]
sub esi, ebx
push dword [esp + 0x28]
mov dword [esp + 0x20], esi
call edi
mov edi, 0xea
jmp 0x437b91
add esi, esi
lea eax, [esp + 0x20]
call fcn.00437ffa
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [esp + 0x20]
sub esi, ebx
push dword [esp + 0x28]
mov dword [esp + 0x20], esi
call dword [esp + 0x44]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x437b66
test eax, eax
je 0x437c67
lea eax, [esp + 0x54]
push eax
call fcn.0040d5e7
lea eax, [esp + 0x54]
push str.MsiGetProductInfo
push eax
mov byte [esp + 0x130], 1
call fcn.00412a1a
lea eax, [esp + 0x5c]
push 0x49fac4
push eax
call fcn.00412a1a
push dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
call fcn.00412a1a
lea eax, [esp + 0x6c]
push 0x49a2cc
push eax
call fcn.00412a1a
push dword [esp + 0x38]
lea eax, [esp + 0x78]
push eax
call fcn.00412a1a
lea eax, [esp + 0x7c]
push 0x49fea4
push eax
call fcn.00412a1a
mov ebx, dword [esp + 0x44]
add esp, 0x30
lea eax, [esp + 0x54]
push eax
lea edi, [esp + 0x48]
call fcn.004373e9
lea ecx, [esp + 0xec]
mov byte [esp + 0x128], 2
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_MsiUtils.cpp
mov dword [esp + 0x40], str.msi::_anonymous_namespace::getProperty
mov dword [esp + 0x44], 0x2f
call fcn.00437cf0
lea eax, [esp + 0xf0]
mov dword [esp], 0x4ad768
push eax
call fcn.0046de80
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add eax, ebx
push eax
push ebx
call fcn.004380ec
test ebx, ebx
je 0x437c83
push ebx
call fcn.00465f37
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret

Function at 0x43868f
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.00468970
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 0x438d93
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x4825ad
call fcn.0046e3a1
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.00437ffa
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 0x438def
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.00437ffa
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.0040d21d
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c2cb
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040e7d9
test esi, esi
je 0x438e1e
push esi
call fcn.00465f37
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.0046e424
ret
Function at 0x439331
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489585
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push 0x104
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
push esi
push eax
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x1c], esi
call fcn.00468970
add esp, 0xc
lea eax, [esp + 0x114]
push eax
lea eax, [ebx - 1]
neg eax
sbb eax, eax
and eax, 0xffff8000
push esi
add eax, 0x8000
push esi
or eax, edi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x439499
lea eax, [esp + 0x34]
push eax
call fcn.0040d5e7
lea eax, [esp + 0x34]
push str.SHGetFolderPath_0x
push eax
mov dword [esp + 0x238], esi
call fcn.00412a1a
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 edi
lea eax, [esp + 0x38]
push eax
call fcn.004114a0
lea eax, [esp + 0x34]
push str.__mode
push eax
call fcn.00412a1a
pop ecx
pop ecx
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.004114a0
lea eax, [esp + 0x34]
push 0x49db34
push eax
call fcn.00412a1a
mov ebx, dword [esp + 0x18]
pop ecx
pop ecx
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x28]
call fcn.0044383e
lea ecx, [esp + 0xe8]
mov byte [esp + 0x230], 1
push ecx
lea esi, [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x1c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_SysInfo.cpp
mov dword [esp + 0x20], str.SysInfo::SHGetFolderPathAdapter
mov dword [esp + 0x24], 0x19a
call fcn.00439ac8
lea eax, [esp + 0xec]
mov dword [esp], 0x4ad7c4
push eax
call fcn.0046de80
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xd0]
call fcn.0040d21d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xcc]
mov dword [esp + 0x230], 2
call fcn.0043c2cb
push esi
push 1
lea ecx, [esp + 0xd4]
call fcn.0040e7d9
mov eax, dword [esp + 0x14]
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.00465f42
mov esp, ebp
pop ebp
ret

Function at 0x439d56
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebx
push dword [esp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x439dc9
cmp dword [esp + 0xc], 0
push dword [esp + 8]
je 0x439d80
push 0x439d2d
jmp 0x439d85
push 0x439cfe
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, 0x1388
push edi
push ebx
call esi
test eax, eax
je 0x439dbb
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push ebx
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffe
add esi, 2
jmp 0x439dbe
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8