joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcc8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cc81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcc807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc806a
add dl, dl
jne 0xcc8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc80dc
xor eax, eax
add dl, dl
jne 0xcc8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc817d
add dl, dl
jne 0xcc80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcc80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcc8075
mov eax, 1
add dl, dl
jne 0xcc80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc80e1
sub eax, ebx
mov ebx, 1
jne 0xcc8128
mov ecx, 1
add dl, dl
jne 0xcc810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcc813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc8136
cmp eax, 0x7d00
jae 0xcc816d
cmp eax, 0x500
jb 0xcc8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc8075
cmp eax, 0x7f
ja 0xcc8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcc819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcc8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0xa03]
push ebx
push eax
mov byte [ebp - 0xa04], bl
call fcn.004090f0
push 0x3ff
lea ecx, [ebp - 0x603]
push ebx
push ecx
mov byte [ebp - 0x604], bl
call fcn.004090f0
push 0xff
lea edx, [ebp - 0x103]
push ebx
push edx
mov byte [ebp - 0x104], bl
call fcn.004090f0
lea eax, [ebp - 0xa04]
push eax
call fcn.00401170
lea ecx, [ebp - 0x604]
push ecx
lea ecx, [ebp - 0xa04]
call fcn.004014e0
push 0xff
lea edx, [ebp - 0x203]
push ebx
push edx
mov byte [ebp - 0x204], bl
call fcn.004090f0
add esp, 0x38
lea eax, [ebp - 0x204]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movsx ecx, byte [ebp - 0x5f7]
movsx edx, byte [ebp - 0x5f8]
movsx eax, byte [ebp - 0x5f5]
push ecx
movsx ecx, byte [ebp - 0x5f6]
push edx
movsx edx, byte [ebp - 0x603]
push eax
movsx eax, byte [ebp - 0x604]
push ecx
movsx ecx, byte [ebp - 0x601]
push edx
movsx edx, byte [ebp - 0x602]
push eax
movsx eax, byte [ebp - 0x5ff]
push ecx
movsx ecx, byte [ebp - 0x600]
push edx
movsx edx, byte [ebp - 0x5fd]
push eax
movsx eax, byte [ebp - 0x5fe]
push ecx
push edx
push eax
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x104]
push str._s_c_c_c_c_c_c_c_c_c_c_c_c.dat
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x3c
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
lea ecx, [ebp - 0xa08]
push ecx
push 0x1c
push str.CryptXXX_Protector_by_HAURI.
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040644b
mov esp, ebp
pop ebp
ret
Function at 0x404f60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x170]
push ecx
push 9
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push 0x80000002
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x16c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40512e
mov ecx, dword [ebp - 0x170]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x168]
push eax
push esi
push ecx
mov dword [ebp - 0x174], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40512e
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
inc dword [ebp - 0x174]
cmp byte [ebp - 0x168], 0
je 0x4050fb
push 8
lea edx, [ebp - 0x168]
push str.S_1_5_18
push edx
call fcn.00406584
add esp, 0xc
test eax, eax
je 0x4050f1
push 8
lea eax, [ebp - 0x168]
push str.S_1_5_19
push eax
call fcn.00406584
add esp, 0xc
test eax, eax
je 0x4050f1
push 8
lea ecx, [ebp - 0x168]
push str.S_1_5_20
push ecx
call fcn.00406584
add esp, 0xc
test eax, eax
je 0x4050f1
push 0x63
lea edx, [ebp - 0x67]
push 0
push edx
mov byte [ebp - 0x68], 0
call fcn.004090f0
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x68]
push str._s_s
push edx
call esi
add esp, 0x1c
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x178]
push ecx
push ebx
push 0x2001f
push 0
push 0x40dac2
push 0
lea edx, [ebp - 0x68]
push edx
push 0x80000003
call edi
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x68]
push str._sSOFTWARELocky
push ecx
call esi
add esp, 0xc
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x178]
push eax
push ebx
push 0x2001f
push 0
push 0x40dac2
push 0
lea ecx, [ebp - 0x68]
push ecx
push 0x80000003
call edi
mov dword [ebp - 0x16c], 0x100
mov ecx, dword [ebp - 0x174]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x16c]
push edx
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x168]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x404ff2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040644b
mov esp, ebp
pop ebp
ret
Function at 0x40644b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f004]
jne 0x406455
repz ret
jmp fcn.00406cc4

Function at 0x40a57c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004077e7
and dword [ebp - 0x14], 0
cmp dword [0x410898], 0
mov dword [ebp - 0x18], eax
jne 0x40a62f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a6d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a6d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x410898], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41089c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4108a0], eax
call edi
push eax
call esi
mov dword [0x4108a8], eax
test eax, eax
je 0x40a62f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4108a4], eax
mov eax, dword [0x4108a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a688
cmp dword [0x4108a8], ecx
je 0x40a688
push eax
call esi
push dword [0x4108a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a688
test ebx, ebx
je 0x40a688
call edi
test eax, eax
je 0x40a67f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a67f
test byte [ebp - 8], 1
jne 0x40a688
or dword [ebp + 0x10], 0x200000
jmp 0x40a6bb
mov eax, dword [0x41089c]
cmp eax, dword [ebp - 0x18]
je 0x40a6bb
push eax
call esi
test eax, eax
je 0x40a6bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a6bb
mov eax, dword [0x4108a0]
cmp eax, dword [ebp - 0x18]
je 0x40a6bb
push eax
call esi
test eax, eax
je 0x40a6bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x410898]
call esi
test eax, eax
je 0x40a6d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a6d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040644b
leave
ret
Function at 0x4125c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x412669
test eax, edx
je 0x41266c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4125e9
push edx
mov edx, eax
mov eax, esp
call fcn.00406ca0
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4125ff
push eax
lea eax, [esp + 8]
call fcn.00406ca0
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41260e
movzx eax, word [eax]
sub eax, ecx
jmp 0x412635
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41264f
add ecx, 4
js 0x412626
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41264c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406124
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x412633
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x412635
xor eax, eax
ret
test eax, eax
je 0x41267c
test edx, edx
jne 0x4125d0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41a967
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406464
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040b624
mov edi, eax
cmp edi, 0x104
jbe 0x41a98a
mov eax, edi
add eax, eax
call fcn.00404244
mov esi, eax
jmp 0x41a98c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040b624
push edi
push esi
call fcn.0040ba94
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41a9c5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41a9af
mov eax, esp
cmp esi, eax
je 0x41a9d2
mov eax, esi
call fcn.00404260
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41aa0c
cmp bl, 0
je 0x41aa08
cmp bl, 0x41
jl 0x41aa03
cmp bl, 0x5a
jg 0x41aa03
or bl, 0x20
xor al, bl
inc esi
jmp 0x41a9e7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41a94c

Function at 0x4521f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4521f6
ret
Function at 0x45db6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45dd29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x45dd05
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x45dd05
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x45db38]
call fcn.004083e8
add esp, 4
lea eax, [ebp - 4]
call fcn.00409780
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x567e44]
push eax
call fcn.00448240
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408220
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004047dc
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x450b30]
call fcn.0045a4f8
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x45dce3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0045c174
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0045ae18
call fcn.004551e0
push eax
call fcn.0040b9cc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0045b184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dd05
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd30
lea eax, [ebp - 8]
mov edx, dword [0x45db38]
call fcn.004083f4
lea eax, [ebp - 4]
call fcn.00409780
ret
Function at 0x4c8790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4c87a8
add esp, 0xfffffff0
call fcn.0040534c
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4c88c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040422c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4c88ac
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004c426c
xor eax, eax
push ebp
push 0x4c8899
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004c426c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406cec
jmp 0x4c886a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407294
mov eax, dword [ebx + 4]
call fcn.00406df4
dec eax
jle 0x4c887e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4c8858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c88a0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c88c9
lea eax, [ebp - 4]
call fcn.00406710
ret
Function at 0x4ff4d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ff506
mov eax, ebx
call fcn.004fff8c
cmp dword [ebx + 0x40], 0
je 0x4ff4ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ff577
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ff569
cmp dword [ebx + 8], 0
je 0x4ff528
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ff53a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ff569
cmp dword [ebx + 8], 0
je 0x4ff51b
cmp eax, 3
je 0x4ff54d
dec eax
jne 0x4ff51b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ff51b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ff51b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ff595
cmp dword [ebx + 0x14], 0xcc
je 0x4ff595
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ff5a0
pop ebx
ret
Function at 0x41a870
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a627b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004969f4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a8f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049429d
mov eax, dword [eax]
push 0x606d0c
push eax
call fcn.00486a04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00496c7f
test bl, bl
je 0x41a8f2
push 0x606d0c
lea ecx, [esp + 0xc]
call fcn.0049705b
push 0x606d18
lea ecx, [esp + 0xc]
call fcn.0049705b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41a92e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00496c7f
jmp 0x41a9f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41a9b2
lea edx, [esp + 0x7c]
push 0x606d14
push edx
call fcn.00486a04
add esp, 8
test eax, eax
je 0x41a9b2
lea eax, [esp + 0x7c]
push 0x606d10
push eax
call fcn.00486a04
add esp, 8
test eax, eax
je 0x41a9b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a942
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00496c7f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41b200
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41b262
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41b270
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a62fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x61296c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41b3a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41b2d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496c7f
xor eax, eax
jmp 0x41b41f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00496e08
push esi
lea ecx, [esp + 0xc]
call fcn.00497097
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41b3fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0041b200
test eax, eax
jne 0x41b3fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0041b200
test eax, eax
jne 0x41b3fd
lea eax, [esp + 0x14]
push 0x606d28
push eax
call fcn.00487b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b3dc
lea ecx, [esp + 0x14]
push 0x606d24
push ecx
call fcn.00487aa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b3dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41b3df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496db8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b2ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496c7f
xor eax, eax
jmp 0x41b41f
mov byte [esi], 0
push 0x606d20
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00496c7f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4241b6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4241de
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret