joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e3e8
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x47e482
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x47e407
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x47e498
dec edx
je 0x47e4cd
jmp 0x47e51e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x47e51e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_a]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47e580
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x47e59f
add edx, 3
sar edx, 2
test edx, edx
jle 0x47e6ad
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x47e5d4
je 0x47e617
sub ecx, 0x2b
je 0x47e60d
sub ecx, 4
je 0x47e612
dec ecx
sub ecx, 0xa
jb 0x47e5ff
jmp 0x47e61a
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x47e5e6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x47e5f1
jmp 0x47e61a
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x47e61a
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x47e61a
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x47e61a
mov byte [eax], 0x3e
jmp 0x47e61a
mov byte [eax], 0x3f
jmp 0x47e61a
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x47e5b7
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x47e66b
cmp byte [esp + 7], 0xff
jne 0x47e66b
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x47e6a2
cmp dl, 0xff
je 0x47e6a2
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x47e5ae
add esp, 0x10
pop ebp
pop edi
pop esi
ret
Function at 0x48260c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x482790
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f05c]
call fcn.00421414
xor eax, eax
push ebp
push 0x4826b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48f038], 0
je 0x48269b
mov eax, dword [0x48f038]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x48269b
lea eax, [ebp - 4]
push eax
mov edx, ebx
mov eax, dword [0x48f038]
call fcn.00421598
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 5
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4827a4
call fcn.0040a20c
mov eax, dword [ebp - 4]
call fcn.004052fc
push eax
call sub.kernel32.dll_OutputDebugStringA
mov edx, ebx
mov eax, dword [0x48f038]
call fcn.00418cd4
dec ebx
cmp ebx, 0xffffffff
jne 0x482655
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4826ba
mov eax, dword [0x48f05c]
call fcn.0042141c
ret
Function at 0x4827b8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4827c0
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48296c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f05c]
call fcn.00421414
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409488
xor eax, eax
push ebp
push 0x48292f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [0x48f03c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x482917
lea eax, [ebp - 0x18]
push eax
push 0x3e8
push 2
push 0
push 0
mov eax, dword [0x48f060]
push eax
push ebx
call sub.user32.dll_SendMessageTimeoutA
cmp dword [ebp - 0x18], 0
je 0x482917
lea eax, [ebp - 4]
call fcn.004069a4
push eax
push 0
mov eax, dword [str._D_3]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.oleacc.dll_ObjectFromLresult
cmp dword [ebp - 4], 0
je 0x482917
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0x48297c
call fcn.004069e8
lea eax, [ebp - 8]
call fcn.004069a4
push eax
mov eax, dword [0x48962c]
push eax
mov eax, dword [0x4890b0]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [ebp - 8], 0
je 0x482917
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48240c]
call fcn.00484c30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x158], ebx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00465290
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x9c], esi
mov dword [eax + 0x98], 0x48440c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48f038]
call fcn.00421554
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x48f03c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 5
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x482994
call fcn.0040a20c
mov eax, dword [ebp - 0x1c]
call fcn.004052fc
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482936
mov eax, dword [0x48f05c]
call fcn.0042141c
ret
Function at 0x4829a4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4829ad
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x14], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x482b53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409488
mov eax, dword [0x48f05c]
call fcn.00421414
mov edx, dword [ebp - 0x10]
mov eax, dword [0x48f03c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor edx, edx
push ebp
push 0x482b16
push dword fs:[edx]
mov dword fs:[edx], esp
inc eax
jne 0x482aeb
lea eax, [ebp - 0x18]
push eax
push 0x3e8
push 2
push 0
push 0
mov eax, dword [0x48f060]
push eax
push ebx
call sub.user32.dll_SendMessageTimeoutA
cmp dword [ebp - 0x18], 0
je 0x482afe
lea eax, [ebp - 4]
call fcn.004069a4
push eax
push 0
mov eax, dword [str._D_3]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.oleacc.dll_ObjectFromLresult
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0x482b60
call fcn.004069e8
lea eax, [ebp - 8]
call fcn.004069a4
push eax
mov eax, dword [0x48962c]
push eax
mov eax, dword [0x4890b0]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [ebp - 8], 0
je 0x482afe
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48240c]
call fcn.00484c30
mov esi, eax
mov dword [esi + 0x158], ebx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00465290
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x15c], eax
mov edx, esi
mov eax, dword [0x48f038]
call fcn.00421554
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x48f03c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 5
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x482b78
call fcn.0040a20c
mov eax, dword [ebp - 0x1c]
call fcn.004052fc
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x482afe
push ebx
push 0
push 0x7e8
mov eax, dword [0x48f098]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482b1d
mov eax, dword [0x48f05c]
call fcn.0042141c
ret

Function at 0x4832a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, 0x48f064
push 0
call sub.ole32.dll_CoInitialize
jmp 0x4832d1
push ebx
push 0x484afc
call sub.user32.dll_EnumWindows
push 0x1f4
mov eax, dword [0x48f070]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x4832e2
push 0
mov eax, dword [0x48f06c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x4832b2
call sub.ole32.dll_CoUninitialize
xor eax, eax
pop esi
pop ebx
ret
Function at 0x4832ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x483412
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_CoInitialize
jmp 0x4833e0
mov eax, dword [0x48f05c]
call fcn.00421414
xor eax, eax
push ebp
push 0x4833c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48f038]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x4833ad
mov edx, ebx
mov eax, dword [0x48f038]
call fcn.00421598
mov esi, eax
test esi, esi
je 0x4833a7
mov eax, dword [esi + 0x158]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4833a7
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 5
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x48342c
call fcn.0040a20c
mov eax, dword [ebp - 4]
call fcn.004052fc
push eax
call sub.kernel32.dll_OutputDebugStringA
mov edx, esi
mov eax, dword [0x48f03c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, eax
mov eax, dword [0x48f03c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, ebx
mov eax, dword [0x48f038]
call fcn.00418cd4
dec ebx
cmp ebx, 0xffffffff
jne 0x483339
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4833cc
mov eax, dword [0x48f05c]
call fcn.0042141c
ret
push 0
mov eax, dword [0x48f07c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x483313
call sub.ole32.dll_CoUninitialize
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483419
lea eax, [ebp - 4]
call fcn.00404e50
ret
Function at 0x483440
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, 0x48f064
mov eax, 0x48f064
xor ecx, ecx
mov edx, 0x10
call fcn.0040371c
mov eax, 0x48f074
xor ecx, ecx
mov edx, 0x10
call fcn.0040371c
mov eax, 0x48f084
xor ecx, ecx
mov edx, 0x10
call fcn.0040371c
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov esi, eax
mov dword [0x48f06c], esi
push esi
call sub.kernel32.dll_SetEvent
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48f070], eax
push ebx
push 4
push 0x48f068
mov ecx, 0x484ae4
xor edx, edx
xor eax, eax
call fcn.00404dd4
mov esi, eax
mov dword [0x48f064], esi
push esi
call sub.kernel32.dll_ResumeThread
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov esi, eax
mov dword [0x48f07c], esi
push esi
call sub.kernel32.dll_SetEvent
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48f080], eax
push ebx
push 4
push 0x48f078
mov ecx, 0x484aec
xor edx, edx
xor eax, eax
call fcn.00404dd4
mov esi, eax
mov dword [0x48f074], esi
push esi
call sub.kernel32.dll_ResumeThread
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov esi, eax
mov dword [0x48f08c], esi
push esi
call sub.kernel32.dll_SetEvent
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48f090], eax
push ebx
push 4
push 0x48f088
mov ecx, 0x484af4
xor edx, edx
xor eax, eax
call fcn.00404dd4
mov esi, eax
mov dword [0x48f084], esi
push esi
call sub.kernel32.dll_ResumeThread
pop edi
pop esi
pop ebx
ret
Function at 0x484058
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4841a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffe0
push ebx
call sub.user32.dll_GetClassLongA
cmp eax, 0x8002
jne 0x48418d
push 0
push 0
push 0
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x48418d
push 0
push 0x4841b4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x48418d
push 0
push 0x4841c4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x48418d
push 0
push 0x4841dc
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x48418d
push 0x20a
lea eax, [ebp - 0x20a]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
test eax, eax
jle 0x48418d
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004050d8
mov eax, dword [ebp - 0x210]
mov edx, 0x484200
call fcn.00405294
jne 0x484160
xor eax, eax
push ebp
push 0x484154
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xc9
mov edx, edi
mov eax, esi
call fcn.004829a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48418d
xor eax, eax
push ebp
push 0x484183
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, edi
mov eax, esi
call fcn.004829a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48418d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841ad
lea eax, [ebp - 0x210]
call fcn.00404e50
ret
Function at 0x484210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x314], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x484388
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
push ebx
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x48436a
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004050c0
mov eax, dword [ebp - 0x314]
mov edx, 0x4843a0
call fcn.00405294
jne 0x48436a
push 0
push 0x4843b0
push 0
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x48436a
push 0
push 0x4843c0
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x48436a
push 0
push 0x4843d8
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x48436a
push 0x20a
lea eax, [ebp - 0x310]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
test eax, eax
jle 0x48436a
lea eax, [ebp - 0x318]
lea edx, [ebp - 0x310]
mov ecx, 0x105
call fcn.004050d8
mov eax, dword [ebp - 0x318]
mov edx, 0x4843fc
call fcn.00405294
jne 0x48433d
xor eax, eax
push ebp
push 0x484331
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xca
mov edx, edi
mov eax, esi
call fcn.004829a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48436a
xor eax, eax
push ebp
push 0x484360
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, edi
mov eax, esi
call fcn.004829a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48436a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48438f
lea eax, [ebp - 0x318]
mov edx, 2
call fcn.00404e74
ret

