joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41f13d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f30c
mov dword [eax], edi
pop edi
pop ebp
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x41f162
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f153
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.0043b50d
add esp, 4
test eax, eax
je 0x41f18d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f17e
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41f19a
mov dword [ecx], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41f1a7
mov dword [eax], 0
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41f1b5
mov dword [ebx], 0
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x41f1c3
mov dword [esi], 0
cmp dword [ebp + 0x10], 0
jne 0x41f2ae
cmp dword [edi + 0x13c4], 0
jne 0x41f24e
jmp 0x41f1e0
lea eax, [edi + 4]
mov dword [edi + 0x13a4], eax
push 2
lea eax, [edi + 0x1394]
mov esi, 0x1388
push eax
mov dword [edi + 0x13a8], esi
call fcn.0041df00
mov ebx, eax
cmp ebx, 3
je 0x41f212
cmp ebx, 4
jne 0x41f292
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41f243
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.0043b69b
add esp, 0x10
cmp esi, eax
jne 0x41f274
mov edx, dword [edi]
push edx
call fcn.0043b50d
add esp, 4
test eax, eax
jne 0x41f274
cmp ebx, 4
jne 0x41f1e0
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edi]
push eax
call fcn.0043b50d
add esp, 4
test eax, eax
jne 0x41f2a8
mov ecx, dword [edi]
push ecx
call fcn.0043b89b
mov edx, dword [edi]
push edx
call fcn.0043b50d
add esp, 8
test eax, eax
je 0x41f2a8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f281
mov dword [eax], 0xfffffffa
pop esi
pop ebx
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f29b
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41f2ba
mov edx, dword [edi + 0x139c]
mov dword [ecx], edx
test eax, eax
je 0x41f2c6
mov ecx, dword [edi + 0x13a0]
mov dword [eax], ecx
test ebx, ebx
je 0x41f2d2
mov edx, dword [edi + 0x13ac]
mov dword [ebx], edx
test esi, esi
je 0x41f2de
mov eax, dword [edi + 0x13b0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f2eb
mov dword [eax], 0
lea ecx, [edi + 0x1394]
push ecx
mov dword [edi + 0x13c4], 0
call fcn.0041e050
push edi
call fcn.0043792e
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
ret 0x1c
Function at 0x41f520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041f500
mov esi, dword [ebp + 8]
push eax
push esi
push str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to_me_at:_jseward_bzip.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks.__Julian_Seward__10_December_2007._n_n
call fcn.0043b9e5
add eax, 0x40
push eax
call fcn.0043bbbb
add esp, 0x10
cmp esi, 0x3ef
jne 0x41f562
push str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
call fcn.0043b9e5
add eax, 0x40
push eax
call fcn.0043bbbb
add esp, 8
push 3
call fcn.0043a5fb
int3
Function at 0x41f720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, edx
push edi
je 0x41f730
mov dword [ebx], edx
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x41f907
mov eax, dword [ebp + 0x10]
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41f907
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jl 0x41f907
cmp byte [edi + 0x1390], dl
je 0x41f77b
cmp ebx, edx
je 0x41f769
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp ecx, edx
jne 0x41f793
cmp ebx, edx
je 0x41f785
mov dword [ebx], edx
mov dword [edi + 0x13c4], edx
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ecx
call fcn.0043b50d
add esp, 4
test eax, eax
jne 0x41f855
cmp dword [edi + 0x1398], 0
jne 0x41f804
mov esi, dword [edi]
call fcn.0041ee30
test al, al
jne 0x41f804
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.0043bfa6
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.0043b50d
add esp, 0x14
test eax, eax
jne 0x41f897
mov dword [edi + 0x138c], ebx
mov dword [edi + 0x1398], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
push eax
call fcn.0041f570
test eax, eax
jne 0x41f872
mov esi, dword [edi]
call fcn.0041ee30
test al, al
je 0x41f835
cmp dword [edi + 0x1398], 0
jne 0x41f835
cmp dword [edi + 0x13a8], 0
ja 0x41f8cc
cmp dword [edi + 0x13a8], 0
je 0x41f8e9
mov ecx, dword [edi]
push ecx
call fcn.0043b50d
add esp, 4
test eax, eax
je 0x41f7b3
test ebx, ebx
je 0x41f85f
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp eax, 4
jne 0x41f8b7
test ebx, ebx
je 0x41f87d
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f85f
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41f8bd
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41f8d6
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41f8f3
mov dword [ebx], 0
mov eax, dword [ebp + 0x14]
pop esi
mov dword [edi + 0x13c4], 0
pop edi
pop ebx
pop ebp
ret 0x10
cmp ebx, edx
je 0x41f911
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41f91f
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x429447
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x429480
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040c4d3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004052d6
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42a99e
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x45be5c
mov ecx, edi
call fcn.0040164f
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42a9f1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42aa04
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040c4d3
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004052d6
jmp 0x42aa04
mov ecx, esi
call fcn.0042bdd1
test eax, eax
je 0x42aa04
push edi
mov ecx, eax
call fcn.00429447
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42aee2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42af25
call fcn.00431098
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42af25
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42af40
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042aa9c
test ebx, ebx
mov esi, eax
je 0x42af3e
test edi, edi
je 0x42af3e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42bad7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x450397
call fcn.0043c9f3
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00431098
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42bb22
call fcn.00431098
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x42bb33
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42bb40
or eax, 0xffffffff
jmp 0x42bc9c
mov ecx, esi
call fcn.0042b61e
mov dword [ebp - 0x14], eax
call fcn.004284d0
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x42bbbe
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42bbbe
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42bbbe
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004270b6
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42bbbe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x42bbbe
mov ecx, ebx
call fcn.0042bfaa
test eax, eax
je 0x42bbbe
push 0
mov ecx, ebx
call fcn.0042bfc5
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00429d58
push dword [ebp - 0x14]
call fcn.00428428
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042b8df
xor edi, edi
cmp eax, edi
je 0x42bc1b
test byte [esi + 0x3c], 0x10
je 0x42bc05
push 4
pop edi
mov ecx, esi
call fcn.0042be91
test ax, 0x100
je 0x42bbfb
push 5
pop edi
push edi
mov ecx, esi
call fcn.00427ff0
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42bc1b
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042c02c
or dword [ebp - 4], 0xffffffff
jmp 0x42bc46
cmp dword [ebp - 0x28], edi
je 0x42bc54
push 1
mov ecx, ebx
call fcn.0042bfc5
cmp dword [ebp - 0x2c], edi
je 0x42bc64
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42bc7d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42bc7d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042b658
cmp dword [esi + 0x58], edi
je 0x42bc99
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043ca98
ret
Function at 0x42bd06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42bd26
cmp dword [edi + 0x54], 0
jne 0x42bd26
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00431098
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042bccd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x432a0c
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x46fd08]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x432aaa
push 0x45911c
push 4
push eax
call fcn.0043a701
push eax
call fcn.004015fb
add esp, 0x10
push ebx
push edi
call fcn.0043cd86
mov edi, dword [eax]
call fcn.0043cd86
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043cd2c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043cd86
cmp dword [eax], ebx
je 0x432ac1
call fcn.0043cd86
push dword [eax]
call fcn.00418890
pop ecx
jmp 0x432ac8
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x432a5b
jmp 0x432b3a
call fcn.0043cd86
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x432b36
cmp dword [ebp - 0x40], esi
jae 0x432b36
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.004379c0
add esp, 0xc
push 0x458760
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x432b28
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x432b28
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x432b28
push ebx
push ebx
push esi
jmp 0x432b2e
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x432b38
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00436e4b
add ebp, 0x1f4
leave
ret
Function at 0x436e4b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46fd08]
jne 0x436e55
repz ret
jmp fcn.0043f2a3
Function at 0x43bd0a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43bd47
cmp dword [ebp + 0x14], edi
je 0x43bd47
cmp ecx, edi
jne 0x43bd4e
call fcn.0043cd86
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043f81b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43bd62
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43bd83
cmp ebx, 0xffffffff
je 0x43bd72
push ebx
push edi
push ecx
call fcn.004379c0
add esp, 0xc
cmp esi, edi
je 0x43bd2f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43bd2f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43bd9f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43bda6
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43be97
test word [esi + 0xc], 0x10c
je 0x43bdfa
mov eax, dword [esi + 4]
test eax, eax
je 0x43bdfa
jl 0x43bef8
cmp ebx, eax
mov edi, ebx
jb 0x43bdcb
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43be9f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00437495
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43be8f
cmp ebx, dword [ebp - 0xc]
jb 0x43be67
cmp dword [ebp - 0xc], 0
je 0x43be24
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43be19
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43be20
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43be2f
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43be2f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43becb
push eax
push dword [ebp - 8]
push esi
call fcn.0043d2ac
pop ecx
push eax
call fcn.0044786a
add esp, 0xc
test eax, eax
je 0x43bf0a
cmp eax, 0xffffffff
je 0x43bef8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43be8f
push esi
call fcn.004459f5
cmp eax, 0xffffffff
pop ecx
je 0x43befc
cmp dword [ebp - 4], 0
je 0x43becb
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43bdae
mov eax, dword [ebp + 0x14]
jmp 0x43bd49
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43beb6
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004379c0
add esp, 0xc
call fcn.0043cd86
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43bd3f
cmp dword [ebp + 0xc], 0xffffffff
je 0x43bee1
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004379c0
add esp, 0xc
call fcn.0043cd86
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43bd3f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43bd49
or dword [esi + 0xc], 0x10
jmp 0x43befc
Function at 0x43e017
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46fe90]
je 0x43e032
inc edi
cmp edi, 0x17
jb 0x43e023
cmp edi, 0x17
jae 0x43e1b2
push ebp
push 3
call fcn.0044a7df
cmp eax, 1
pop ecx
je 0x43e17e
push 3
call fcn.0044a7df
test eax, eax
pop ecx
jne 0x43e066
cmp dword [0x46f9dc], 1
je 0x43e17e
cmp ebx, 0xfc
je 0x43e1b1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x473d28
push ebp
call fcn.0044a77a
add esp, 0xc
test eax, eax
je 0x43e09c
push esi
push esi
push esi
push esi
push esi
call fcn.0043f71f
add esp, 0x14
push 0x104
mov esi, 0x473d41
push esi
push 0
mov byte [0x473e45], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43e0e0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044a77a
add esp, 0xc
test eax, eax
je 0x43e0e0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043f71f
add esp, 0x14
push esi
call fcn.0043a2e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43e125
push esi
call fcn.0043a2e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47403c
push 0x45a5a4
sub ecx, eax
push ecx
push eax
call fcn.0044a6c7
add esp, 0x14
test eax, eax
je 0x43e125
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043f71f
add esp, 0x14
jmp 0x43e127
xor esi, esi
push 0x45a5a0
push ebx
push ebp
call fcn.0044a656
add esp, 0xc
test eax, eax
je 0x43e147
push esi
push esi
push esi
push esi
push esi
call fcn.0043f71f
add esp, 0x14
push dword [edi*8 + 0x46fe94]
push ebx
push ebp
call fcn.0044a656
add esp, 0xc
test eax, eax
je 0x43e169
push esi
push esi
push esi
push esi
push esi
call fcn.0043f71f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044a499
add esp, 0xc
jmp 0x43e1b1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43e1b1
cmp ebp, 0xffffffff
je 0x43e1b1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46fe94]
push dword [esi]
call fcn.0043a2e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44a499
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043ebdb
xor ebx, ebx
cmp dword [0x47482c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44a56f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44a64f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44a64f
push eax
call fcn.0043eb6d
mov dword [esp], 0x45a9f8
push edi
mov dword [0x47482c], eax
call esi
push eax
call fcn.0043eb6d
mov dword [esp], 0x45a9e4
push edi
mov dword [0x474830], eax
call esi
push eax
call fcn.0043eb6d
mov dword [0x474834], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043a414
test eax, eax
pop ecx
pop ecx
je 0x44a53d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043f71f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44a56f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043eb6d
cmp eax, ebx
pop ecx
mov dword [0x47483c], eax
je 0x44a56f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043eb6d
pop ecx
mov dword [0x474838], eax
mov eax, dword [0x474838]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44a5f4
cmp dword [0x47483c], ecx
je 0x44a5f4
push eax
call fcn.0043ebe4
push dword [0x47483c]
mov esi, eax
call fcn.0043ebe4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44a5f4
cmp edi, ebx
je 0x44a5f4
call esi
cmp eax, ebx
je 0x44a5c1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a5c1
test byte [ebp - 0x18], 1
jne 0x44a5f4
lea eax, [ebp - 0x10]
push eax
call fcn.0043a44b
test eax, eax
pop ecx
je 0x44a5dc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043f71f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44a5eb
or dword [ebp + 0x10], 0x200000
jmp 0x44a62f
or dword [ebp + 0x10], 0x40000
jmp 0x44a62f
mov eax, dword [0x474830]
cmp eax, dword [ebp - 8]
je 0x44a62f
push eax
call fcn.0043ebe4
cmp eax, ebx
pop ecx
je 0x44a62f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44a62f
mov eax, dword [0x474834]
cmp eax, dword [ebp - 8]
je 0x44a62f
push eax
call fcn.0043ebe4
cmp eax, ebx
pop ecx
je 0x44a62f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47482c]
call fcn.0043ebe4
cmp eax, ebx
pop ecx
je 0x44a64f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a651
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
in al, dx
mov esi, dword [ebp + 8]
push ds
mov edi, dword [ebp + 0x2a]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi - 0x383ef4ec]
lea edx, [eax]
inc ebx
fild dword [eax]
pop esi
jne 0x40b0a3
mov al, byte [esi + 8]
test al, al
je 0x40b10d
mov edx, dword [esi + 4]
lea ecx, [ebp + 8]
push 0
push ecx
push 0
push 0
push 0
push edx
call dword [0xd7c00c]
test eax, eax
enter 0xffffffffffff8b35, 0x35
cwde
fild dword [eax]
invalid
mov eax, dword [esi - 0x41]
test eax, eax
je 0x40b137
cmp al, 0x4e
sub eax, dword [ecx + ecx*8 + 0x25441cdc]
push eax
mov dword [eax + ecx - 0x74afb921], edi
push esi
push esp
mov ecx, 0x2100b5
call 0x59418a4f
mov edx, dword [esi + 0xc]
mov dword [edx + 0x53], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
push ebx
lea esi, [ecx]
adc byte [eax - 0x75], dl
inc esi
add al, 0x51
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
inc esi
sal byte [edx + eax*4 + 0x33], 0xc0
jmp 0x40b285
clc
Function at 0x4067b9
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret