joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414240
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
lea ebx, [esi + 1]
jle 0x41427a
push ebp
push edi
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x460040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x414254
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x414302
sub ecx, ebx
je 0x4142e7
sub ecx, ebx
je 0x4142db
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x415850
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x41586b
mov eax, dword [esp + 8]
test eax, eax
je 0x415a3f
mov dword [eax], edi
pop edi
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x415890
mov eax, dword [esp + 8]
test eax, eax
je 0x415882
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.00432783
add esp, 4
test eax, eax
je 0x4158bb
mov eax, dword [esp + 8]
test eax, eax
je 0x4158ad
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4158c9
mov dword [eax], 0
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4158d9
mov dword [ebp], 0
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4158e8
mov dword [ebx], 0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4158f7
mov dword [esi], 0
cmp dword [esp + 0x1c], 0
jne 0x4159de
cmp dword [edi + 0x13c4], 0
jne 0x41597e
lea ebp, [edi + 4]
mov edi, edi
push 2
lea eax, [edi + 0x1394]
mov esi, 0x1388
push eax
mov dword [edi + 0x13a8], esi
mov dword [edi + 0x13a4], ebp
call fcn.00414650
mov ebx, eax
cmp ebx, 3
je 0x41593f
cmp ebx, 4
jne 0x4159c3
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41596d
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
push 1
push ebp
call fcn.00432911
add esp, 0x10
cmp esi, eax
jne 0x4159a4
mov edx, dword [edi]
push edx
call fcn.00432783
add esp, 4
test eax, eax
jne 0x4159a4
cmp ebx, 4
jne 0x415910
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.00432783
add esp, 4
test eax, eax
jne 0x4159da
mov ecx, dword [edi]
push ecx
call fcn.00432b11
mov edx, dword [edi]
push edx
call fcn.00432783
add esp, 8
test eax, eax
je 0x4159da
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4159b2
mov dword [eax], 0xfffffffa
pop esi
pop ebx
pop ebp
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4159cd
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop ebp
pop edi
ret 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4159ea
mov ecx, dword [edi + 0x139c]
mov dword [eax], ecx
test ebp, ebp
je 0x4159f7
mov edx, dword [edi + 0x13a0]
mov dword [ebp], edx
test ebx, ebx
je 0x415a03
mov eax, dword [edi + 0x13ac]
mov dword [ebx], eax
test esi, esi
je 0x415a0f
mov ecx, dword [edi + 0x13b0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415a1d
mov dword [eax], 0
lea edx, [edi + 0x1394]
push edx
mov dword [edi + 0x13c4], 0
call fcn.00414790
push edi
call fcn.0042fcbb
add esp, 4
pop esi
pop ebx
pop ebp
pop edi
ret 0x1c
Function at 0x415c50
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00415c30
mov esi, dword [esp + 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.00432c5b
add eax, 0x40
push eax
call fcn.00432e2b
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x415c91
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.00432c5b
add eax, 0x40
push eax
call fcn.00432e2b
add esp, 8
push 3
call fcn.0042fa45
int3
Function at 0x41c3b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esi + 0x268]
push edi
mov edi, dword [esi + 0x44]
cmp edi, 0x2710
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x10], edx
jge 0x41c3f0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x41c4c3
lea edx, [edi + 0x22]
test dl, 1
je 0x41c3fb
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41c40d
mov eax, 1
jmp 0x41c417
cmp eax, 0x64
jle 0x41c417
mov eax, 0x64
lea edx, [eax - 1]
mov eax, 0x55555556
imul edx
mov eax, edx
push ebx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x14]
imul ebx, edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push eax
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
call fcn.0041bcc0
add esp, 0x14
cmp ebp, 3
jl 0x41c492
test edi, edi
mov dword [esp + 0x10], 1
je 0x41c464
mov dword [esp + 0x10], edi
sub ebx, dword [esp + 0x24]
sub esp, 8
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x18]
fstp qword [esp]
push edi
push ebx
push str._______d_work___d_block__ratio__5.2f_n
call fcn.00432c5b
add eax, 0x40
push eax
call fcn.00432e2b
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x41c4cb
cmp ebp, 2
jl 0x41c4b5
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.00432c5b
add eax, 0x40
push eax
call fcn.00432e2b
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push ebp
push edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
call fcn.0041af30
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x41c4f3
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x41c4f0
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x41c4e0
jmp 0x41c4f3
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x41c50b
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.00415c50
add esp, 0x10
ret

