joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417fa0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x417fda
call fcn.00403023
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x41802e
call fcn.00403023
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4189b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
sub esp, 8
push esi
xor esi, esi
cmp ax, si
je 0x4189d4
cmp ax, 1
je 0x4189d4
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x47188c]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, 0x47188c
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edx
mov ebx, dword [ebp + 8]
mov edi, eax
add edi, 0x10
cmp dword [ebx + 0x44], esi
mov dword [ebp + 0x18], edi
je 0x418ab9
mov edx, dword [ebx + 0x48]
xor eax, eax
cmp edx, esi
jbe 0x418a1f
mov esi, dword [ebx + 0x40]
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x418a32
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x418a10
xor eax, eax
test eax, eax
mov esi, eax
je 0x418a98
test esi, esi
mov edx, esi
mov dword [ebp + 8], edx
jne 0x418a37
jmp 0x418a6e
mov eax, dword [esi + eax*4]
jmp 0x418a21
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x418a6c
mov edi, dword [ebx + 0x48]
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
add edx, 1
jmp 0x418a50
cmp edx, edi
jae 0x418a69
mov eax, dword [ebx + 0x40]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x418a62
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x418a50
mov edx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x418a91
mov ecx, dword [edx + 4]
cmp dword [ecx - 0xc], 0
je 0x418a91
push ecx
push eax
push str._s:__s_r_n
lea edi, [ebp + 0x18]
call fcn.00419bd0
add esp, 0xc
test esi, esi
jne 0x418a27
mov edi, dword [ebp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x418ab9
cmp dword [edi - 4], 1
mov dword [ebp - 4], eax
jle 0x418ab6
mov ecx, eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401809
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], edi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x418aed
mov ecx, dword [ebx + 0x80]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x418b1b
call fcn.00403023
mov esi, eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418b10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41ca10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x41ca5b
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x46b040]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41ca30
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x41cae9
sub ecx, ebx
je 0x41cacb
sub ecx, ebx
je 0x41cabf
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
mov esp, ebp
pop ebp
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
mov esp, ebp
pop ebp
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
mov esp, ebp
pop ebp
ret
Function at 0x41dec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41ded3
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41e03a
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x13c4], 0
je 0x41e03a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jl 0x41e03a
cmp byte [esi + 0x1390], 0
jne 0x41df21
test edi, edi
je 0x41df10
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esi]
push eax
call fcn.0043a467
add esp, 4
test eax, eax
je 0x41df4b
test edi, edi
je 0x41df3a
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
jne 0x41df6a
test edi, edi
je 0x41df59
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop esi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x1394]
mov dword [esi + 0x1398], ebx
push 0
lea ebx, [esi + 4]
push eax
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.0041ce40
cmp eax, 1
jne 0x41e009
jmp 0x41dfa0
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41dfd9
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.0043a5f5
add esp, 0x10
cmp edi, eax
jne 0x41e01c
mov eax, dword [esi]
push eax
call fcn.0043a467
add esp, 4
test eax, eax
jne 0x41e01c
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41df4f
push 0
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a8], 0x1388
push eax
mov dword [esi + 0x13a4], ebx
call fcn.0041ce40
cmp eax, 1
je 0x41dfa0
test edi, edi
je 0x41e00f
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e029
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x41e044
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41e052
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41e060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41e07d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e24c
mov dword [eax], edi
pop edi
pop ebp
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x41e0a2
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e093
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.0043a467
add esp, 4
test eax, eax
je 0x41e0cd
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e0be
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41e0da
mov dword [ecx], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41e0e7
mov dword [eax], 0
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41e0f5
mov dword [ebx], 0
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x41e103
mov dword [esi], 0
cmp dword [ebp + 0x10], 0
jne 0x41e1ee
cmp dword [edi + 0x13c4], 0
jne 0x41e18e
jmp 0x41e120
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.0041ce40
mov ebx, eax
cmp ebx, 3
je 0x41e152
cmp ebx, 4
jne 0x41e1d2
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41e183
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.0043a5f5
add esp, 0x10
cmp esi, eax
jne 0x41e1b4
mov edx, dword [edi]
push edx
call fcn.0043a467
add esp, 4
test eax, eax
jne 0x41e1b4
cmp ebx, 4
jne 0x41e120
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edi]
push eax
call fcn.0043a467
add esp, 4
test eax, eax
jne 0x41e1e8
mov ecx, dword [edi]
push ecx
call fcn.0043a7f5
mov edx, dword [edi]
push edx
call fcn.0043a467
add esp, 8
test eax, eax
je 0x41e1e8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e1c1
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 0x41e1db
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 0x41e1fa
mov edx, dword [edi + 0x139c]
mov dword [ecx], edx
test eax, eax
je 0x41e206
mov ecx, dword [edi + 0x13a0]
mov dword [eax], ecx
test ebx, ebx
je 0x41e212
mov edx, dword [edi + 0x13ac]
mov dword [ebx], edx
test esi, esi
je 0x41e21e
mov eax, dword [edi + 0x13b0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e22b
mov dword [eax], 0
lea ecx, [edi + 0x1394]
push ecx
mov dword [edi + 0x13c4], 0
call fcn.0041cf90
push edi
call fcn.00436873
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
ret 0x1c
Function at 0x41e460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041e440
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.0043a93f
add eax, 0x40
push eax
call fcn.0043ab0b
add esp, 0x10
cmp esi, 0x3ef
jne 0x41e4a2
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.0043a93f
add eax, 0x40
push eax
call fcn.0043ab0b
add esp, 8
push 3
call fcn.00439a0b
int3
Function at 0x41e660
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 0x41e670
mov dword [ebx], edx
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x41e847
mov eax, dword [ebp + 0x10]
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41e847
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jl 0x41e847
cmp byte [edi + 0x1390], dl
je 0x41e6bb
cmp ebx, edx
je 0x41e6a9
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp ecx, edx
jne 0x41e6d3
cmp ebx, edx
je 0x41e6c5
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.0043a467
add esp, 4
test eax, eax
jne 0x41e795
cmp dword [edi + 0x1398], 0
jne 0x41e744
mov esi, dword [edi]
call fcn.0041dd70
test al, al
jne 0x41e744
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.0043aef6
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.0043a467
add esp, 0x14
test eax, eax
jne 0x41e7d7
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.0041e4b0
test eax, eax
jne 0x41e7b2
mov esi, dword [edi]
call fcn.0041dd70
test al, al
je 0x41e775
cmp dword [edi + 0x1398], 0
jne 0x41e775
cmp dword [edi + 0x13a8], 0
ja 0x41e80c
cmp dword [edi + 0x13a8], 0
je 0x41e829
mov ecx, dword [edi]
push ecx
call fcn.0043a467
add esp, 4
test eax, eax
je 0x41e6f3
test ebx, ebx
je 0x41e79f
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 0x41e7f7
test ebx, ebx
je 0x41e7bd
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 0x41e79f
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 0x41e7fd
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 0x41e816
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 0x41e833
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 0x41e851
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41e85f
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x428389
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4283c2
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.0040c3d3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00405304
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4298dc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x459e5c
mov ecx, edi
call fcn.00401613
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42992f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x429942
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040c3d3
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00405304
jmp 0x429942
mov ecx, esi
call fcn.0042ad18
test eax, eax
je 0x429942
push edi
mov ecx, eax
call fcn.00428389
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x429e26
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 0x429e69
call fcn.0042ffe0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429e69
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429e84
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004299e0
test ebx, ebx
mov esi, eax
je 0x429e82
test edi, edi
je 0x429e82
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42aa1e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44f2b2
call fcn.0043b941
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.0042ffe0
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42aa69
call fcn.0042ffe0
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 0x42aa7a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42aa87
or eax, 0xffffffff
jmp 0x42abe3
mov ecx, esi
call fcn.0042a565
mov dword [ebp - 0x14], eax
call fcn.00427412
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x42ab05
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42ab05
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42ab05
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00425ff8
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42ab05
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x42ab05
mov ecx, ebx
call fcn.0042aef1
test eax, eax
je 0x42ab05
push 0
mov ecx, ebx
call fcn.0042af0c
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00428c9a
push dword [ebp - 0x14]
call fcn.0042736a
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042a826
xor edi, edi
cmp eax, edi
je 0x42ab62
test byte [esi + 0x3c], 0x10
je 0x42ab4c
push 4
pop edi
mov ecx, esi
call fcn.0042add8
test ax, 0x100
je 0x42ab42
push 5
pop edi
push edi
mov ecx, esi
call fcn.00426f32
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42ab62
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042af73
or dword [ebp - 4], 0xffffffff
jmp 0x42ab8d
cmp dword [ebp - 0x28], edi
je 0x42ab9b
push 1
mov ecx, ebx
call fcn.0042af0c
cmp dword [ebp - 0x2c], edi
je 0x42abab
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42abc4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42abc4
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.0042a59f
cmp dword [esi + 0x58], edi
je 0x42abe0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043b9e6
ret
Function at 0x42ac4d
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 0x42ac6d
cmp dword [edi + 0x54], 0
jne 0x42ac6d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042ffe0
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.0042ac14
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 0x431c89
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x46cd08]
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 0x431d27
push 0x457134
push 4
push eax
call fcn.004392a4
push eax
call fcn.004015bf
add esp, 0x10
push ebx
push edi
call fcn.0043bcd6
mov edi, dword [eax]
call fcn.0043bcd6
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.0043bc7c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043bcd6
cmp dword [eax], ebx
je 0x431d3e
call fcn.0043bcd6
push dword [eax]
call fcn.00417e80
pop ecx
jmp 0x431d45
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x431cd8
jmp 0x431db7
call fcn.0043bcd6
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x431db3
cmp dword [ebp - 0x40], esi
jae 0x431db3
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.00436910
add esp, 0xc
push 0x456750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x431da5
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x431da5
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x431da5
push ebx
push ebx
push esi
jmp 0x431dab
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x431db5
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00435d90
add ebp, 0x1f4
leave
ret
Function at 0x435d90
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46cd08]
jne 0x435d9a
repz ret
jmp fcn.0043e1f3