Function at 0x40897e
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add eax, 0x25e8cbc0
mov eax, 0xc0fccf85
call fcn.004089a8
add eax, 1
xor dword [esi], ebx
inc esi
sub edx, edx
mov eax, eax
cmp esi, edi
jne fcn.0040897e
or eax, eax
ret
Function at 0x453730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e309b
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.004d73a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4537b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d4f35
mov eax, dword [eax]
push 0x53a2a0
push eax
call fcn.004b4674
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d762b
test bl, bl
je 0x4537b2
push 0x53a2a0
lea ecx, [esp + 0xc]
call fcn.004d79bb
push 0x53de1c
lea ecx, [esp + 0xc]
call fcn.004d79bb
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 0x4537ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d762b
jmp 0x4538b9
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 0x453872
lea edx, [esp + 0x7c]
push 0x53de18
push edx
call fcn.004b4674
add esp, 8
test eax, eax
je 0x453872
lea eax, [esp + 0x7c]
push 0x53de14
push eax
call fcn.004b4674
add esp, 8
test eax, eax
je 0x453872
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 0x453802
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.004d762b
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 0x4540b0
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 0x454112
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 0x454120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e311b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x552a38]
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 0x454258
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x454186
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d762b
xor eax, eax
jmp 0x4542cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d7768
push esi
lea ecx, [esp + 0xc]
call fcn.004d79f7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x53de54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4542ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004540b0
test eax, eax
jne 0x4542ad
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.004540b0
test eax, eax
jne 0x4542ad
lea eax, [esp + 0x14]
push 0x53de30
push eax
call fcn.004b5780
mov esi, eax
add esp, 8
test esi, esi
jne 0x45428c
lea ecx, [esp + 0x14]
push 0x53de2c
push ecx
call fcn.004b5700
mov esi, eax
add esp, 8
test esi, esi
jne 0x45428c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45428f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d7718
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45419e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d762b
xor eax, eax
jmp 0x4542cf
mov byte [esi], 0
push 0x53de28
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.004d762b
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