joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100278c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100278cd
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100279d0
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10046c8c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10046c8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10046c8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10046c8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10046c8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10046c8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10046c8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10046c8c]
xor eax, edx
inc ecx
dec edi
jne 0x100278e8
pop edi
test esi, esi
je 0x100279f2
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10046c8c]
xor eax, edx
inc ecx
dec esi
jne 0x100279d4
pop esi
pop ebx
not eax
ret 0xc
Function at 0x10027ea0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.1002a5a0
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:_bzip2_devel_sourceware.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._n_n
push 0x10054e10
call fcn.10035ab3
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x10027ed9
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 0x10054e10
call fcn.10035ab3
add esp, 8
push 3
call fcn.100359a2
Function at 0x10028440
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x38]
mov cl, byte [eax + 0x34]
test edi, edi
mov byte [esp + 0x10], cl
jle 0x10028481
mov esi, dword [esp + 0x10]
and esi, 0xff
mov edx, dword [eax + 0x260]
mov ebx, edx
shr ebx, 0x18
xor ebx, esi
shl edx, 8
mov ebx, dword [ebx*4 + 0x10053c38]
xor ebx, edx
dec edi
mov dword [eax + 0x260], ebx
jne 0x1002845f
mov edx, dword [eax + 0x34]
mov bl, 1
mov byte [eax + edx + 0x58], bl
mov edx, dword [eax + 0x38]
mov esi, edx
dec esi
je 0x1002852f
dec esi
je 0x1002850e
dec esi
je 0x100284f4
mov byte [edx + eax + 0x54], bl
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov edx, esi
mov esi, dword [eax + 0x24]
mov byte [esi + edx], cl
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [esi + edx], cl
mov ebx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebx
mov edx, ebx
mov dword [eax + 0x44], ebx
mov byte [esi + edx], cl
mov edi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x24]
inc edi
sub dl, 4
mov ecx, edi
mov dword [eax + 0x44], edi
pop edi
mov byte [esi + ecx], dl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov edx, esi
mov esi, dword [eax + 0x24]
mov byte [esi + edx], cl
jmp 0x10028517
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc edx
pop edi
mov dword [eax + 0x44], edx
mov byte [esi + edx], cl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
pop edi
mov byte [edx + esi], cl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
Function at 0x100328cf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100328ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100342cf
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x10032912
test byte [esp + 8], 2
je 0x10032912
call fcn.10034342
mov dword [eax], 0xd
call fcn.1003434b
mov dword [eax], 5
jmp 0x100328eb
xor eax, eax
ret

Function at 0x10037fcf
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1003800a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10037ff1
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10038002
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1003800c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10037fe7
xor eax, eax
pop edi
pop esi
ret

Function at 0x100382cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fnstsw word [ebp - 0x3fba72de]
push eax
call fcn.10037f9f
push eax
push esi
push dword [ebp + 8]
call fcn.10037f54
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10037f8f
out 0xfc, eax
test dword [ebp - 0x73], edx
inc ebp
call 0x60ebe085
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10037f9f
push eax
push esi
push dword [ebp + 8]
call fcn.10037f54
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
Function at 0x10038372
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10037f9f
push eax
push esi
push dword [ebp + 8]
call fcn.10037f54
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10037f9f
push eax
push esi
push dword [ebp + 8]
call fcn.10037f54
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10037f8f
cmpsb byte [esi], byte es:[edi]
inc eax
sbb eax, 0x7c9d8857
invalid

Function at 0x100386ad
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10038666
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10038684
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100386e2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
inc eax
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100386c9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100386d2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100386dc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100386be
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10038648
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x1000c004
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1000dec0
call fcn.1000c190
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1000f98c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1000bda7
cmp eax, esi
jne 0x1000bd9a
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1000bdaa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000bd81
xor esi, esi
inc esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000bdbd
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x1000bdec
mov eax, dword [0x1000f988]
test eax, eax
jne 0x1000bde6
mov dword [0x1000f988], esi
push 0x100012ac
push 0x100012a0
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x1000bdec
jmp 0x1000bf14
mov dword [0x1000f644], esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000be10
push 0x1000129c
push 0x1000128c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x1000f988], 2
test ebx, ebx
jne 0x1000be1c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1000f998], 0
je 0x1000be40
push 0x1000f998
call fcn.1000c500
pop ecx
test eax, eax
je 0x1000be40
push 0
push 2
push 0
call dword [0x1000f998]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1000be9c
test al, al
je 0x1000be5a
cmp dword [ebp - 0x1c], 0
jne 0x1000be9c
mov al, byte [esi]
test al, al
je 0x1000be6a
cmp al, 0x20
ja 0x1000be6a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1000be5a
test byte [ebp - 0x3c], 1
je 0x1000be76
movzx eax, word [ebp - 0x38]
jmp 0x1000be79
push 0xa
pop eax
push eax
push esi
push 0
push 0x10000000
call main
mov dword [0x1000f640], eax
cmp dword [0x1000f634], 0
jne 0x1000bef0
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x1000beab
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x1000bebe
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1000be47
cmp dword [0x1000f644], 0
jne 0x1000beff
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1000f640]
jmp 0x1000bf20
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.1000c1d5
ret
call 0x1009d000
jmp 0x1000bd47

