joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035e9
Capabilities:
Terminate process

Disassembly:
jmp 0x452a99
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x452aaa
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040590c
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371a
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049bee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c03b
push ebx
push esi
push edi
call fcn.004056ff
add esp, 0xc
push 0
call fcn.0040624e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4057bd
Capabilities:
Parse pe header

Disassembly:
jmp 0x44184f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44188e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44188e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44188e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44188e
cmp dword [ecx + 0x74], 0xe
jbe 0x44188e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x493ad7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d84
mov eax, dword [0x4cf034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405e5c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x493b19
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x493c75
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405fb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d2d78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0040326a
mov ecx, dword [esi*4 + 0x4d2d78]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x493c6e
cmp eax, dword [edi + ecx + 0x24]
jne 0x493c6e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x493c6e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040326a
add esp, 0x14
test edx, edx
jl 0x493c6e
jg 0x493be4
test eax, eax
jb 0x493c6e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x493c6e
jl 0x493bfe
cmp dword [ebp - 0x1008], eax
ja 0x493c6e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x493c1c
test ebx, ebx
je 0x493c55
cmp ecx, edi
jae 0x493c55
mov al, byte [ecx]
cmp al, 0xd
jne 0x493c36
lea eax, [edi - 1]
cmp ecx, eax
jae 0x493c42
cmp byte [ecx + 1], 0xa
jne 0x493c42
inc ecx
jmp 0x493c42
movzx eax, al
movsx eax, byte [eax + 0x4cf370]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x493c1c
cmp edx, ebx
jne 0x493c1c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x493c73
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403053
leave
ret
Function at 0x4943b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d2d78]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4943f4
cmp byte [ebx], 0xa
jne 0x4943f4
or byte [eax + edi + 0x28], 4
jmp 0x4943f9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4944f7
mov al, byte [edx]
cmp al, 0x1a
je 0x4944d9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x494428
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x49444d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x494457
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x49440a
jmp 0x4944f7
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4944d4
cmp dword [ebp - 0xc], 0
je 0x4944d4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d2d78]
test byte [eax + edi + 0x28], 0x48
je 0x4944ae
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x494499
mov byte [esi], dl
jmp 0x4944aa
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d2d78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4944f7
cmp byte [ebp - 1], 0xa
jne 0x4944bd
cmp esi, ebx
jne 0x4944bd
mov byte [esi], 0xa
jmp 0x4944f6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4944f7
mov byte [esi], 0xd
jmp 0x4944f6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d2d78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4944f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4944f7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x494553
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d2d78]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x494596
cmp word [esi], dx
jne 0x494596
or byte [edi + eax + 0x28], 4
jmp 0x49459b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4946ee
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4946ce
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4945dd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x494613
cmp eax, edx
jae 0x49461f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4945b5
jmp 0x4946ee
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4946ca
cmp dword [ebp - 0x14], 0
je 0x4946ca
mov eax, dword [ebx*4 + 0x4d2d78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4946a2
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x49466b
mov word [esi], cx
jmp 0x49469e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d2d78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d2d78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d2d78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4946ee
pop ebx
cmp word [ebp - 4], bx
jne 0x4946b3
cmp esi, dword [ebp + 0xc]
jne 0x4946b3
mov word [esi], bx
jmp 0x4946eb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4946ee
push 0xd
jmp 0x4946e7
mov ecx, dword [ebx*4 + 0x4d2d78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4946e5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4946ee
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49a5a1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cf034]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49a5ec
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049aa63
test al, al
jne 0x49a5e6
sub edx, 2
cmp edx, edi
jne 0x49a5cc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49a60e
lea eax, [edi + 2]
cmp edx, eax
je 0x49a60e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049a19a
add esp, 0x10
jmp 0x49a708
push esi
lea ecx, [ebp - 0x255]
call fcn.0049aa63
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49a651
push dword [ebp - 0x25c]
jmp 0x49a5fe
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49a68e
cmp word [ebp - 0x226], 0
je 0x49a6af
cmp word [ebp - 0x226], ax
jne 0x49a68e
cmp word [ebp - 0x224], 0
je 0x49a6af
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049a19a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49a6fb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49a668
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49a6e3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49a708
push 0x499b82
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405547
add esp, 0x10
jmp 0x49a6d8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403053
leave
ret
Function at 0x402450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x404b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x40551c
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4024e0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4024a7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4024d1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4024e6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4024e6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x405508
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4054f4
mov dword [esp + 0x1c], 0xffffffff
call fcn.004045b2
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4025f0
Capabilities:
Copy file

Disassembly:
mov dword [ecx + 0x26], 0
mov dword [ecx + 0x18], 2
add ecx, 0x14
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
ret

Function at 0x402610
Capabilities:
Delete file

Disassembly:
mov dword [ecx + 0x26], 0
mov dword [ecx + 0x18], 3
add ecx, 0x14
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
ret
Function at 0x403760
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x410
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x4037ec
mov edi, dword [esp + 0x424]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sysqar.net
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret 8
mov ebx, dword [esp + 0x424]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x218]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sysqar.sgl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.MSVCRT.dll_remove]
and ecx, 3
lea eax, [esp + 0x218]
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
mov eax, dword [esp + 0x42c]
add esp, 4
cmp eax, 2
jne 0x403930
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
lea edx, [esp + 0x31c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x31c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str._sysqar.net
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sysqar.arx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x14]
lea edx, [esp + 0x320]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret 8
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40a61a
pop dword [ebp - 0x34]
mov eax, 0xe86ba8e1
sub eax, 0xe82b02c7
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x8da40aae
add dword [ebp - 0x44], 0xc0ae3a9d
mov dword [ebp - 0x40], 0xcdea085
sub dword [ebp - 0x40], 0xdaab5440
mov dword [ebp - 0x3c], 0x35f75571
sub dword [ebp - 0x3c], 0xe9ab1143
mov dword [ebp - 0x38], 0x2281ab8d
add dword [ebp - 0x38], 0xdd7e5473
lea eax, [ebp - 0x44]
push eax
mov eax, 0xb9377da
add eax, 0xf4ad587a
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x848ea3af
sub dword [ebp - 0x44], 0x101c3a59
mov dword [ebp - 0x40], 0xd5acad9c
add dword [ebp - 0x40], 0x6bbfb3d9
mov dword [ebp - 0x3c], 0x4bd4e3c7
sub dword [ebp - 0x3c], 0xe865775b
mov dword [ebp - 0x38], 0xf95bc47f
sub dword [ebp - 0x38], 0xf95bc47f
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x73dced3e
add eax, 0x8c63e30e
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x38498
push 0
call eax
mov ecx, 0x123ffe
sub ecx, 0x11fe53
xor edi, edi
add edi, eax
mov edx, 0xd256d57c
sub edx, 0xd215257c
add edx, dword [ebp - 0x34]
mov esi, 0x21743c0a
sub dword [ebp - 0x2c], 0x7e181a94
mov ebx, dword [edx]
xor dword [ebp - 0x14], 0xc8e38f01
xor ebx, esi
mov dword [ebp - 0x30], 0x5ad306c9
mov dword [edi], ebx
sub dword [ebp - 4], eax
add edi, 0xe4c797c7
sub edi, 0xe4c797c3
add edx, 0x96e75cb4
sub edx, 0x96e75cb0
loop 0x40a738
add eax, 0xb744834e
add eax, 0x48bc7631
mov ebx, eax
add eax, 5
mov ecx, 0x4d5accb
sub ecx, 0x495accb
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4778f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f31cb
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.004e51b6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x477972
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e285d
mov eax, dword [eax]
push 0x7f1260
push eax
call fcn.004d4924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e5441
test bl, bl
je 0x477972
push 0x7f1260
lea ecx, [esp + 0xc]
call fcn.004e581d
push 0x7f4ddc
lea ecx, [esp + 0xc]
call fcn.004e581d
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 0x4779ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e5441
jmp 0x477a79
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 0x477a32
lea edx, [esp + 0x7c]
push 0x7f4dd8
push edx
call fcn.004d4924
add esp, 8
test eax, eax
je 0x477a32
lea eax, [esp + 0x7c]
push 0x7f4dd4
push eax
call fcn.004d4924
add esp, 8
test eax, eax
je 0x477a32
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 0x4779c2
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.004e5441
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 0x478270
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 0x4782d2
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 0x4782e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f324b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x802350]
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 0x478418
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x478346
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e5441
xor eax, eax
jmp 0x47848f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e55ca
push esi
lea ecx, [esp + 0xc]
call fcn.004e5859
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7f4e14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x47846d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00478270
test eax, eax
jne 0x47846d
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.00478270
test eax, eax
jne 0x47846d
lea eax, [esp + 0x14]
push 0x7f4df0
push eax
call fcn.004d5ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47844c
lea ecx, [esp + 0x14]
push 0x7f4dec
push ecx
call fcn.004d5a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x47844c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47844f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e557a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47835e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e5441
xor eax, eax
jmp 0x47848f
mov byte [esi], 0
push 0x7f4de8
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.004e5441
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