joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x67f921
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404ca4
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41d34b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41d364
lea eax, [ebp - 0xc]
mov edx, dword [0x68cfe0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d04
jmp 0x41d377
lea eax, [ebp - 0xc]
mov edx, dword [0x68cfe0]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d04
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x41d383
adc edx, 0
mov edx, dword [edx*4 + 0x68c8b0]
call fcn.00404ef4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00404ed8
push eax
call fcn.00406acc
mov esi, eax
cmp esi, 0xffffffff
je 0x41d4f3
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406cb4
test eax, eax
je 0x41d4e6
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41d4e6
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406cdc
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406cb4
test eax, eax
je 0x41d4e6
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41d4e6
add eax, 4
cmp byte [ebp - 1], 0
je 0x41d48a
cmp word [eax], 0x8664
jne 0x41d48a
mov eax, edi
call fcn.00403270
mov eax, 0xf0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406cb4
test eax, eax
je 0x41d4e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41d4e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404ce0
jmp 0x41d4e6
cmp byte [ebp - 1], 0
jne 0x41d4e6
cmp word [eax], 0x14c
jb 0x41d4e6
cmp word [eax], 0x150
ja 0x41d4e6
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406cb4
test eax, eax
je 0x41d4e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41d4e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404ce0
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a94
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405000
jne 0x41d50b
inc ebx
cmp ebx, 0x19
jne 0x41d33d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67f928
lea eax, [ebp - 0xc]
call fcn.00404ca4
ret
Function at 0x100010f0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push esi
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 8]
mov dword [ebp - 0x10], esi
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 8], edx
push edi
mov dword [ebp - 0xc], esi
mov edx, 0xc6ef3720
mov dword [ebp - 4], 0x20
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
dec dword [ebp - 4]
jne 0x10001123
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x10005ab9
mov ecx, dword [edi + 0x38]
lea eax, [ecx + ebx]
mov edx, ebx
call fcn.10003fa0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
lea ecx, [ecx]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10005a8f
sub eax, ebx
jmp 0x10005a91
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10005a80
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
nop
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10005aaf
sub eax, ebx
jmp 0x10005ab1
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10005aa0
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x10005b13
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.100057f0
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x10005aff
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x10005b13
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x10005a45
pop esi
pop ebx
ret
Function at 0x40176e
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x2f4
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x404f28
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x405c14], ebx
mov dword [esp + 0x14], eax
jne 0x4017c3
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x4048a8]
call esi
push 5
push dword [0x405388]
call esi
push 0x6b
push ebx
push 0x406
push dword [0x4048a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [str.af_an_ar_ast_az_ba_be_bg_bn_br_ca_co_cs_cy_da_de_el_eo_es_et_eu_ext_fa_fi_fr_fur_fy_ga_gl_gu_he_hi_hr_hu_hy_id_io_is_it_ja_ka_kaa_kab_kk_ko_ku_ku_ckb_ky_lij_lt_lv_mk_mn_mng_mng2_mr_ms_nb_ne_nl_nn_pa_in_pl_ps_pt_pt_br_ro_ru_sa_si_sk_sl_sq_sr_spc_sr_spl_sv_sw_ta_tg_th_tk_tr_tt_ug_uk_uz_uz_cyrl_va_vi_yo_zh_cn_zh_tw_en.ttt_descript.ion_History.txt_License.txt_readme.txt_7_zip.chm_7z.sfx_7zCon.sfx_7z.exe_7zG.exe_7z.dll_7zFM.exe_7_zip32.dll_7_zip.dll_Uninstall.exe]
xor ebp, ebp
mov edi, eax
cmp byte [eax], bl
je 0x4018f4
cmp dword [0x405c14], ebx
jne 0x401848
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
call esi
test eax, eax
je 0x401835
lea eax, [esp + 0x18]
push eax
push dword [0x405e38]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40181d
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x405e38], ebx
push 1
je 0x4019a9
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
jmp 0x4017ec
push ebx
push ebp
push 0x402
push dword [0x4048a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
cmp ebp, 0x5c
lea esi, [eax*2 + 0x404f28]
mov word [esi], bx
ja 0x401867
mov edx, str.Lang_
mov ecx, esi
call fcn.0040151a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esi + eax*2]
mov al, byte [edi]
cmp al, bl
je 0x401887
inc edi
cmp al, 0x20
je 0x401887
movzx ax, al
mov word [ecx], ax
inc ecx
inc ecx
jmp 0x401871
cmp ebp, 0x5c
mov word [ecx], bx
jae 0x40189b
mov edx, str..txt
mov ecx, esi
call fcn.0040152d
cmp dword [0x405c14], ebx
jne 0x4018b0
push esi
push dword [0x405388]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4018eb
test al, 1
je 0x4018cd
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4018eb
call fcn.00401fb2
test eax, eax
jne 0x4018eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
inc ebp
cmp byte [edi], bl
invalid
Function at 0x401615
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, esp
mov dword [ecx], 0x39
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
xor ecx, ecx
mov word [ebp - 0x16], ax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x20], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x40166e
jmp 0x401661
mov eax, dword [ebp - 0x24]
sub eax, 0xb
mov dword [ebp - 0x28], eax
jne 0x401685
jmp 0x40166e
mov eax, esp
mov dword [eax], 0x97e
mov eax, dword [sym.imp.ADVAPI32.dll_NotifyBootConfigStatus]
call eax
sub esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x401685
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x60
mov dword [ebp - 0x1c], eax
jne 0x401642
mov dword [ebp - 4], 0xf17a94
mov dword [ebp - 8], 0x929
mov eax, esp
lea ecx, [ebp - 8]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 4]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xdbb
mov dword [eax + 4], 0xee7
mov dword [eax], 0xee7
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov ecx, dword [ebp - 0x14]
sub ecx, 0x12
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
je 0x4016ee
jmp 0x4016e1
mov eax, dword [ebp - 0x14]
sub eax, 0x25
mov dword [ebp - 0x38], eax
jne 0x401736
jmp 0x4016ee
mov eax, 0xa04969
mov dword [ebp - 0xc], eax
mov eax, esp
lea ecx, [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], 0xf5
mov dword [eax + 0x14], 0x1bf
mov dword [eax + 0x10], 0xb1
mov dword [eax + 8], 0xc9c998
mov dword [eax + 4], 0xf9c655
mov dword [eax], 0xc9c998
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
jmp 0x401736
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
cmp ecx, 0x3c
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x10], ecx
jne 0x401620
add esp, 0x5c
pop ebp
ret

Function at 0x55b5ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65d6f8]
jne 0x55b5f4
repz ret
jmp fcn.0055e2dc
Function at 0x55fdbf
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.0055b6ec
and dword [ebp - 4], 0
cmp dword [0x65f85c], 0
mov ebx, eax
jne 0x55fe70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55ff21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55ff21
push eax
call fcn.0055b67a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65f85c], eax
call esi
push eax
call fcn.0055b67a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65f860], eax
call esi
push eax
call fcn.0055b67a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65f864], eax
call esi
push eax
call fcn.0055b67a
pop ecx
mov dword [0x65f86c], eax
test eax, eax
je 0x55fe70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b67a
pop ecx
mov dword [0x65f868], eax
mov eax, dword [0x65f868]
cmp eax, ebx
je 0x55fec8
cmp dword [0x65f86c], ebx
je 0x55fec8
push eax
call fcn.0055b6f5
push dword [0x65f86c]
mov esi, eax
call fcn.0055b6f5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fec8
test edi, edi
je 0x55fec8
call esi
test eax, eax
je 0x55febf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55febf
test byte [ebp - 0xc], 1
jne 0x55fec8
or dword [ebp + 0x10], 0x200000
jmp 0x55ff01
mov eax, dword [0x65f860]
cmp eax, ebx
je 0x55ff01
push eax
call fcn.0055b6f5
pop ecx
test eax, eax
je 0x55ff01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55ff01
mov eax, dword [0x65f864]
cmp eax, ebx
je 0x55ff01
push eax
call fcn.0055b6f5
pop ecx
test eax, eax
je 0x55ff01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65f85c]
call fcn.0055b6f5
pop ecx
test eax, eax
je 0x55ff21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55ff23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560c4d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x65d17c], 0xaa5
mov ecx, dword [0x65d180]
add ecx, 0xffffd942
mov dword [0x65d180], ecx
mov dword [ebp - 0x10], eax
call fcn.00562088
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [0x65d180], 0x1d70
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x3c]
mov dword [0x65d17c], 0x9d6
mov dword [0x65d180], 0x84a
mov esi, dword [edx + esi + 0x78]
mov dword [0x65d17c], 0x13d1
mov dword [0x65d180], 0x1706
mov edi, ecx
add edi, dword [edx + esi + 0x20]
mov ebx, dword [edx + esi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], eax
je 0x560dda
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x2c], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x560d6e
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x560d1d
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x560dab
jmp 0x560d77
mov dword [0x65d17c], 0xd28
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
jb 0x560d03
jmp 0x560dda
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x65d17c], 0x547
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x65d180], 0x1a0f
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560de5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x65d17c]
add eax, 0xfffffadd
mov dword [0x65d17c], eax
mov dword [ebp - 4], 0
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 [0x65d180], 0x15f7
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x560e41
mov eax, 1
mov dword [0x65d17c], 0x8a6
mov dword [ebp - 0x14], eax
jmp 0x560f4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x560e6e
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x560e41
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x65d17c], 0x28a1
mov dword [0x65d180], 0x2cb8
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
jne 0x560f4f
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
mov dword [0x65d17c], 0x7d9
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x6f
mov dword [ebp - 0x14], eax
jne 0x560f4f
xor eax, eax
mov dword [0x65d17c], 0x3dce
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x14], eax
jne 0x560f4f
xor eax, eax
mov dword [0x65d17c], 0x20ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x14], eax
jne 0x560f4f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x14], eax
jne 0x560f4f
xor eax, eax
mov dword [0x65d17c], 0x1c90
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x14], eax
jne 0x560f4f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x560e2a
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x5614b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x65d188], 0
mov byte [0x65d18c], 0
mov dword [0x65d180], 0x2272
mov edi, dword [0x65d17c]
add edi, 0xffffe432
mov dword [0x65d17c], edi
mov dword [0x65d184], 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 dword [0x65d180], 0xde5
mov eax, dword [0x65d184]
add eax, 1
mov dword [0x65d184], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x561507
xor eax, eax
mov dword [0x65d184], 0
mov ecx, dword [0x65d17c]
add ecx, 0xfffff4ce
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1831
mov esi, 0x100
mov dword [0x65d190], 0
mov edi, dword [0x65d188]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x65d190], ebx
mov dword [0x65d180], 0x1119
mov eax, ebx
cdq
idiv esi
mov dword [0x65d188], edx
mov dword [0x65d17c], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [ecx + esi]
mov byte [0x65d18c], cl
mov dword [0x65d180], 0x249d
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x65d180], 0x1076
mov cl, byte [0x65d18c]
mov edx, dword [0x65d188]
mov byte [ebx + edx], cl
mov dword [0x65d17c], 0x2363
mov edx, dword [0x65d184]
add edx, 1
mov dword [0x65d184], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x561555
mov dword [0x65d17c], 0x3cc4
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x561755
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.00561755]
mov dword [0x65d17c], 0x12cc
mov ecx, dword [0x65d180]
add ecx, 0xfffff509
mov dword [0x65d180], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x5617aa
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 0x10]
add ecx, 0x164a
mov dword [0x65d17c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, ecx
add edx, 0x5c2
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jne 0x561785
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x561785
mov eax, dword [ebp - 0x14]
mov dword [0x65d180], eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
pop ebp
ret
Function at 0x5617e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x60fca5]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x65d17c], 0xfffff764
mov dword [0x65d180], 0xe7d
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.00561e9b
mov dword [0x65d180], 0xefc
mov dword [0x65d17c], 0x784
call fcn.00561975
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.00561a60
mov dword [0x65d180], 0xe3a
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [0x65d17c], 0x162c
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x561890
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x65d17c], 0xbfe
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 [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.0056137a
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [0x65d180], 0x2241
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov dword [0x65d17c], 0x20d7
xor eax, eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x561886
mov eax, dword [ebp - 0x44]
add eax, 0x1000
mov dword [0x65d17c], 0x556
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
jmp 0x561886