joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47048c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x470494
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4705f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4705d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a793c]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4705c8
inc edi
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [0x5a793c]
call fcn.00418760
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x47051b
push dword [ebx + 0x46]
push 0x470610
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00464330
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x47062c
call fcn.00464674
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x46]
call fcn.00422eac
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046cf30
mov esi, eax
test esi, esi
je 0x47058b
push 0x20
mov eax, dword [ebx + 0x46]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x46]
call fcn.00422eac
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046cf30
mov esi, eax
test esi, esi
je 0x4705be
push dword [ebx + 0x46]
push 0x470644
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x24]
mov eax, 0x47062c
call fcn.00464674
inc dword [ebp - 8]
dec edi
jne 0x4704d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4705dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4705fe
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.004053b0
ret

Function at 0x471118
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
push esp
push 0
push 0
lea eax, [edi + 0xdc]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [edi + 0xd8], esi
test esi, esi
je 0x471143
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47114c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x4712bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0xcc], eax
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x100]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [esi + 0x20], eax
mov word [esi + 0xb4], 0
xor eax, eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov byte [esi + 0xb0], 0
lea eax, [esi + 0xc8]
mov edx, dword [ebp - 4]
call fcn.004053e0
movzx eax, word [ebp + 8]
mov word [esi + 0xb2], ax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa0], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa8], eax
mov eax, esi
call fcn.00471118
test al, al
je 0x471284
movzx edx, word [esi + 0xb2]
mov eax, esi
call fcn.004701b8
mov ebx, eax
mov eax, dword [0x5a793c]
cmp dword [eax + 8], 0
jle 0x471284
push 0x4712d8
mov eax, dword [esi + 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00421f90
push dword [ebp - 0x10]
push 0x4712f4
push 0x471304
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x471310
call fcn.00464674
cmp dword [esi + 0xb8], 0
je 0x471298
lea eax, [esi + 0xb8]
call fcn.00421d98
mov eax, dword [esi + 0xcc]
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4712c6
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b0
ret

Function at 0x472098
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48b5cc], ax
cmp byte [0x48b5c8], 0
jne 0x4720ad
xor ebx, ebx
jmp 0x472110
call fcn.0047205c
push esp
push 0
push 0
push 0x471bb8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x472104
cmp dword [0x48b5c4], 0
je 0x4720e5
push 0x64
mov eax, dword [0x48b5c4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4720cb
cmp dword [0x48b5d8], 0
jbe 0x4720f6
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48b5d8]
jmp 0x472110
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.004717a0
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x472fbc
Capabilities:
Copy file
Create thread
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x473188
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x59ecb0]
cmp dword [eax], 0
je 0x47300a
mov eax, dword [ebp - 4]
call fcn.0040581c
call fcn.00422bb8
test al, al
jne 0x473071
mov eax, 0x7d0
call fcn.0040344c
lea edx, [ebp - 0x14]
call fcn.00421f58
mov edx, dword [ebp - 0x14]
mov eax, dword [0x59ecb0]
mov ecx, 0x4731a0
call fcn.004056a4
push 0x20
mov eax, dword [0x59ecb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x59ecb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffffffffffffffff
mov eax, dword [0x59ecb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_CopyFileA
cmp dword [ebp - 8], 0
je 0x4730d0
lea edx, [ebp - 0x18]
mov eax, dword [0x59ecb0]
mov eax, dword [eax]
call fcn.0046e710
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov ecx, 0x4731b0
call fcn.004056a4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0046e6b4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405424
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004057b4
je 0x4730d0
push 0x10
push 0
push 0x4731b8
push 0
call sub.user32.dll_MessageBoxW
xor ebx, ebx
jmp 0x473160
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a7980], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a7984], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [0x59ecb0]
mov eax, dword [eax]
push eax
push 0x472dd0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x473160
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004057b4
je 0x473133
push 0x4e7c0b40
call main
jmp 0x473127
cmp dword [0x5a7984], 0
je 0x473159
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [0x5a7984]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x473133
movzx ebx, byte [0x48b5f8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47318f
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004053b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret
Function at 0x473390
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4733fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x24
mov ebx, 0x49cbfc
push 0x20
lea eax, [ebp - 8]
mov edx, dword [ebx]
call fcn.00405584
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x473414
call fcn.004056a4
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
add ebx, 4
dec esi
jne 0x4733b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473403
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x473b5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
or ebp, 0xffffffff
cmp dword [esp], 0x32
jne 0x473c3c
mov esi, ebx
movzx eax, word [esi + 2]
cmp ax, 0x2417
jbe 0x473c3c
cmp ax, 0x241d
jae 0x473c3c
push 0x32
call fcn.00406f68
pop ecx
mov esi, eax
mov ecx, 0x32
mov edx, ebx
mov eax, esi
call fcn.004081e0
movzx ebp, word [esi + 2]
sub ebp, 0x2012
sub ebp, 6
sub ebp, 0x400
dec ebp
cmp ebp, 0xffffffff
jne 0x473c11
mov dword [esp + 4], 4
mov ebx, 0x5a7990
mov eax, dword [ebx]
call fcn.00473934
push 0x32
call fcn.00406f68
pop ecx
mov edi, eax
mov ecx, 0x32
mov edx, esi
mov eax, edi
call fcn.004081e0
mov eax, dword [ebx]
mov edx, edi
call fcn.00423bb0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx]
mov dword [edx + 4], eax
add ebx, 4
dec dword [esp + 4]
jne 0x473bcd
push esi
call fcn.00406f78
pop ecx
jmp 0x473c3c
mov eax, ebp
sub eax, 4
jae 0x473c37
mov eax, dword [ebp*4 + 0x5a7990]
mov edx, esi
call fcn.00423bb0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp*4 + 0x5a7990]
mov dword [edx + 4], eax
jmp 0x473c3c
mov ebp, 0xfffffffe
mov eax, ebp
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x477f24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, edx
mov byte [ebx + 0x1c], al
mov edx, eax
mov eax, ebx
call fcn.00475d20
mov eax, ebx
call fcn.00475918
movzx eax, byte [ebx + 0x1c]
add al, 0xfd
sub al, 2
jb 0x477f4b
dec al
jne 0x477f5b
push 5
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_ShowWindow
jmp 0x477f97
push 0
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x60]
xor ecx, ecx
mov edx, 0x477fac
call fcn.00426260
mov ecx, 0x32
mov edx, 0xc4
call fcn.00425918
mov esi, eax
mov dword [ebx + 0x5c], esi
mov edx, esi
mov eax, ebx
xor ecx, ecx
call fcn.004780d8
mov eax, dword [ebx + 0x60]
call fcn.00425c90
pop esi
pop ebx
ret

Function at 0x478ae4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x478b89
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 8]
call fcn.00462170
mov esi, dword [ebx + 0x1c]
mov dword [esi + 0x53c], ebx
mov dword [esi + 0x538], 0x478a4c
mov dword [esi + 0x544], ebx
mov dword [esi + 0x540], 0x478aac
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x478a64
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [ebp - 4], eax
push ebp
call fcn.00478ac0
pop ecx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0xc], 0
je 0x478b73
mov eax, ebx
call fcn.00478948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b90
lea eax, [ebp - 8]
call fcn.0040538c
ret
Function at 0x47bd34
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x47be9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x628
call fcn.00403ab0
lea edx, [ebp - 8]
mov eax, dword [0x59ec30]
call fcn.00426e08
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x47bea8
call fcn.00406e80
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x47beb8
call fcn.00406e80
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405ce8
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405cf8
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x154]
push eax
push 0x400
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x104
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x310]
push eax
push 0x104
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 0x400
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x400
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebx + 0x620]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebp - 0x10]
call fcn.00406e3c
lea eax, [ebp - 0xc]
call fcn.00406e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bea1
lea eax, [ebp - 0x14]
call fcn.00405b68
lea eax, [ebp - 0x10]
call fcn.00406e3c
lea eax, [ebp - 0xc]
call fcn.00406e3c
lea eax, [ebp - 8]
call fcn.00406e3c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x47c248
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
mov eax, ebp
mov edx, esi
call fcn.004053e0
mov eax, esi
test eax, eax
je 0x47c264
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jbe 0x47c299
mov ebx, 1
mov eax, ebp
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 4
mov byte [eax + ebx - 1], dl
mov eax, ebp
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 0xc
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x47c26f
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47c2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x47c2a9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x47c3ee
push dword fs:[eax]
mov dword fs:[eax], esp
nop
push 0x50000000
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
push ebx
push 0
mov eax, dword [0x59eae8]
mov eax, dword [eax]
push eax
push 0
lea edx, [ebp - 0x34]
mov eax, 0x47c408
call fcn.0047c248
mov eax, dword [ebp - 0x34]
call fcn.0040581c
push eax
lea edx, [ebp - 0x38]
mov eax, 0x47c438
call fcn.0047c248
mov eax, dword [ebp - 0x38]
call fcn.0040581c
mov edx, eax
mov eax, 0x80
pop ecx
call fcn.004081f0
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0047c174
lea eax, [ebp - 0xc]
call fcn.00406e3c
push eax
push 0x47c444
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xf0]
call fcn.00406f4c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.0040581c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405c7c
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406f4c
nop
push 5
push ebx
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c3f5
lea eax, [ebp - 0x3c]
call fcn.00405b68
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004053b0
lea eax, [ebp - 0x20]
call fcn.00410728
lea eax, [ebp - 0xc]
call fcn.00406e3c
lea eax, [ebp - 8]
call fcn.00406e3c
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x47cb2c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47cc69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, 0x47cc80
call fcn.00424250
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, 0x47cc94
call fcn.00424250
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, 0x47cca8
call fcn.00424250
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, 0x47ccc0
call fcn.00424250
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, 0x47ccd8
call fcn.00424250
mov ebx, dword [0x59e8ec]
mov ebx, dword [ebx + 0x135]
dec ebx
test ebx, ebx
jl 0x47cc4e
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov eax, dword [0x59e8ec]
add eax, 0x115
mov edx, esi
call fcn.00424238
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004221d8
cmp dword [ebp - 4], 0
je 0x47cc46
mov eax, dword [ebp - 4]
mov edx, 0x47ccf0
call fcn.004057b4
je 0x47cc46
mov eax, dword [ebp - 4]
mov edx, 0x47ccfc
call fcn.004057b4
je 0x47cc46
mov eax, dword [ebp - 4]
call fcn.0040581c
mov edi, eax
mov eax, edi
call fcn.00422bb8
test al, al
je 0x47cc3e
mov edx, edi
lea eax, [ebp - 0xc]
call fcn.00405584
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00463f7c
push 0x20
push edi
call sub.kernel32.dll_SetFileAttributesA
push edi
call sub.kernel32.dll_DeleteFileA
jmp 0x47cc46
mov eax, dword [ebp - 4]
call fcn.004686e8
inc esi
dec ebx
jne 0x47cbc2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cc70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret
Function at 0x47fd10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0
call sub.ole32.dll_CoInitialize_2
call sub.kernel32.dll_GetProcessHeap
mov dword [ebp - 0x14], eax
push 0x208
push 0
push dword [ebp - 0x14]
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x49d8c4
push 1
push 0
push 0x49d8b4
call sub.ole32.dll_CoCreateInstance_1
mov dword [ebp - 0x10], eax
test eax, eax
js 0x47fdfe
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
push eax
push 0x49d8d4
push dword [ebp - 8]
call dword [edx]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x47fdf0
mov edx, dword [ebp - 8]
mov edx, dword [edx]
push dword [ebp + 8]
push dword [ebp - 8]
call dword [edx + 0x50]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [edx + 0x44]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
push dword [ebp + 0x14]
push dword [ebp - 8]
call dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [edx + 0x24]
mov dword [ebp - 0x10], eax
push 0x104
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
push 1
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
push dword [ebp - 0xc]
call dword [edx + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
push dword [ebp - 8]
call dword [edx + 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0x14]
call sub.kernel32.dll_HeapFree
call sub.ole32.dll_CoUninitialize_1
mov eax, dword [ebp - 0x10]
leave
ret 0x10

Function at 0x48026c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x107]
xor ecx, ecx
mov edx, 0xff
call fcn.00403ab0
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x107]
push eax
push 0
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x107]
mov ecx, 0xff
call fcn.004055fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4802e0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4804db
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0xff
call fcn.00403ab0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push esi
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4804bd
xor esi, esi
push esi
mov esi, 0x4804f0
lea edi, [ebp - 0x20e]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x4804f0
lea edi, [ebp - 0x10f]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x10f]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyA
mov ebx, eax
cmp ebx, 0x103
je 0x4804ab
test ebx, ebx
jne 0x4804a3
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x10f]
mov ecx, 0xff
call fcn.004055fc
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
mov edx, 0x4805f8
call fcn.004056a4
mov eax, dword [ebp - 0x214]
call fcn.0040581c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20e]
push eax
push 0
push 0
push 0x480630
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp byte [ebp - 0x20d], 0x3a
jne 0x4804a2
cmp byte [ebp - 0x20c], 0x5c
jne 0x4804a2
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x20e]
mov ecx, 0xff
call fcn.004055fc
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.004230dc
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
mov edx, edi
call fcn.00405584
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 1]
mov eax, dword [0x5a7d68]
call fcn.00480114
lea eax, [ebp - 0x228]
mov edx, edi
call fcn.00405584
mov edx, dword [ebp - 0x228]
mov eax, dword [0x5a7d78]
call fcn.00424250
cmp byte [ebp - 1], 0
je 0x4804ab
inc esi
test ebx, ebx
je 0x480356
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4804e2
lea eax, [ebp - 0x228]
mov edx, 6
call fcn.004053b0
ret