Function at 0x420206
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42023f
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.00402c6b
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00402d22
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x421856
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x452084
mov ecx, edi
call fcn.0040165e
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x4218a9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4218bc
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00402c6b
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00402d22
jmp 0x4218bc
mov ecx, esi
call fcn.004228cb
test eax, eax
je 0x4218bc
push edi
mov ecx, eax
call fcn.00420206
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x421d9a
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 0x421ddd
call fcn.00425684
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421ddd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421df8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00421954
test ebx, ebx
mov esi, eax
je 0x421df6
test edi, edi
je 0x421df6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x422562
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44675d
call fcn.004336a9
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.00425684
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4225ad
call fcn.00425684
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 0x4225be
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4225cb
or eax, 0xffffffff
jmp 0x422727
mov ecx, esi
call fcn.004220a9
mov dword [ebp - 0x14], eax
call fcn.0041f28f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x422649
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x422649
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x422649
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041de75
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x422649
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x422649
mov ecx, ebx
call fcn.00422aa4
test eax, eax
je 0x422649
push 0
mov ecx, ebx
call fcn.00422abf
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00420c10
push dword [ebp - 0x14]
call fcn.0041f1e7
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042236a
xor edi, edi
cmp eax, edi
je 0x4226a6
test byte [esi + 0x3c], 0x10
je 0x422690
push 4
pop edi
mov ecx, esi
call fcn.0042298b
test ax, 0x100
je 0x422686
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041edaf
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4226a6
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00422b26
or dword [ebp - 4], 0xffffffff
jmp 0x4226d1
cmp dword [ebp - 0x28], edi
je 0x4226df
push 1
mov ecx, ebx
call fcn.00422abf
cmp dword [ebp - 0x2c], edi
je 0x4226ef
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x422708
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x422708
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.004220e3
cmp dword [esi + 0x58], edi
je 0x422724
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00433715
ret
Function at 0x422791
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 0x4227b1
cmp dword [edi + 0x54], 0
jne 0x4227b1
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00425684
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.00422758
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 0x426f1c
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x461de0]
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 0x426fba
push 0x44db54
push 4
push eax
call fcn.0043086e
push eax
call fcn.00401637
add esp, 0x10
push ebx
push edi
call fcn.004339f6
mov edi, dword [eax]
call fcn.004339f6
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.0043399c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.004339f6
cmp dword [eax], ebx
je 0x426fd1
call fcn.004339f6
push dword [eax]
call fcn.0041cb8e
pop ecx
jmp 0x426fd8
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x426f6b
jmp 0x42704a
call fcn.004339f6
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x427046
cmp dword [ebp - 0x40], esi
jae 0x427046
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.0042f1e0
add esp, 0xc
push 0x44d4d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x427038
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x427038
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x427038
push ebx
push ebx
push esi
jmp 0x42703e
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x427048
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0042f1cb
add ebp, 0x1f4
leave
ret
Function at 0x429edf
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x429ee8
xor eax, eax
jmp 0x429f51
cmp dword [esp + 8], 0
jne 0x429ef4
call fcn.00423df4
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00433216
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x429f2f
push dword [esi + 0x10]
call fcn.00432754
test eax, eax
pop ecx
jne 0x429f2f
mov esi, dword [esi + 0xc]
call fcn.00433a09
push esi
push dword [eax]
push 1
call fcn.00429d49
push dword [esi + 0x10]
call fcn.00432783
test eax, eax
pop ecx
je 0x429f4e
push dword [esi + 0x10]
call fcn.00434610
push eax
call fcn.00401637
pop ecx
pop ecx
jmp 0x429f1d
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x429f5a
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x429f64
call fcn.00423df4
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00432911
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x429f91
mov esi, dword [esi + 0xc]
call fcn.00433a09
push esi
push dword [eax]
push 1
call fcn.00429d49
pop esi
ret 8