Function at 0x1000c020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f15c]
jne 0x1000c02a
repz ret
jmp fcn.1000c685

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1018871e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10203520]
jne 0x10188728
repz ret
jmp fcn.1018963c

Function at 0x1018a83b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10187ad4
and dword [ebp - 4], 0
cmp dword [0x10204a4c], 0
mov ebx, eax
jne 0x1018a8ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018a99d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018a99d
push eax
call fcn.10187a62
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10204a4c], eax
call esi
push eax
call fcn.10187a62
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10204a50], eax
call esi
push eax
call fcn.10187a62
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10204a54], eax
call esi
push eax
call fcn.10187a62
pop ecx
mov dword [0x10204a5c], eax
test eax, eax
je 0x1018a8ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10187a62
pop ecx
mov dword [0x10204a58], eax
mov eax, dword [0x10204a58]
cmp eax, ebx
je 0x1018a944
cmp dword [0x10204a5c], ebx
je 0x1018a944
push eax
call fcn.10187add
push dword [0x10204a5c]
mov esi, eax
call fcn.10187add
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1018a944
test edi, edi
je 0x1018a944
call esi
test eax, eax
je 0x1018a93b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018a93b
test byte [ebp - 0xc], 1
jne 0x1018a944
or dword [ebp + 0x10], 0x200000
jmp 0x1018a97d
mov eax, dword [0x10204a50]
cmp eax, ebx
je 0x1018a97d
push eax
call fcn.10187add
pop ecx
test eax, eax
je 0x1018a97d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018a97d
mov eax, dword [0x10204a54]
cmp eax, ebx
je 0x1018a97d
push eax
call fcn.10187add
pop ecx
test eax, eax
je 0x1018a97d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10204a4c]
call fcn.10187add
pop ecx
test eax, eax
je 0x1018a99d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1018a99f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1018b984
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1018c99e
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10202d60]
add esi, 0x1e9f
mov dword [0x10202d64], esi
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1018b9d2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10202d60], 0x1ee2
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1018bae2
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x1018ba47
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
jae 0x1018bae2
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1018bab3
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x1018ba61
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1018babf
jmp 0x1018ba1f
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10202d60], 0xe82
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018bbb6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10202d60], 0x1094
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1018bc85
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10202d60], 0x1666
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1018c4d3
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov dword [0x10202d64], 0x225e
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x10], ecx
mov dword [0x10202d60], 0x6c0
add ecx, 0x1680
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1018bc7c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a8be]
mov dh, byte [eax + 0x1019a88f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1018bc85
lea eax, [ebp - 0x24]
mov dword [0x10202d64], 0x2682
mov dword [0x10202d60], 0x1830
mov dword [ebp - 0x44], eax
call fcn.1018bb04
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1018b84e
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x1018bbdd
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1018bf19
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x10202d64], 0x350
mov dword [ebp - 4], 0
mov dword [0x10202d60], 0x1212
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018c000
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x1018c000
mov eax, dword [ebp - 0x18]
mov dword [0x10202d64], 0x17f8
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1018c01f
jmp 0x1018c05c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1018c03e
jmp 0x1018c05c
mov dword [0x10202d60], 0x2175
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1018c05c
mov dword [0x10202d60], 0xb66
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1018bf9c
jmp 0x1018c05c
mov eax, 1
mov dword [0x10202d64], 0xeaf
mov dword [ebp - 0x20], eax
jmp 0x1018c06b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1018bf77
jmp 0x1018bf5c
mov dword [0x10202d60], 0xf85
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1018bfb4
jmp 0x1018c05c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1018c05c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x1018bfec
xor eax, eax
mov dword [0x10202d60], 0xda6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x1018c747
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10202d60], 0x1f4f
mov dword [0x10202d6c], 0
mov byte [0x10202d70], 0
mov dword [0x10202d68], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10202d68]
add eax, 1
mov dword [0x10202d68], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018c78c
xor eax, eax
mov ecx, dword [0x10202d60]
add ecx, 0x1879
mov dword [0x10202d64], ecx
mov dword [0x10202d68], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10202d74], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x10202d6c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10202d74], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10202d6c], edx
mov dword [0x10202d64], 0x9a3
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10202d70], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10202d70]
mov esi, dword [0x10202d6c]
mov byte [ebx + esi], cl
mov esi, dword [0x10202d68]
add esi, 1
mov dword [0x10202d68], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1018c7d3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret