joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7d7
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x463e00]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x449aba
call fcn.004346a6
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0x218]
call fcn.0040cc60
mov ecx, dword [ebp - 0x20]
push 0x4539a4
call fcn.00401553
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
call fcn.00401553
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x40c9a2
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x18], ebx
je 0x40c9a2
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x40c98f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401553
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401b10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x40c977
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.DisplayName
call fcn.00401553
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x40]
call fcn.0040c722
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ac3
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00409dbd
lea edi, [ebp - 0x14]
call fcn.0040cc60
push dword [ebp + 0x218]
mov ecx, edi
call fcn.00402435
test eax, eax
jne 0x40c977
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.UninstallString
call fcn.00401553
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x34]
call fcn.0040c722
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00401ac3
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00409dbd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409dbd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00409dbd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0x104
je 0x40c883
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00409dbd
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x218]
call fcn.00409dbd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043013e
add ebp, 0x20c
leave
ret
Function at 0x40c9eb
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x234
mov eax, 0x44a316
call fcn.0043470f
xor ebx, ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x22c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00401553
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x228]
push eax
push 0x20019
push ebx
push dword [ebp - 0x22c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40cb55
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x220], ebx
je 0x40cb55
mov dword [ebp - 0x224], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x220], 0x104
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x230], eax
jne 0x40cb39
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401553
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jle 0x40cb2b
movzx eax, word [eax]
cmp ax, 0x76
jne 0x40cb2b
push 0x76
lea eax, [ebp - 0x21c]
push eax
call fcn.0040cbe5
push dword [ebp - 0x21c]
lea ebx, [ebp - 0x240]
call fcn.004072fc
mov eax, dword [ebp - 0x23c]
cmp eax, dword [esi + 4]
jb 0x40cb29
ja 0x40cb07
mov eax, dword [ebp - 0x240]
cmp eax, dword [esi]
jbe 0x40cb29
push dword [ebp - 0x21c]
lea ebx, [ebp - 0x238]
call fcn.004072fc
mov eax, dword [ebp - 0x238]
mov dword [esi], eax
mov eax, dword [ebp - 0x234]
mov dword [esi + 4], eax
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x21c]
call fcn.00409dbd
inc dword [ebp - 0x224]
cmp dword [ebp - 0x230], ebx
mov dword [ebp - 0x220], 0x104
je 0x40ca69
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00409dbd
mov eax, esi
call fcn.00434759
ret

Function at 0x40cb78
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x463e00]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.00430590
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40cbc7
cmp dword [ebp - 0x78], 2
jae 0x40cbcd
cmp dword [ebp - 0x7c], 6
ja 0x40cbcd
xor eax, eax
jmp 0x40cbd0
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043013e
add ebp, 0x98
leave
ret
Function at 0x4151c0
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 0x4151fa
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 + 0x462040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x4151d4
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 0x415282
sub ecx, ebx
je 0x415267
sub ecx, ebx
je 0x41525b
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 0x4167d0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4167eb
mov eax, dword [esp + 8]
test eax, eax
je 0x4169bf
mov dword [eax], edi
pop edi
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x416810
mov eax, dword [esp + 8]
test eax, eax
je 0x416802
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.004337b3
add esp, 4
test eax, eax
je 0x41683b
mov eax, dword [esp + 8]
test eax, eax
je 0x41682d
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416849
mov dword [eax], 0
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x416859
mov dword [ebp], 0
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x416868
mov dword [ebx], 0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x416877
mov dword [esi], 0
cmp dword [esp + 0x1c], 0
jne 0x41695e
cmp dword [edi + 0x13c4], 0
jne 0x4168fe
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.004155d0
mov ebx, eax
cmp ebx, 3
je 0x4168bf
cmp ebx, 4
jne 0x416943
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x4168ed
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
push 1
push ebp
call fcn.00433941
add esp, 0x10
cmp esi, eax
jne 0x416924
mov edx, dword [edi]
push edx
call fcn.004337b3
add esp, 4
test eax, eax
jne 0x416924
cmp ebx, 4
jne 0x416890
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.004337b3
add esp, 4
test eax, eax
jne 0x41695a
mov ecx, dword [edi]
push ecx
call fcn.00433b41
mov edx, dword [edi]
push edx
call fcn.004337b3
add esp, 8
test eax, eax
je 0x41695a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416932
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 0x41694d
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 0x41696a
mov ecx, dword [edi + 0x139c]
mov dword [eax], ecx
test ebp, ebp
je 0x416977
mov edx, dword [edi + 0x13a0]
mov dword [ebp], edx
test ebx, ebx
je 0x416983
mov eax, dword [edi + 0x13ac]
mov dword [ebx], eax
test esi, esi
je 0x41698f
mov ecx, dword [edi + 0x13b0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41699d
mov dword [eax], 0
lea edx, [edi + 0x1394]
push edx
mov dword [edi + 0x13c4], 0
call fcn.00415710
push edi
call fcn.00430c5b
add esp, 4
pop esi
pop ebx
pop ebp
pop edi
ret 0x1c
Function at 0x416bd0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00416bb0
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.00433c8b
add eax, 0x40
push eax
call fcn.00433e5b
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x416c11
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.00433c8b
add eax, 0x40
push eax
call fcn.00433e5b
add esp, 8
push 3
call fcn.00430b25
int3
Function at 0x41d330
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 0x41d370
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x41d443
lea edx, [edi + 0x22]
test dl, 1
je 0x41d37b
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41d38d
mov eax, 1
jmp 0x41d397
cmp eax, 0x64
jle 0x41d397
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.0041cc40
add esp, 0x14
cmp ebp, 3
jl 0x41d412
test edi, edi
mov dword [esp + 0x10], 1
je 0x41d3e4
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.00433c8b
add eax, 0x40
push eax
call fcn.00433e5b
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x41d44b
cmp ebp, 2
jl 0x41d435
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.00433c8b
add eax, 0x40
push eax
call fcn.00433e5b
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.0041beb0
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x41d473
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x41d470
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x41d460
jmp 0x41d473
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x41d48b
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.00416bd0
add esp, 0x10
ret

Function at 0x421186
Capabilities:
Get graphical window text

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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4539a4
mov ecx, edi
call fcn.0040166e
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x422823
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x422836
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00403df4
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00403dcf
jmp 0x422836
mov ecx, esi
call fcn.0042384b
test eax, eax
je 0x422836
push edi
mov ecx, eax
call fcn.00421186
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x422d1a
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 0x422d5d
call fcn.0042715f
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 0x422d5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x422d78
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004228d4
test ebx, ebx
mov esi, eax
je 0x422d76
test edi, edi
je 0x422d76
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x423551
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4476b3
call fcn.004346d9
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.0042715f
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42359c
call fcn.0042715f
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 0x4235ad
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4235ba
or eax, 0xffffffff
jmp 0x423716
mov ecx, esi
call fcn.00423098
mov dword [ebp - 0x14], eax
call fcn.0042020f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x423638
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x423638
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x423638
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041edf5
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x423638
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x423638
mov ecx, ebx
call fcn.00423a24
test eax, eax
je 0x423638
push 0
mov ecx, ebx
call fcn.00423a3f
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00421b90
push dword [ebp - 0x14]
call fcn.00420167
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00423359
xor edi, edi
cmp eax, edi
je 0x423695
test byte [esi + 0x3c], 0x10
je 0x42367f
push 4
pop edi
mov ecx, esi
call fcn.0042390b
test ax, 0x100
je 0x423675
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041fd2f
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x423695
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00423aa6
or dword [ebp - 4], 0xffffffff
jmp 0x4236c0
cmp dword [ebp - 0x28], edi
je 0x4236ce
push 1
mov ecx, ebx
call fcn.00423a3f
cmp dword [ebp - 0x2c], edi
je 0x4236de
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4236f7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4236f7
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.004230d2
cmp dword [esi + 0x58], edi
je 0x423713
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00434745
ret
Function at 0x423780
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 0x4237a0
cmp dword [edi + 0x54], 0
jne 0x4237a0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042715f
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.00423747
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 0x4277c1
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x463e00]
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 0x42785f
push 0x44e944
push 4
push eax
call fcn.004317ae
push eax
call fcn.00401635
add esp, 0x10
push ebx
push edi
call fcn.00434a26
mov edi, dword [eax]
call fcn.00434a26
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.004349cc
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00434a26
cmp dword [eax], ebx
je 0x427876
call fcn.00434a26
push dword [eax]
call fcn.0041db06
pop ecx
jmp 0x42787d
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x427810
jmp 0x4278ef
call fcn.00434a26
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4278eb
cmp dword [ebp - 0x40], esi
jae 0x4278eb
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.00430590
add esp, 0xc
push 0x44e528
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4278dd
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4278dd
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4278dd
push ebx
push ebx
push esi
jmp 0x4278e3
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4278ed
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0043013e
add ebp, 0x1f4
leave
ret
Function at 0x42aeac
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42aeb5
xor eax, eax
jmp 0x42af1e
cmp dword [esp + 8], 0
jne 0x42aec1
call fcn.00424d51
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00434246
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42aefc
push dword [esi + 0x10]
call fcn.00433784
test eax, eax
pop ecx
jne 0x42aefc
mov esi, dword [esi + 0xc]
call fcn.00434a39
push esi
push dword [eax]
push 1
call fcn.0042ad16
push dword [esi + 0x10]
call fcn.004337b3
test eax, eax
pop ecx
je 0x42af1b
push dword [esi + 0x10]
call fcn.00435640
push eax
call fcn.00401635
pop ecx
pop ecx
jmp 0x42aeea
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x42af27
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42af31
call fcn.00424d51
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00433941
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42af5e
mov esi, dword [esi + 0xc]
call fcn.00434a39
push esi
push dword [eax]
push 1
call fcn.0042ad16
pop esi
ret 8

Function at 0x42bfc9
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 0x42bff2
call fcn.0042715f
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 0x42c015
push eax
push dword [esi + 4]
call fcn.0042bf54
push esi
push eax
mov ecx, 0x4676ac
call fcn.0042bc43
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x43013e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463e00]
jne 0x430148
repz ret
jmp fcn.00439d28