Function at 0x42b056
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42b07f
call fcn.00425684
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42b0a2
push eax
push dword [esi + 4]
call fcn.0042afe1
push esi
push eax
mov ecx, 0x4655ac
call fcn.0042acd0
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42f1cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461de0]
jne 0x42f1d5
repz ret
jmp fcn.00438cf8
Function at 0x432f7a
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 0x432fb7
cmp dword [ebp + 0x14], edi
je 0x432fb7
cmp ecx, edi
jne 0x432fbe
call fcn.004339f6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043669b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x432fd2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x432ff3
cmp ebx, 0xffffffff
je 0x432fe2
push ebx
push edi
push ecx
call fcn.0042f1e0
add esp, 0xc
cmp esi, edi
je 0x432f9f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x432f9f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43300f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x433016
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x433107
test word [esi + 0xc], 0x10c
je 0x43306a
mov eax, dword [esi + 4]
test eax, eax
je 0x43306a
jl 0x433168
cmp ebx, eax
mov edi, ebx
jb 0x43303b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43310f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042f150
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 0x4330ff
cmp ebx, dword [ebp - 0xc]
jb 0x4330d7
cmp dword [ebp - 0xc], 0
je 0x433094
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x433089
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x433090
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43309f
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43309f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43313b
push eax
push dword [ebp - 8]
push esi
call fcn.0043445d
pop ecx
push eax
call fcn.0043ddae
add esp, 0xc
test eax, eax
je 0x43317a
cmp eax, 0xffffffff
je 0x433168
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4330ff
push esi
call fcn.0043bf3a
cmp eax, 0xffffffff
pop ecx
je 0x43316c
cmp dword [ebp - 4], 0
je 0x43313b
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 0x43301e
mov eax, dword [ebp + 0x14]
jmp 0x432fb9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x433126
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042f1e0
add esp, 0xc
call fcn.004339f6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x432faf
cmp dword [ebp + 0xc], 0xffffffff
je 0x433151
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042f1e0
add esp, 0xc
call fcn.004339f6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x432faf
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x432fb9
or dword [esi + 0xc], 0x10
jmp 0x43316c
Function at 0x434f97
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 + 0x461f70]
je 0x434fb2
inc edi
cmp edi, 0x17
jb 0x434fa3
cmp edi, 0x17
jae 0x435132
push ebp
push 3
call fcn.00440d2f
cmp eax, 1
pop ecx
je 0x4350fe
push 3
call fcn.00440d2f
test eax, eax
pop ecx
jne 0x434fe6
cmp dword [0x461b30], 1
je 0x4350fe
cmp ebx, 0xfc
je 0x435131
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x465910
push ebp
call fcn.00440cca
add esp, 0xc
test eax, eax
je 0x43501c
push esi
push esi
push esi
push esi
push esi
call fcn.0043659f
add esp, 0x14
push 0x104
mov esi, 0x465929
push esi
push 0
mov byte [0x465a2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x435060
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00440cca
add esp, 0xc
test eax, eax
je 0x435060
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043659f
add esp, 0x14
push esi
call fcn.0042fc30
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4350a5
push esi
call fcn.0042fc30
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x465c24
push 0x44f8a4
sub ecx, eax
push ecx
push eax
call fcn.00440c17
add esp, 0x14
test eax, eax
je 0x4350a5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043659f
add esp, 0x14
jmp 0x4350a7
xor esi, esi
push 0x44f8a0
push ebx
push ebp
call fcn.00440ba6
add esp, 0xc
test eax, eax
je 0x4350c7
push esi
push esi
push esi
push esi
push esi
call fcn.0043659f
add esp, 0x14
push dword [edi*8 + 0x461f74]
push ebx
push ebp
call fcn.00440ba6
add esp, 0xc
test eax, eax
je 0x4350e9
push esi
push esi
push esi
push esi
push esi
call fcn.0043659f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004409e9
add esp, 0xc
jmp 0x435131
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x435131
cmp ebp, 0xffffffff
je 0x435131
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x461f74]
push dword [esi]
call fcn.0042fc30
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