joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4155c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x653e19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.00634584
mov ebp, dword [esp + 0xe0]
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov dword [esp + 0xdc], 0
call fcn.0063490d
lea ecx, [esp + 0x44]
push ecx
push ebp
mov ecx, ebx
call fcn.00415930
push 0x400
lea ecx, [esp + 0x20]
call fcn.00634d90
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 1
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0062dbb8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 2
push ecx
lea ecx, [esp + 0x48]
call fcn.00634678
lea ecx, [esp + 0x8c]
call fcn.0062dec9
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x24]
call dword [edx + 0x28]
lea ecx, [esp + 0x1c]
call fcn.006293ad
mov esi, eax
push esi
call fcn.006247b3
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push esi
push edi
call fcn.00634f35
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 2
push 0
push 0x6e5be8
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4156ef
mov ecx, dword [esp + 0x18]
push esi
push edi
push 3
push eax
push 0x7427d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4156ef
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4156fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41570b
push edi
call fcn.006247dc
add esp, 4
test ebp, ebp
je 0x415719
push ebp
mov ecx, ebx
call fcn.004159c0
jmp 0x41571e
mov eax, 1
mov edx, dword [0x6e8700]
mov dword [esp + 0x10], edx
push eax
lea eax, [esp + 0x14]
push 0x6e5c34
push eax
mov byte [esp + 0xe4], 3
call fcn.00621062
add esp, 0xc
call fcn.00642d98
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
push 0x6e5c2c
push 0x6e5c1c
mov ecx, eax
call fcn.00630ee8
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 2
call fcn.00628814
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 1
call fcn.0062dc94
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0
call fcn.00634e18
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00634617
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 4
Function at 0x418d60
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x654188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov ebx, dword [esp + 0x120]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x118], 0
test eax, eax
mov eax, dword [esp + 0x128]
je 0x418ddb
test eax, eax
je 0x418e11
mov edi, 0x6e5d2c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x418e41
test eax, eax
je 0x418e11
mov edi, 0x6e5d00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x98], 0x6e54c8
jmp 0x418e41
mov edi, 0x6e5ccc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x98], 0x6e5cc4
lea ecx, [esp + 0xc]
push 0x7c
push ecx
call fcn.004669d7
add esp, 8
test eax, eax
je 0x418e67
mov byte [eax], 0
inc eax
push 0x7c
push eax
call fcn.004669d7
add esp, 8
test eax, eax
jne 0x418e54
mov ecx, dword [ebx + 0x90]
mov eax, dword [esp + 0x130]
lea edx, [esp + 0xc]
or ecx, 0x1206
test eax, eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x90], ecx
je 0x418ea4
mov edi, dword [0x742804]
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x742804]
mov dword [ebx + 0x78], eax
jmp 0x418f12
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx - 8]
test eax, eax
je 0x418f19
mov edi, dword [0x742804]
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x124]
lea ecx, [esp + 0x124]
mov eax, dword [edx - 8]
push eax
call fcn.00628c44
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [0x742804]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x128]
call fcn.00628c93
mov ecx, dword [0x742804]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x418f2a
mov dword [ebx + 0x5c], 0x58
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xb8]
lea ecx, [esp + 0x124]
mov esi, eax
mov dword [esp + 0x118], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret
Function at 0x419e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x654310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, 0x8164
jne 0x41a029
mov edi, dword [ecx + 0x250]
xor esi, esi
cmp edi, esi
je 0x41a029
mov dword [esp + 0x10], 0x67b3cc
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
call fcn.00642d98
mov eax, dword [eax + 0xc]
push 0x33c
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x14]
call fcn.00629c7f
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00629c4c
mov edx, dword [edi + 0x1c]
mov esi, eax
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x433
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0062d450
call fcn.00642d98
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push 0x33c
push ecx
push eax
call fcn.00407060
mov bl, byte [esp + 0x4c]
add esp, 0xc
test bl, 1
je 0x419f81
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push 0x816b
push edx
call edi
mov eax, dword [esi + 4]
push 8
push 0x816a
push eax
call edi
mov ecx, dword [esi + 4]
push 8
push 0x8169
push ecx
call edi
mov edx, dword [esi + 4]
push 8
push 0x8165
push edx
call edi
mov eax, dword [esi + 4]
push 8
push 0x8167
push eax
call edi
mov ecx, dword [esi + 4]
push 8
push 0x8166
push ecx
call edi
jmp 0x419fe6
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
test bl, 0x20
je 0x419f99
mov eax, dword [esi + 4]
push 8
push 0x816a
push eax
call edi
test bl, 0x10
je 0x419fab
mov ecx, dword [esi + 4]
push 8
push 0x8169
push ecx
call edi
test bl, 2
je 0x419fbd
mov edx, dword [esi + 4]
push 8
push 0x8165
push edx
call edi
test bl, 4
je 0x419fcf
mov eax, dword [esi + 4]
push 8
push 0x8167
push eax
call edi
test bl, 8
je 0x419fe1
mov ecx, dword [esi + 4]
push 8
push 0x8166
push ecx
call edi
test bl, 0x40
je 0x419ff3
mov edx, dword [esi + 4]
push 8
push 0x8168
push edx
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push 0x40
mov ecx, esi
call fcn.006258ca
mov dword [esp + 0x10], 0x67b3cc
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.00629cd6
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x41cecd
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x654681
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6e8700]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov edx, dword [0x6e8700]
lea ebx, [esi + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edx
mov eax, dword [0x6e8700]
lea ebp, [esi + 0x44]
mov dword [ebp], eax
push 0x7427d8
mov byte [esp + 0x20], 2
call fcn.0062899d
push 0x7427d8
mov ecx, ebx
call fcn.0062899d
push 0x7427d8
mov ecx, ebp
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], 0x4e
mov dword [esi + 0xc], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call fcn.0062899d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41d960
Capabilities:
Delete registry value

Disassembly:
push ecx
push 0x6e6614
push 0x7427d8
push 0x6e54c8
push SysReAllocStringLen
call fcn.0042f9b0
push 0x6e6a18
push 0x6e6a08
push 0x6e54c8
push SysReAllocStringLen
call fcn.0042f9b0
push 0x6e6a04
push 0x6e69f4
push 0x6e6614
push SysReAllocStringLen
call fcn.0042f9b0
push 0x6e65c0
push 0x6e69ec
push 0x6e69c0
push SysReAllocStringLen
call fcn.0042f9b0
add esp, 0x40
push 0x6e54c8
push 0x6e69b4
push 0x6e69c0
push SysReAllocStringLen
call fcn.0042f9b0
add esp, 0x10
lea eax, [esp]
push eax
push 2
push 0
push 0x6e6970
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41da11
mov ecx, dword [esp]
push 0x6e6964
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6e6614
push 0x6e694c
push 0x6e6970
push SysReAllocStringLen
call fcn.0042f9b0
call fcn.0041da40
add esp, 0x14
ret
Function at 0x41dc00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6547cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 3
push 0x6e6acc
push 0
mov dword [esp + 0x2c], 0
call sub.WINSPOOL.DRV_EnumPrinterDriversA
mov edx, dword [esp + 0x10]
push edx
call fcn.006247b3
mov edx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push ebp
push 3
push 0x6e6acc
push 0
mov dword [esp + 0x30], ebp
call sub.WINSPOOL.DRV_EnumPrinterDriversA
test eax, eax
jne 0x41dc88
push ebp
call fcn.006247dc
add esp, 4
xor eax, eax
jmp 0x41de11
mov edx, dword [esp + 0x24]
xor edi, edi
test edx, edx
mov dword [esp + 0x20], 0
jbe 0x41dce8
add ebp, 4
mov eax, dword [ebp]
mov esi, 0x6e6ab0
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41dcc9
test cl, cl
je 0x41dcc5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41dcc9
add eax, 2
add esi, 2
test cl, cl
jne 0x41dca5
xor eax, eax
jmp 0x41dcce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dcdc
inc edi
add ebp, 0x28
cmp edi, edx
jb 0x41dc9d
jmp 0x41dce4
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x14]
push ebp
call fcn.006247dc
add esp, 4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 2
push 0
call sub.WINSPOOL.DRV_EnumMonitorsA
mov edx, dword [esp + 0x10]
push edx
call fcn.006247b3
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push esi
push 2
push 0
call sub.WINSPOOL.DRV_EnumMonitorsA
test eax, eax
jne 0x41dd44
push esi
call fcn.006247dc
add esp, 4
xor eax, eax
jmp 0x41de11
mov edx, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], edi
test edx, edx
jbe 0x41dd9d
mov edi, esi
mov eax, dword [edi]
mov esi, 0x6e6a9c
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41dd81
test cl, cl
je 0x41dd7d
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41dd81
add eax, 2
add esi, 2
test cl, cl
jne 0x41dd5d
xor eax, eax
jmp 0x41dd86
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dd98
inc ebp
add edi, 4
cmp ebp, edx
jb 0x41dd56
mov edi, dword [esp + 0x14]
jmp 0x41dd9d
mov edi, 1
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00628882
push 0x6e6a8c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x138], 0
call fcn.00628bf0
test edi, edi
jne 0x41ddf8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41ddf8
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.00628814
xor eax, eax
jmp 0x41de11
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.00628814
mov eax, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x422c40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x655238
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 8]
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
jne 0x422cc6
push ebp
push ebp
push 0x6e6f4c
call fcn.00630d2e
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00628814
xor eax, eax
jmp 0x422d33
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
call fcn.00628c44
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00628c93
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00628814
mov eax, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x423440
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x655350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00475140
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x6e54c8
mov byte [esp + 0x24], 1
call fcn.00628882
lea eax, [esp + 0x28]
push eax
call fcn.00475490
mov esi, dword [esi + 0x3c]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0xe8]
call fcn.004100d0
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 8]
sete bl
call fcn.00628814
test bl, bl
je 0x4234cc
call fcn.0042b640
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005649f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x42d6b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x65638c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xa
mov esi, 0x6e5d00
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
movsb byte es:[edi], byte [esi]
call fcn.00475140
mov ebp, dword [ebp + 0x3b4]
lea eax, [esp + 0x1c]
mov ebx, 1
push ebp
push eax
mov dword [esp + 0x254], ebx
call fcn.00475420
add esp, 8
push 0x6e54c8
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x258], 2
call fcn.00628aa9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 4
call fcn.00628814
mov esi, dword [esp + 0x10]
mov ecx, 0x742808
call fcn.0062a5ac
lea edx, [esp + 0x20]
push eax
push edx
push 6
push esi
push 0
push 0
lea ecx, [esp + 0x64]
call fcn.006212ce
mov byte [esp + 0x24c], 5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x42d77f
mov dword [esp + 0xa8], 0x58
lea ecx, [esp + 0x4c]
call fcn.00621430
cmp eax, ebx
jne 0x42d7ab
mov esi, dword [esp + 0x254]
lea ecx, [esp + 0x4c]
push esi
call fcn.0062150b
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24c], 6
jmp 0x42d7ca
mov esi, dword [esp + 0x254]
push 0x7427d8
mov ecx, esi
call fcn.00628882
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24c], 7
lea ecx, [esp + 0xf8]
call fcn.00628814
lea ecx, [esp + 0x4c]
mov byte [esp + 0x24c], 4
call fcn.0062a7a3
lea ecx, [esp + 0x10]
mov byte [esp + 0x24c], bl
call fcn.00628814
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0
call fcn.005649f0
mov ecx, dword [esp + 0x244]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret 4

Function at 0x42d830
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6563b0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c0]
test eax, eax
je 0x42d8fe
mov eax, dword [esi + 0x3b4]
mov ecx, dword [esi + 0x3b8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
push 0
push eax
push ecx
call ebp
test eax, eax
jne 0x42d8ee
or edi, 0xffffffff
lea eax, [esp + 0x14]
push 0x7fa
push eax
call fcn.00407170
add esp, 8
mov eax, dword [eax]
push 0
push 1
push eax
mov dword [esp + 0x2c], 0
call fcn.00630d2e
cmp eax, 2
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x20], edi
call fcn.00628814
test bl, bl
jne 0x42d8ee
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0042d6b0
mov eax, dword [esi + 0x3b4]
mov ecx, dword [esi + 0x3b8]
push 0
push eax
push ecx
call ebp
test eax, eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
jne 0x42d8e9
call fcn.00628814
jmp 0x42d87b
call fcn.00628814
mov edx, dword [esi + 0x3b8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42d910
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6563d0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c4]
test eax, eax
je 0x42d9dc
mov eax, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x3b8]
push ebx
push edi
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42d9cd
or edi, 0xffffffff
lea eax, [esp + 0x10]
push 0x7fa
push eax
call fcn.00407170
add esp, 8
mov eax, dword [eax]
push 0
push 1
push eax
mov dword [esp + 0x28], 0
call fcn.00630d2e
cmp eax, 2
lea ecx, [esp + 0x10]
sete bl
mov dword [esp + 0x1c], edi
call fcn.00628814
test bl, bl
jne 0x42d9cd
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0042d6b0
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x3b8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0xc]
jne 0x42d9c8
call fcn.00628814
jmp 0x42d958
call fcn.00628814
mov eax, dword [esi + 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x42dd60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x656470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
lea esi, [ecx + 0x3c8]
lea eax, [esp + 4]
push edi
push eax
mov ecx, esi
call fcn.004a7fc0
mov edi, 0x6e54d8
mov dword [esp + 0x68], 0
mov ecx, edi
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x42ddb3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x42ddbb
mov dword [esp + 0x10], 0
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
call fcn.00498870
test eax, eax
je 0x42de22
mov ecx, eax
call fcn.00497860
test eax, eax
je 0x42de22
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0x44
test eax, eax
je 0x42ddf8
add eax, 0xc
jmp 0x42ddfd
mov eax, 0x7427d8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0xc]
jmp 0x42de48
mov eax, dword [esp + 8]
test eax, eax
je 0x42de2f
add eax, 0xc
jmp 0x42de34
mov eax, 0x7427d8
push 5
push 0
push 0
push eax
push 0x6e5420
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
test eax, eax
jne 0x42de7f
lea eax, [esp + 4]
push 0x7ec
push eax
call fcn.00407170
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x6c], 1
call fcn.00630d2e
lea ecx, [esp + 4]
mov byte [esp + 0x60], 0
call fcn.00628814
lea ecx, [esp]
mov dword [esp + 0x60], 0xffffffff
call fcn.00499a60
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x42f4c0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6565e0
push eax
mov dword fs:[0], esp
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push 2
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42f52a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], bl
call fcn.00628814
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00628814
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x1c]
je 0x42f57c
call fcn.00628814
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00628814
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0xc
ret
call fcn.00628814
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 8]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x42f5b0
Capabilities:
Delete registry key

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42f5d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.0042f5f0
add esp, 8
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
ret