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

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov ecx, 0x7b5
xor eax, eax
mov edi, 0x4098a4
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.USER32.dll_CharLowerA]
mov al, byte [ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp al, 0x22
jne 0x401030
lea eax, [ebx + 1]
push eax
push ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call esi
mov cl, byte [eax + ebx - 1]
dec eax
cmp cl, 0x22
jne 0x401047
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x14]
push 0x100
push 0x40a0a4
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
call esi
test eax, eax
jne 0x401075
push ebx
call fcn.00401210
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov al, byte [ebx]
mov edx, 0x4080c0
cmp al, byte [edx]
jne 0x4010a3
lea ecx, [ebx + 1]
mov dword [0x4093c4], 1
push ecx
push ebx
call ebp
push ebx
call fcn.00401210
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 3
mov edi, str._build
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x4010f4
mov ecx, 5
mov edi, str._cdrom
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4010e1
lea eax, [ebx + 6]
push eax
push ebx
call ebp
push ebx
call fcn.00401210
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 3
mov edi, str._setup
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x40110d
lea eax, [ebx + 7]
push eax
push ebx
call ebp
push ebx
call fcn.00401560
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 3
mov edi, str._cetup
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x401143
lea eax, [ebx + 7]
push eax
push ebx
call ebp
push ebx
mov dword [0x4093b8], 1
call fcn.00401560
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 3
mov edi, str._sutup
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x401179
lea eax, [ebx + 7]
push eax
push ebx
call ebp
push ebx
mov dword [0x4093bc], 1
call fcn.00401560
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 3
mov edi, str._cutup
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x4011b4
lea eax, [ebx + 7]
push eax
push ebx
call ebp
mov eax, 1
push ebx
mov dword [0x4093bc], eax
mov dword [0x4093b8], eax
call fcn.00401560
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, 2
mov edi, str._version
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4011e1
push edx
push str.VersionDate
push str.FileOpen_WebPublisher2_Installer_nVersion:_2.4.10
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebp, ebp
push 0x3e8
call esi
push ebx
call edi
test eax, eax
jne 0x401206
inc ebp
cmp ebp, 0x3e8
jl 0x4011ef
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x4013b0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x504
lea eax, [esp + 0x300]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x40818c
push eax
call esi
lea ecx, [esp + 0x208]
push 0x4093ec
push ecx
call esi
lea edx, [esp + 0x208]
lea eax, [esp + 0x308]
push edx
push eax
push 0x4099a4
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jge 0x40141b
push 0
push str.Error
push str.Cannot_launch_Acrobat_Reader
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x504
ret
push 0x408168
push 0x4099a4
call fcn.00402ba0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 8
test eax, eax
jne 0x40146c
push 0x408164
push 0x4099a4
call fcn.00402ba0
add esp, 8
test eax, eax
jne 0x40146c
push 0x4099a4
push 0x40b780
lea ecx, [esp + 0x110]
push str._s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4014de
lea edx, [esp + 0x408]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x408]
push 0x4098a4
push eax
lea ecx, [esp + 0x10]
push 0x408154
push ecx
call esi
add esp, 0x10
lea edx, [esp + 8]
push 0
push edx
push 0x4099a4
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4014c5
push eax
push str.FileOpen
push str.cant_copy_PDF_file
push eax
call edi
lea eax, [esp + 8]
lea ecx, [esp + 0x108]
push eax
push 0x40b780
push str._s__s
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x108]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x401506
push 0
push str.Error
push str.Cannot_launch_Acrobat_Reader
push 0
call edi
pop edi
pop esi
add esp, 0x504
ret
Function at 0x401e50
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push 0x40a0a4
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x401eb9
push 0x40a0a4
lea eax, [esp + 0x1c]
push str.Cannot_read:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push str.Error
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
mov edx, dword [0x40b6e4]
push 0
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x4093c0]
test eax, eax
jne 0x401ef5
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x4098a4
push 0x40a3a4
push str._s_s
push 0x4099a4
call esi
add esp, 0x10
jmp 0x401efb
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [0x4093c0], 1
jne 0x401f20
lea eax, [esp + 0x118]
push 0x4098a4
push eax
push str._s_s
push 0x4099a4
call esi
add esp, 0x10
push 0x4099a4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x8000080
push 2
push 0
push 3
push 0x40000000
push 0x4099a4
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401f87
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4099a4
lea ecx, [esp + 0x1c]
push str.Cannot_write:__s
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x18]
push 0
push str.Error
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
lea eax, [esp + 0x10]
push 0
push eax
push 0x1000
push 0x40a6e0
push edi
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40b6ec]
add esi, eax
cmp esi, ecx
jbe 0x401fbb
sub ecx, esi
add eax, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
push 0x40a6e0
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jl 0x401fe4
cmp eax, 0x1000
jl 0x402029
jmp 0x401f8f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
push 0x4099a4
lea edx, [esp + 0x1c]
push str.Cannot_write:__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x402460
Capabilities:
Create process on windows
Get common file path
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x108]
push ebx
push ebp
push esi
push edi
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4025a4
lea ecx, [esp + 0x118]
lea edx, [esp + 0x18]
push ecx
push str._sTEMP.EXE
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push 0x40a0a4
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4024d3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
push 0
push 0x8000080
push 4
push 0
push 3
lea eax, [esp + 0x2c]
push 0x40000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x402507
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x1000
push 0x40a6e0
push esi
call ebx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
push eax
push 0x40a6e0
push edi
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jl 0x402550
cmp eax, 0x1000
jl 0x402569
jmp 0x402513
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
lea ecx, [esp + 0x18]
push 0x40a0a4
push ecx
push str._s__s
push 0x40a6e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 5
push 0x40a6e0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x402820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1a8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
push esi
push edi
lea eax, [esp + 0xb8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAcroRd32.EXE
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xa0
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
lea edx, [esp + 0xc0]
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x4028b1
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4028a6
mov ecx, 0x27
lea esi, [esp + 0x18]
mov edi, 0x4096a0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xb8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAcrobat.exe
push ecx
call ebx
lea edx, [esp + 0x10]
lea eax, [esp + 0xb8]
push edx
push 0x20019
push 0
push eax
push 0x80000002
call ebp
test eax, eax
jne 0x402919
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40290e
mov ecx, 0x27
lea esi, [esp + 0x18]
mov edi, 0x4097a0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1a8
ret
Function at 0x402930
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x2f8
lea eax, [esp]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
push eax
push 1
push 0
push str.SoftwareAdobeAcrobat_Reader5.0AdobeViewer
push 0x80000001
call ebp
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x402a56
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push str.TrustedMode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40299a
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2f8
ret
push str.FileOpen
lea eax, [esp + 0x20c]
push str.To_view_the_content_being_installed_you_must_change_this_preference_to_permit_loading_of_third_party_plug_ins_such_as_the__s_client.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
lea ecx, [esp + 0x14]
push str.Your_Acrobat_preferences_are_set_to_restrict_loading_of_non_Adobe_plug_ins.
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x14]
push 0x408668
push edx
call esi
lea eax, [esp + 0x208]
lea ecx, [esp + 0x14]
push eax
push ecx
call esi
lea edx, [esp + 0x14]
push 0x408668
push edx
call esi
lea eax, [esp + 0x14]
push str.Click_OK_to_have_this_installer_make_the_change_automatically_or_Cancel_to_make_the_change_manually_from_within_Acrobat.
push eax
call esi
push 0x31
lea ecx, [esp + 0x18]
push str.FileOpen
push ecx
push 0
call ebx
cmp eax, 2
jne 0x402a56
lea edx, [esp + 0x14]
push str.Your_Acrobat_preferences_have_not_been_changed__so_you_will_not_be_able_to_view_this_content.
push edx
call edi
lea eax, [esp + 0x14]
push 0x408668
push eax
call esi
lea ecx, [esp + 0x14]
push str.To_view_this_content_you_must_invoke_Acrobats_Edit_Preferences_Options_menu_and_uncheck_the_box__Certified_Plug_ins_Only_.
push ecx
call esi
push 0
lea edx, [esp + 0x18]
push str.FileOpen
push edx
push 0
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2f8
ret
push 0x40b774
push 2
push 0
push str.SoftwareAdobeAcrobat_Reader5.0AdobeViewer
push 0x80000001
call ebp
test eax, eax
jne 0x402a97
mov eax, dword [0x40b774]
push str.TrustedMode
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x402a97
push eax
push str.FileOpen
push str.Your_Acrobat_preferences_have_been_changed._You_can_reverse_the_change_via_Acrobats_Edit_Preferences_Options_menu.
push eax
call ebx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f8
ret
Function at 0x402ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push 0x40b774
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallAdvanced_eBook_Processor
push 0x80000002
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402b00
mov eax, dword [0x40b774]
push 0
push 0
push 0
push 0
push str.UninstallString
push eax
call edi
test eax, eax
je 0x402b3b
mov ecx, dword [0x40b774]
push ecx
call ebx
push 0x40b774
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallAdvanced_PDF_Password_Recovery
push 0x80000002
call esi
test eax, eax
jne 0x402b6b
mov edx, dword [0x40b774]
push eax
push eax
push eax
push eax
push str.UninstallString
push edx
call edi
test eax, eax
je 0x402b55
mov eax, dword [0x40b774]
push eax
call ebx
pop edi
pop esi
pop ebx
ret
push 0x10
push str.FileOpen
push str.Your_system_appears_to_contain_the_following_password_cracking_software:_nAdvanced_eBook_Processor_nThis_publisher_has_elected_to_not_support_systems_containing_such_software._nPlease_uninstall_the_software_then_run_this_program_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x10
push str.FileOpen
push str.Your_system_appears_to_contain_the_following_password_cracking_software:_nAdvanced_PDF_Password_Recovery_nThis_publisher_has_elected_to_not_support_systems_containing_such_software._nPlease_uninstall_the_software_then_run_this_program_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x405155
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408f70
cmp edx, dword [eax]
je 0x405177
add eax, 8
inc ecx
cmp eax, 0x409000
jl 0x405168
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408f70]
jne 0x4052a5
mov eax, dword [0x409410]
cmp eax, 1
je 0x40527f
test eax, eax
jne 0x4051a8
cmp dword [0x408a14], 1
je 0x40527f
cmp edx, 0xfc
je 0x4052a5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4051df
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404610
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405222
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404610
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407478
push edi
call fcn.00406580
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406410
lea eax, [ebp - 0xa0]
push 0x407458
push eax
call fcn.00406410
push dword [esi + 0x408f74]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406410
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004064f0
add esp, 0x2c
pop edi
jmp 0x4052a5
lea eax, [ebp + 8]
lea esi, [esi + 0x408f74]
push 0
push eax
push dword [esi]
call fcn.00404610
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x100016bc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100016bc
mov ecx, dword [esi + 0x3cc]
xor edx, edx
div ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x100016bc
mov edx, dword [ebp + 0x14]
push ebx
push edi
cmp edx, 1
jne 0x10001618
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], edi
mov dword [ebp + 8], ebx
test eax, eax
je 0x100016ba
lea ebx, [esi + 0x3f4]
nop
cmp byte [esi + 4], 0
mov eax, ebx
je 0x100015d5
xor edx, edx
test ecx, ecx
jle 0x100015d5
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x100015c0
mov edi, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.100016d0
push dword [esi + 0x3cc]
push dword [ebp + 8]
push ebx
call fcn.1002d560
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
add edi, ecx
div ecx
inc dword [ebp + 0x14]
add esp, 0xc
add dword [ebp + 8], ecx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], eax
jb 0x100015b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp edx, 2
jne 0x10001687
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ebx
jbe 0x100016ba
lea eax, [esi + 0x3f4]
push edi
push eax
mov ecx, esi
call fcn.100016d0
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.10001d90
push dword [esi + 0x3cc]
lea eax, [esi + 0x3f4]
push edi
push eax
call fcn.1002d560
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc ebx
div ecx
add dword [ebp + 8], ecx
add esp, 0xc
add edi, ecx
cmp ebx, eax
lea eax, [esi + 0x3f4]
jb 0x10001637
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], edi
jbe 0x100016ba
push eax
push ebx
mov ecx, esi
call fcn.100016d0
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc edi
div ecx
add dword [ebp + 8], ecx
add ebx, ecx
cmp edi, eax
mov eax, dword [ebp + 8]
jb 0x10001697
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x10001dc3
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x10001dc3
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
nop
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x10001db0
pop edi
pop esi
pop ebp
ret 8
Function at 0x10002f80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [ebp + 8]
xor bl, bl
cmp dword [edi + 0x10], 0
je 0x100030ba
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
je 0x100030b1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10002faf
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
je 0x100030b1
push 0x1007076c
push eax
call fcn.1001694d
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x100030b1
cmp dword [esi + 0x14], 0x10
jb 0x10002fe5
mov esi, dword [esi]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10003097
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10056684
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10003097
mov eax, dword [ebp - 0xc]
push 0x1007076c
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 4], ecx
call fcn.1001694d
mov esi, eax
add esp, 8
test esi, esi
je 0x10003099
cmp dword [edi + 0x14], 0x10
jb 0x10003049
mov edi, dword [edi]
push edi
push dword [ebp - 4]
push str.StringFileInfo_08lx_s
push 0x80
push esi
call fcn.100030f0
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10003093
mov edx, dword [ebp - 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003080
sub ecx, edi
push ecx
mov ecx, dword [ebp + 0x10]
push edx
call fcn.10001e90
mov bl, 1
jmp 0x10003099
xor esi, esi
push dword [ebp + 8]
call fcn.10016917
add esp, 4
test esi, esi
je 0x100030b1
push esi
call fcn.10016917
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret