joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d745c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4d7508
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a4c
mov eax, dword [ebp - 4]
call fcn.00404efc
push eax
push ebx
mov eax, dword [0x51e718]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov edi, eax
push edi
mov eax, dword [0x51e718]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
je 0x4d74f2
push edi
mov eax, dword [0x51e718]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov edi, eax
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 8], eax
mov eax, esi
mov edx, edi
call fcn.00405088
mov eax, esi
call fcn.00404f54
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, edi
call fcn.004029fc
mov eax, ebx
call fcn.00407f18
push ebx
call sub.KERNEL32.DLL_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d750f
lea eax, [ebp - 4]
call fcn.00404a4c
ret

Function at 0x4d8580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 8]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4d85e7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404efc
push eax
mov eax, dword [ebp - 4]
call fcn.00404efc
push eax
push 0x4d85f4
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d85ee
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a70
ret

Function at 0x4d85fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4d8681
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004032f0
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004032f0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404efc
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8688
lea eax, [ebp - 4]
call fcn.00404a4c
ret

Function at 0x4d8c7c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
lea edx, [ebp - 0xc]
push edx
push eax
call sub.KERNEL32.DLL_GetFileSize
mov ecx, eax
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov edx, eax
xor eax, eax
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4dc0d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc338
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4dc13b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004dbba0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d91c
cmp al, 1
jne 0x4dc13b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004dbeb8
test al, al
je 0x4dc2c7
cmp dword [ebp - 8], 0
jge 0x4dc159
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004dbba0
mov eax, dword [ebp - 0x210]
call fcn.00404d04
cmp ebx, eax
jge 0x4dc1a3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004dbba0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x51da78]
and eax, 0xff
bt dword [edx], eax
jae 0x4dc1a3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4dc1b7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004dc0b4
cmp ebx, dword [ebp - 8]
je 0x4dc2b9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4dc1e3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e38
and eax, 0x7f
movzx eax, word [eax*2 + 0x51b160]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4dc2a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e38
and eax, 0x7f
movzx eax, word [eax*2 + 0x51b160]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046a558
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e38
and eax, 0x7f
movzx eax, word [eax*2 + 0x51b160]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046a558
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc2ad
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4dc31a
cmp dword [ebp - 8], 0
jge 0x4dc2d2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004dbba0
mov eax, dword [ebp - 0x218]
call fcn.00404d04
cmp eax, dword [ebp - 8]
jg 0x4dc30c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004dbba0
mov eax, dword [ebp - 0x21c]
call fcn.00404d04
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004dc0b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc33f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a70
ret
Function at 0x4f128c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x51f734
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f12ae
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f12b0
shr eax, 1
dec edx
jne 0x4f129c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f1295
mov byte [0x51fb34], 1
pop esi
pop ebx
ret

Function at 0x4f12cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x51fb34], 0
jne 0x4f12e3
call fcn.004f128c
mov eax, edi
dec eax
test eax, eax
jl 0x4f130c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f734]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f12ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f3440
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4f3471
dec al
je 0x4f34b2
dec al
je 0x4f34f6
dec al
je 0x4f3561
jmp 0x4f35eb
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f35eb
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f3481
jmp 0x4f35eb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f35eb
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f34c2
jmp 0x4f35eb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f35eb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4f3524
xor ebp, ebp
jmp 0x4f3535
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4f353e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f3506
jmp 0x4f35eb
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f35eb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4f35b9
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004f1314
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f3575
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f98f8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4f9aa9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
xor ecx, ecx
mov edx, 0x160
call fcn.004032f0
push 0x4000
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404efc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x168]
mov dword [ebp - 8], eax
mov eax, dword [0x51fbfc]
call fcn.00406044
dec eax
test eax, eax
jl 0x4f9995
inc eax
xor ebx, ebx
mov edx, dword [0x51fbfc]
mov edx, dword [edx + ebx*8]
cmp edx, dword [ebp - 8]
jne 0x4f9991
mov eax, dword [0x51fbfc]
mov ebx, dword [eax + ebx*8 + 4]
jmp 0x4f9a80
inc ebx
dec eax
jne 0x4f9975
mov dl, 1
mov eax, dword [0x42a1ec]
call fcn.00431d10
mov esi, eax
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, dword [0x51fb94]
call fcn.00456df8
mov eax, dword [0x51fb40]
mov eax, dword [eax + 0x304]
mov edx, esi
call fcn.00456d44
mov ebx, eax
mov eax, esi
call fcn.00403c3c
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f96a8
xor esi, esi
jmp 0x4f9a36
lea edx, [ebp - 0x170]
mov eax, dword [0x51fbfc]
mov eax, dword [eax + esi*8 + 4]
call fcn.004f96a8
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0xc]
call fcn.00404e48
jne 0x4f9a35
mov eax, dword [0x51fb40]
mov eax, dword [eax + 0x304]
mov edx, ebx
call fcn.004570a8
push ebx
mov eax, 0x51fc24
mov ecx, 1
mov edx, dword [0x4f88ec]
call fcn.00406200
add esp, 4
mov eax, dword [0x51fbfc]
mov ebx, dword [eax + esi*8 + 4]
jmp 0x4f9a44
inc esi
mov eax, dword [0x51fbfc]
call fcn.00406044
cmp esi, eax
jl 0x4f99db
mov eax, dword [0x51fbfc]
call fcn.00406044
mov esi, eax
lea eax, [esi + 1]
push eax
mov eax, 0x51fbfc
mov ecx, 1
mov edx, dword [0x4f8888]
call fcn.00406200
add esp, 4
mov eax, dword [0x51fbfc]
mov edx, dword [ebp - 8]
mov dword [eax + esi*8], edx
mov eax, dword [0x51fbfc]
mov dword [eax + esi*8 + 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9ab0
lea eax, [ebp - 0x170]
call fcn.00404a4c
lea eax, [ebp - 0xc]
call fcn.00404a4c
lea eax, [ebp - 4]
call fcn.00404a4c
ret
Function at 0x4fa6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4fa709
add esp, 0xfffffff0
call fcn.00403fa0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404eec
xor eax, eax
push ebp
push 0x4fa7a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040dc84
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404ae4
mov dword [esi + 0x60], 0xffffffff
call fcn.0040b2ec
fstp qword [esi + 0x30]
wait
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov ax, word [0x4fa7c8]
mov word [esi + 0x1c], ax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004fa914
mov eax, dword [esi + 0xc]
call fcn.004a6c70
test al, al
je 0x4fa787
mov ax, word [esi + 0x1c]
or ax, word [0x4fa7cc]
mov word [esi + 0x1c], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa7a9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a70
ret
Function at 0x4fe8f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x4fea9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
fild qword [ebx + 0x28]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, ebx
call fcn.004d51c8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004d9cb4
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
fmul dword [0x4feaac]
call fcn.00402c54
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004095ec
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0x4feab8
call fcn.00404d50
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004f9ab8
mov ebx, eax
mov eax, ebx
call fcn.004306e4
mov edx, dword [ebp - 4]
call fcn.004f9bd8
mov eax, ebx
call fcn.004d7860
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call fcn.004320e0
mov eax, ebx
call fcn.00403c3c
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.004d5c2c
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
cmp byte [ebx + 0xd8], 1
sete al
mov edx, dword [esi]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebx + 0xa0]
call fcn.004474dc
push dword [ebp - 0x24]
push dword [0x51d420]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
fld qword [eax + 0x78]
fdiv dword [0x4feabc]
fstp xword [ebp - 0x34]
wait
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 3
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x4feac8
call fcn.0040a67c
push dword [ebp - 0x28]
push dword [0x51d420]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea eax, [ebp - 0x38]
call fcn.004d73c8
push dword [ebp - 0x38]
push 0x4feadc
push dword [0x51d420]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404dc4
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.004d5c50
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.004d5d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feaa3
lea eax, [ebp - 0x38]
call fcn.00404a4c
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404a70
lea eax, [ebp - 4]
call fcn.00404a4c
ret
Function at 0x50ab78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x50abfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ebx, dword [eax + 0x30]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov ecx, 0x50ac14
mov edx, dword [ebx + 0xbc]
call fcn.00404d50
mov eax, dword [ebp - 8]
push eax
cmp dword [ebx + 0xbc], 0
seta al
xor ecx, ecx
pop edx
call fcn.004474dc
push dword [ebp - 4]
push dword [ebx + 0xc]
push 0x50ac20
push dword [ebx + 0x10]
mov eax, esi
mov edx, 4
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ac03
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a70
ret

Function at 0x5466cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x548168
sub eax, eax
test esi, esi
je 0x5467a4
sub eax, 1
test ecx, ecx
je 0x5467a2
test esi, 3
je 0x54670a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5466ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x546789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x546714
mov ecx, edx
test ecx, ecx
je 0x5467a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x54678f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x5467ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0054682f
jae 0x5467ba
xor ecx, ecx
call fcn.0054682f
jae 0x5467e9
xor eax, eax
call fcn.0054682f
jae 0x5467f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0054682f
adc al, al
jae 0x5467db
jne 0x546825
stosb byte es:[edi], al
jmp 0x5467bd
call fcn.0054683b
sub ecx, ebx
jne 0x546802
call fcn.00546839
jmp 0x546821
lodsb al, byte [esi]
shr eax, 1
je 0x54684b
adc ecx, ecx
jmp 0x54681e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00546839
cmp eax, 0x7d00
jae 0x54681e
cmp ah, 5
jae 0x54681f
cmp eax, 0x7f
ja 0x546820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5467bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x41cc90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c69b
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.00490890
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41cd12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048dd1a
mov eax, dword [eax]
push 0x5fe260
push eax
call fcn.0047f584
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00490b1b
test bl, bl
je 0x41cd12
push 0x5fe260
lea ecx, [esp + 0xc]
call fcn.00490eab
push 0x601df0
lea ecx, [esp + 0xc]
call fcn.00490eab
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 0x41cd4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00490b1b
jmp 0x41ce19
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 0x41cdd2
lea edx, [esp + 0x7c]
push 0x601dec
push edx
call fcn.0047f584
add esp, 8
test eax, eax
je 0x41cdd2
lea eax, [esp + 0x7c]
push 0x601de8
push eax
call fcn.0047f584
add esp, 8
test eax, eax
je 0x41cdd2
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 0x41cd62
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.00490b1b
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 0x41d610
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 0x41d672
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 0x41d680
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c71b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x614108]
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 0x41d7b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d6e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490b1b
xor eax, eax
jmp 0x41d82f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00490c58
push esi
lea ecx, [esp + 0xc]
call fcn.00490ee7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x601e28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41d80d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041d610
test eax, eax
jne 0x41d80d
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 closesocket
mov ecx, edi
call fcn.0041d610
test eax, eax
jne 0x41d80d
lea eax, [esp + 0x14]
push 0x601e04
push eax
call fcn.004805c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d7ec
lea ecx, [esp + 0x14]
push 0x601e00
push ecx
call fcn.00480540
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d7ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d7ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00490c08
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d6fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490b1b
xor eax, eax
jmp 0x41d82f
mov byte [esi], 0
push 0x601dfc
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.00490b1b
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 0x426726
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x42674e
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 + 0x3ac], eax
pop esi
add esp, 0x190
ret