joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a83e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push ecx
lea ecx, [ebp - 0x260]
mov edi, edx
mov dword [esi], eax
call fcn.00467617
push esi
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push edi
push 0
push dword [eax + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x25c], eax
je 0x47a890
push dword [ebp - 0x25c]
call fcn.0052c08b
pop ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47a91d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x370
lea eax, [esp + 8]
push ebx
push esi
push ecx
push eax
mov ecx, str.Blizzard_Error
xor ebx, ebx
call fcn.0047a813
pop ecx
pop ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x47a9d0
push str.UserUUID
lea ecx, [esp + 0x11c]
call fcn.00467617
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push ebx
push dword [eax + 4]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [esp + 0x120]
cmp dword [esp + 0x11c], eax
je 0x47a9ae
push dword [esp + 0x11c]
call fcn.0052c08b
pop ecx
test esi, esi
jne 0x47a9c6
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x47a9c6
mov bl, 1
jmp 0x47a9d7
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47b68e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
push edi
mov edi, ecx
test eax, eax
jle 0x47b741
mov ecx, edx
mov dword [ebp - 8], 0xff
shl ecx, 2
push ebx
mov dword [ebp - 0x1c], ecx
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
test edx, edx
jle 0x47b72e
mov dword [ebp - 0xc], edx
mov al, byte [edi]
xor edx, edx
mov ch, byte [edi + 3]
lea edi, [edi + 4]
movzx eax, al
movzx esi, ch
imul eax, esi
mov bl, byte [edi - 2]
mov cl, byte [edi - 3]
div dword [ebp - 8]
mov edx, dword [ebp - 4]
mov byte [edx], al
inc edx
mov dword [ebp - 4], edx
xor edx, edx
movzx eax, cl
imul eax, esi
div dword [ebp - 8]
mov edx, dword [ebp - 4]
mov byte [edx], al
inc edx
movzx eax, bl
mov ebx, 0xff
mov dword [ebp - 4], edx
xor edx, edx
imul eax, esi
div ebx
mov edx, dword [ebp - 4]
mov byte [edx], al
mov byte [edx + 1], ch
add edx, 2
sub dword [ebp - 0xc], 1
mov dword [ebp - 4], edx
jne 0x47b6c6
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add edi, ecx
sub eax, 1
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], eax
jne 0x47b6b9
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x47c43c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x47c4db
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.005447e0
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x47c490
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x47c4b7
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x47c596
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x47c508
xor eax, eax
jmp 0x47c559
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x47c525
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0047e3c1
jmp 0x47c53d
cmp eax, 2
jne 0x47c541
mov edx, dword [esi]
test edx, edx
jne 0x47c534
xor eax, eax
jmp 0x47c53e
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0047e60c
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.005447e0
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x47c581
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x47c596
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x47c44d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480f2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ecx
inc edi
cmp byte [ebp + 8], 0
push 8
pop ebx
je 0x480fae
movzx edx, byte [ebp + 0xc]
movzx eax, byte [ebp + 0x10]
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
jmp 0x480f5a
mov eax, dword [ebp + 8]
dec ebx
mov esi, edx
movzx ecx, bl
mov edx, eax
shr esi, cl
shr edx, cl
and esi, 1
mov ecx, dword [ebp - 8]
mov eax, esi
shl eax, 8
and edx, 1
add eax, edi
add edi, edi
or edi, edx
mov ecx, dword [ecx + eax*4 + 0x400]
mov eax, edx
sub ecx, edx
neg eax
xor ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x716cd0]
mov dword [ebp - 4], eax
cmp esi, edx
jne 0x480faa
mov edx, dword [ebp + 0xc]
test ebx, ebx
jne 0x480f57
test ebx, ebx
je 0x480fe8
movzx esi, byte [ebp + 0x10]
mov eax, dword [ebp - 8]
dec ebx
mov cl, bl
mov edx, esi
shr edx, cl
and edx, 1
mov ecx, dword [eax + edi*4]
mov eax, edx
sub ecx, edx
neg eax
xor ecx, eax
add edi, edi
mov eax, dword [ebp - 4]
or edi, edx
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x716cd0]
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x480fb2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4810f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov edx, 0x800
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
shr eax, 2
mov dword [ebp - 4], ebx
mov eax, dword [eax*4 + 0x716cd0]
mov dword [ebp - 8], eax
mov eax, edx
sub eax, dword [ebx]
sub edx, dword [ebx + 4]
shr eax, 2
shr edx, 2
mov ecx, dword [eax*4 + 0x716cd0]
mov eax, dword [ebx + 4]
mov ebx, dword [ebp + 0xc]
shr eax, 2
mov eax, dword [eax*4 + 0x716cd0]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edx*4 + 0x716cd0]
add eax, ecx
xor esi, esi
mov dword [ebp - 0x10], eax
cmp esi, ebx
jae 0x4811fe
mov ecx, dword [ebp - 4]
mov eax, edi
shl eax, 5
add ecx, 8
push esi
add ecx, eax
call fcn.0048575f
mov ecx, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 8
jb 0x48114e
cmp esi, 0x10
jae 0x4811a7
shl edi, 5
cmp esi, ebx
jae 0x4811fe
mov ecx, dword [ebp - 4]
lea eax, [esi - 8]
add ecx, 0x208
push eax
add ecx, edi
call fcn.0048575f
mov ecx, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 0x10
jb 0x481180
cmp esi, ebx
jae 0x4811fe
lea edi, [esi - 0x10]
mov dword [ebp + 8], edi
mov edx, edi
mov edi, dword [ebp - 4]
or edx, 0x100
xor ebx, ebx
mov ecx, edx
shr edx, 1
and ecx, 1
mov eax, dword [edi + edx*4 + 0x408]
sub eax, ecx
neg ecx
xor eax, ecx
shr eax, 2
and eax, 0x1ff
add ebx, dword [eax*4 + 0x716cd0]
cmp edx, 1
jne 0x4811be
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add eax, ebx
mov dword [ecx + esi*4], eax
inc esi
inc edi
mov dword [ebp + 8], edi
cmp esi, dword [ebp + 0xc]
jb 0x4811b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4835f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 4
mov edi, ecx
pop esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
mov ecx, esi
call fcn.00480b0d
and dword [ebp - 8], 0
mov ecx, eax
mov ebx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x14], ecx
and ebx, 1
mov dword [ebp - 0x10], eax
or ebx, 2
mov dword [ebp - 4], 1
mov ecx, eax
shl ebx, cl
mov ecx, esi
sub ecx, ebx
test eax, eax
je 0x48368f
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, ecx
sub eax, dword [ebp - 0x14]
and edx, 1
shr ecx, 1
add eax, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + eax*4 + 0x28bac]
mov eax, edx
sub ecx, edx
neg eax
xor ecx, eax
mov eax, dword [ebp - 8]
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x716cd0]
mov ecx, dword [ebp - 4]
add ecx, ecx
mov dword [ebp - 8], eax
or ecx, edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
sub esi, 1
jne 0x483641
mov esi, dword [ebp - 0xc]
jmp 0x483692
mov eax, dword [ebp - 8]
mov dword [ebp + esi*4 - 0x21c], eax
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x80
jb 0x48360e
mov eax, edi
mov dword [ebp - 0x10], 4
lea ebx, [edi + 0x33314]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
xor edx, edx
lea esi, [eax + 0x32f14]
mov dword [ebp - 8], esi
cmp dword [edi + 0x33b58], edx
jbe 0x483721
mov edi, dword [ebp - 4]
mov esi, edx
or esi, 0x40
xor ebx, ebx
mov ecx, esi
shr esi, 1
and ecx, 1
mov eax, dword [edi + esi*4 + 0x287b0]
sub eax, ecx
neg ecx
xor eax, ecx
shr eax, 2
and eax, 0x1ff
add ebx, dword [eax*4 + 0x716cd0]
cmp esi, 1
jne 0x4836db
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [ebx + edx*4], eax
inc edx
cmp edx, dword [edi + 0x33b58]
jb 0x4836d1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push 0xe
pop ecx
cmp dword [edi + 0x33b58], ecx
jbe 0x483744
mov eax, ecx
shr eax, 1
shl eax, 6
sub eax, 0x140
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x33b58]
jb 0x48372c
push 4
mov edx, esi
mov ecx, ebx
pop eax
sub edx, ebx
mov dword [ebp - 0x1c], eax
mov esi, eax
mov eax, dword [edx + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x483752
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x21c]
mov edi, dword [ebp - 0x1c]
lea edx, [ebx + 0x10]
sub eax, ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov ecx, edi
call fcn.00480b0d
mov eax, dword [esi + eax*4]
add eax, dword [ebx + edx]
inc edi
mov dword [edx], eax
lea edx, [edx + 4]
cmp edi, 0x80
jb 0x483775
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
add eax, 0x100
mov edi, dword [ebp - 0x18]
add ebx, 0x200
sub dword [ebp - 0x10], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
jne 0x4836be
and dword [edi + 0x33b70], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4837c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea edi, [ebx + 0x33b14]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov eax, esi
mov dword [ebp - 4], 4
xor esi, esi
xor edi, edi
inc esi
mov ecx, dword [ebx + esi*4 + 0x28d78]
mov edx, eax
shr eax, 1
and edx, 1
mov dword [ebp - 0x10], eax
sub ecx, edx
mov eax, edx
add esi, esi
neg eax
or esi, edx
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr ecx, 2
and ecx, 0x1ff
add edi, dword [ecx*4 + 0x716cd0]
sub dword [ebp - 4], 1
jne 0x4837e9
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
inc esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0xc], edi
cmp esi, 0x10
jb 0x4837db
and dword [ebx + 0x33b54], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48575f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
or esi, 8
mov edi, ecx
xor eax, eax
mov edx, esi
shr esi, 1
and edx, 1
mov ecx, dword [edi + esi*4]
sub ecx, edx
neg edx
xor ecx, edx
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x716cd0]
cmp esi, 1
jne 0x48576e
pop edi
pop esi
pop ebp
ret 4
Function at 0x486f30
Capabilities:
Terminate process

Disassembly:
push esi
push str.1.0.4__20_Dec_2006
mov esi, ecx
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__15_February_2005._n_n
push 2
call fcn.00558a5f
pop ecx
push eax
call fcn.0043e1a4
add esp, 0x10
cmp esi, 0x3ef
jne 0x486f6c
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
push 2
call fcn.00558a5f
pop ecx
push eax
call fcn.0043e1a4
pop ecx
pop ecx
push 3
call fcn.0054d388
int3
Function at 0x487124
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x38]
mov dl, byte [esi + 0x34]
test edi, edi
jle 0x487159
mov ecx, dword [esi + 0x260]
push ebx
movzx ebx, dl
mov eax, ecx
shl ecx, 8
shr eax, 0x18
xor eax, ebx
xor ecx, dword [eax*4 + 0x68a680]
sub edi, 1
jne 0x48713c
mov dword [esi + 0x260], ecx
pop ebx
mov eax, dword [esi + 0x34]
mov byte [esi + eax + 0x58], 1
mov ecx, dword [esi + 0x38]
mov eax, ecx
sub eax, 1
je 0x4871db
sub eax, 1
je 0x4871c7
sub eax, 1
je 0x4871bb
mov byte [ecx + esi + 0x54], 1
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov edx, dword [esi + 0x44]
mov cl, byte [esi + 0x38]
mov eax, dword [esi + 0x24]
sub cl, 4
mov byte [edx + eax], cl
jmp 0x4871e4
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
jmp 0x4871e1
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x44]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
pop edi
pop esi
ret
Function at 0x48d963
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, edx
mov edx, ecx
mov dword [ebp - 0x10], edx
mov cl, byte [edx + 8]
mov byte [ebp - 1], cl
cmp cl, 3
je 0x48daf8
mov eax, dword [edx]
push esi
xor esi, esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esi
push edi
test cl, 2
je 0x48d9be
mov edi, dword [ebp + 8]
movzx edx, byte [edx + 9]
mov ecx, edx
push 3
movzx eax, byte [edi]
sub ecx, eax
movzx eax, byte [edi + 1]
mov dword [ebp - 0x24], ecx
mov ecx, edx
sub ecx, eax
movzx eax, byte [edi + 2]
sub edx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
pop edi
jmp 0x48d9d1
mov eax, dword [ebp + 8]
xor edi, edi
movzx ecx, byte [edx + 9]
movzx eax, byte [eax + 3]
sub ecx, eax
inc edi
mov dword [ebp - 0x24], ecx
test byte [ebp - 1], 4
mov dword [ebp - 0xc], edi
je 0x48d9ef
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [ebp + edi*4 - 0x24], ecx
inc edi
mov dword [ebp - 0xc], edi
mov eax, esi
test edi, edi
je 0x48daf6
mov edx, esi
cmp dword [ebp + eax*4 - 0x24], esi
jg 0x48da07
mov dword [ebp + eax*4 - 0x24], esi
jmp 0x48da0a
xor edx, edx
inc edx
inc eax
cmp eax, edi
jl 0x48d9fb
test dx, dx
mov edx, dword [ebp - 0x10]
je 0x48daf6
movzx eax, byte [edx + 9]
dec eax
sub eax, 1
je 0x48dae1
dec eax
sub eax, 1
je 0x48dab3
sub eax, 4
je 0x48da91
sub eax, 8
jne 0x48daf6
mov eax, dword [ebp - 8]
imul eax, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x48daf6
mov eax, esi
xor edx, edx
div dword [ebp - 0xc]
movzx esi, byte [ebx]
mov eax, 0x100
imul esi, eax
movzx eax, byte [ebx + 1]
mov cx, word [ebp + edx*4 - 0x24]
add si, ax
shr si, cl
movzx ecx, si
mov esi, dword [ebp - 0x14]
mov eax, ecx
shr eax, 8
inc esi
mov byte [ebx], al
lea ebx, [ebx + 2]
mov byte [ebx - 1], cl
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 8]
jb 0x48da52
jmp 0x48daf6
mov eax, dword [ebp - 8]
imul eax, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x48daf6
xor edx, edx
mov eax, esi
div edi
mov cl, byte [ebp + edx*4 - 0x24]
shr byte [ebx], cl
inc ebx
inc esi
cmp esi, dword [ebp - 8]
jb 0x48da9e
jmp 0x48daf6
mov esi, dword [edx + 4]
mov edx, 0xf0
mov ecx, dword [ebp - 0x24]
sar edx, cl
push 0xf
pop eax
and dl, 0xf0
sar eax, cl
or dl, al
test esi, esi
je 0x48daf6
mov al, byte [ebx]
mov cl, byte [ebp - 0x24]
shr al, cl
and al, dl
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x48dace
jmp 0x48daf6
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x48daf6
mov al, byte [ebx]
shr al, 1
and al, 0x55
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x48dae8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49acc5
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x611091
call fcn.00609528
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [edi], vtable.bnl::StandardProxyInfoServiceImpl.0
mov eax, dword [ecx]
mov dword [edi + 8], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov esi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
test esi, esi
je 0x49ad08
lock inc dword [esi + 4]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x49ad16
call fcn.00402402
xor edx, edx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
mov byte [ebp - 4], 2
lea esi, [edi + 0x28]
push edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], edx
push edx
mov dword [ebp + 8], esi
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.0049afda
mov dword [esi], eax
lea eax, [edi + 0x34]
push 2
push eax
mov byte [edi + 0x30], 0
call fcn.0051890a
lea eax, [edi + 0x64]
push eax
call fcn.005193b5
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a6616
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x611a7e
call fcn.00609528
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.bnl::StandardNetworkImpl.0
mov eax, dword [edx]
mov dword [esi + 8], eax
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea eax, [esi + 0x38]
push 2
push eax
call fcn.0051890a
lea eax, [esi + 0x68]
push eax
call fcn.005193b5
add esp, 0xc
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 7
call fcn.00410bfa
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov word [esi + 0xec], bx
mov byte [esi + 0xee], bl
call fcn.004a86a1
mov ecx, esi
call fcn.004a876b
mov ecx, esi
call fcn.004a8811
mov ecx, esi
call fcn.004a8945
mov ecx, esi
call fcn.004a89eb
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa4a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x611c7c
call fcn.00609528
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
push edi
and dword [ebx + 4], 0
mov eax, dword [ebp + 8]
lea edi, [ebx + 0xc]
and dword [ebp - 4], 0
push 7
mov dword [ebx], vtable.bnl::HTTPFetcherConnection.0
mov dword [ebx + 8], eax
lea esi, [eax + 8]
pop ecx
push dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x28]
xor edi, edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
call fcn.004a4fa9
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x30]
mov dword [ecx], edi
mov dword [ecx + 4], edi
push dword [eax + 4]
push dword [eax]
call fcn.0049a204
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
lea esi, [ebx + 0x40]
mov byte [ebp - 4], 3
push edi
push edi
mov dword [ebp + 8], esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0049ab44
mov dword [esi], eax
lea esi, [ebx + 0x48]
mov byte [ebp - 4], 4
push edi
push edi
mov dword [ebp + 8], esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0049ab44
mov dword [esi], eax
mov ecx, 0x7188e0
lea eax, [ebx + 0x5c]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
add eax, 0x800
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x86c]
mov dword [ebx + 0x860], eax
mov dword [ebx + 0x864], eax
add eax, 0x800
mov dword [ebx + 0x868], eax
xor eax, eax
mov dword [ebx + 0x1070], eax
mov dword [ebx + 0x1078], eax
mov dword [ebx + 0x107c], eax
mov byte [ebx + 0x1080], al
mov dword [ebx + 0x1088], eax
mov dword [ebx + 0x108c], eax
mov byte [ebx + 0x1090], al
call fcn.004aa463
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x1098], eax
mov eax, ebx
mov dword [ebx + 0x109c], edx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc