joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c812c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x160]
mov edx, dword [0x407bf8]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x4c83b5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004b932c
mov eax, dword [0x4d93bc]
call fcn.00404560
cmp eax, 2
jle 0x4c8196
call fcn.004b716c
xor eax, eax
push ebp
push 0x4c825a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
mov ecx, 0x4c83cc
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00409938
test eax, eax
jne 0x4c8223
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x154]
call fcn.004089f8
mov eax, dword [ebp - 8]
mov edx, dword [0x4d936c]
call fcn.004046ac
je 0x4c8214
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x154]
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x168]
call fcn.004099c8
lea eax, [ebp - 0x160]
call fcn.00409988
test eax, eax
je 0x4c81d4
lea eax, [ebp - 0x160]
call fcn.004099ac
call fcn.004bb3c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, 0x64
call fcn.0043483c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c70dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c8264
push 0
mov eax, dword [0x4d9378]
call fcn.00404760
push eax
push 0x4c83d0
lea eax, [ebp - 0x16c]
mov ecx, 0x4c83e8
mov edx, dword [0x4d9378]
call fcn.004045ac
mov eax, dword [ebp - 0x16c]
call fcn.00404760
push eax
push 0x4c83f4
mov eax, dword [ebp - 4]
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
mov edx, 0x64
mov eax, dword [ebp - 4]
call fcn.004c3b28
cmp byte [0x4d94b9], 0
je 0x4c831c
mov eax, 0x4c8404
call fcn.004b7b2c
test al, al
jne 0x4c837e
push 0
mov eax, dword [0x4d9370]
call fcn.00404760
push eax
push 0x4c8410
lea eax, [ebp - 0x170]
mov ecx, 0x4c8404
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x170]
call fcn.00404760
push eax
push 0x4c83f4
mov eax, dword [ebp - 4]
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4c8371
mov eax, 0x4c8420
call fcn.004b7b2c
test al, al
jne 0x4c837e
push 0
mov eax, dword [0x4d9370]
call fcn.00404760
push eax
push 0x4c8410
lea eax, [ebp - 0x174]
mov ecx, 0x4c8420
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x174]
call fcn.00404760
push eax
push 0x4c83f4
mov eax, dword [ebp - 4]
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
mov edx, 0x4c8434
mov eax, dword [ebp - 4]
call fcn.004c3b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c83bc
lea eax, [ebp - 0x174]
mov edx, 5
call fcn.004042b4
lea eax, [ebp - 0x160]
mov edx, dword [0x407bf8]
call fcn.00405080
lea eax, [ebp - 8]
call fcn.00404290
ret
Function at 0x4c8448
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov edx, 0x4c8480
mov eax, ebx
call fcn.004c3b5c
push 1
push 0
push 0
push esi
push 0x4c84b4
mov eax, ebx
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
pop esi
pop ebx
ret

Function at 0x4cc280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cc4a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4d94d6], 0
mov eax, dword [0x4d5600]
lea eax, [eax + eax*8]
mov edx, dword [0x4d5e18]
cmp dword [edx + eax*4 + 0x20], 1
jne 0x4cc2d1
mov eax, dword [0x4d94b4]
call fcn.00404560
cmp eax, 3
jle 0x4cc2d1
mov eax, ebx
call fcn.004d14a4
jmp 0x4cc48b
mov eax, dword [0x4d9458]
call fcn.00404560
dec eax
jge 0x4cc2fd
mov ecx, dword [0x4d612c]
mov ecx, dword [ecx + 0x30]
mov eax, 0x4d9458
mov edx, 0x4cc4bc
call fcn.004045ac
call fcn.004bdc98
jmp 0x4cc33a
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x30]
mov edx, dword [0x4d9458]
call fcn.004048a4
dec eax
jge 0x4cc33a
push dword [0x4d9458]
push 0x4cc4c8
mov eax, dword [0x4d612c]
push dword [eax + 0x30]
mov eax, 0x4d9458
mov edx, 3
call fcn.00404620
call fcn.004bdc98
mov edx, 0x4cc4d4
mov eax, ebx
call fcn.004c3b5c
mov dword [0x4d5604], 0xffffffff
mov dword [0x4d5600], 0xffffffff
mov eax, dword [0x4d612c]
cmp byte [eax + 0xa], 0
je 0x4cc375
lea eax, [ebp - 4]
mov edx, dword [0x4d9400]
call fcn.00404328
jmp 0x4cc383
lea eax, [ebp - 4]
mov edx, dword [0x4d93fc]
call fcn.00404328
mov edx, dword [ebp - 4]
mov eax, 0x4cc510
call fcn.004048a4
test eax, eax
jle 0x4cc3ae
push 1
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x34]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
jmp 0x4cc48b
mov edx, dword [ebp - 4]
mov eax, 0x4cc520
call fcn.004048a4
test eax, eax
jle 0x4cc3f4
push 1
push dword [0x4d937c]
push 0x4cc530
mov eax, dword [0x4d612c]
push dword [eax + 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404620
mov eax, dword [ebp - 8]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
jmp 0x4cc48b
mov edx, dword [ebp - 4]
mov eax, 0x4cc548
call fcn.004048a4
test eax, eax
jle 0x4cc450
push 1
mov eax, dword [0x4d937c]
call fcn.00404760
push eax
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x34]
call fcn.00404760
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x4cc530
mov edx, dword [0x4d937c]
call fcn.004045ac
mov eax, dword [ebp - 0xc]
call fcn.00404760
push eax
push 0x4cc554
mov eax, ebx
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4cc48b
push 1
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x3c]
call fcn.00404760
push eax
mov eax, dword [0x4d9420]
call fcn.00404760
push eax
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x34]
call fcn.00404760
push eax
push 0x4cc554
mov eax, ebx
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc4ad
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042b4
ret
Function at 0x4ccc34
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4ccd5a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d55fc], 0xc
jl 0x4ccc74
mov edx, 0x4ccd70
mov eax, esi
call fcn.004c3b5c
jmp 0x4ccd39
push 0
push 0
lea eax, [ebp - 0x109]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov ecx, esi
mov dl, 1
mov eax, dword [0x432700]
call fcn.00432e08
mov ebx, eax
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404510
mov edx, dword [ebp - 0x110]
mov eax, ebx
call fcn.004336b8
mov eax, dword [0x4ccda0]
mov dword [ebx + 0x5c], eax
lea eax, [ebx + 0x60]
mov edx, 0x4ccdac
call fcn.004042e4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4cccf9
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00433650
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004cc55c
mov eax, ebx
call fcn.00403440
cmp byte [0x4d94d2], 0
je 0x4ccd39
mov byte [0x4d94d2], 0
call fcn.004b8468
mov eax, esi
call fcn.004cbf68
call fcn.004bb3c0
mov edx, 0x4ccde8
mov eax, esi
call fcn.004c611c
mov edx, 0x4ccdf8
mov eax, esi
call fcn.004c611c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccd61
lea eax, [ebp - 0x110]
call fcn.00404290
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x4d0e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
mov byte [0x4d94de], 1
mov dword [0x4d9530], 0xffffffff
call fcn.004bc318
push 0
push 0
lea eax, [esp + 8]
push eax
mov ecx, 0x4c2980
xor edx, edx
xor eax, eax
call fcn.00404244
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x4d5d94]
mov eax, dword [eax]
call fcn.0046ebac
push 0xa
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3a98
jge 0x4d0e63
cmp byte [0x4d94de], 0
jne 0x4d0e39
cmp dword [0x4d9530], 0xfffffffe
je 0x4d0e75
cmp dword [0x4d9530], 0
jne 0x4d0ea4
mov edx, 0x4d1060
mov eax, esi
call fcn.004c3b5c
mov byte [0x4d94ca], 0
mov byte [0x4d94d9], 0
mov byte [0x4d94c6], 0
xor edx, edx
mov eax, esi
call fcn.004c47c8
jmp 0x4d1051
cmp dword [0x4d9530], 0xffffffff
jne 0x4d0edc
mov edx, 0x4d1084
mov eax, esi
call fcn.004c3b5c
mov byte [0x4d94ca], 0
mov byte [0x4d94d9], 0
mov byte [0x4d94c6], 0
xor edx, edx
mov eax, esi
call fcn.004c47c8
jmp 0x4d1051
mov eax, 0x4d92fc
mov edx, 0x4d10ac
call fcn.004042e4
mov eax, dword [0x4d612c]
mov eax, dword [eax]
mov edx, 0x4d10b8
call fcn.004046ac
jne 0x4d0f0f
mov eax, 0x4d92fc
mov edx, 0x4d10ac
call fcn.004042e4
jmp 0x4d0f42
mov eax, dword [0x4d612c]
mov eax, dword [eax]
mov edx, 0x4d10c8
call fcn.004046ac
jne 0x4d0f33
mov eax, 0x4d92fc
mov edx, 0x4d10d8
call fcn.004042e4
jmp 0x4d0f42
mov eax, 0x4d92fc
mov edx, 0x4d10ac
call fcn.004042e4
mov eax, dword [0x4d612c]
mov eax, dword [eax + 0x10]
mov edx, 0x4d10e4
call fcn.004046ac
jne 0x4d0f60
mov dword [0x4d9534], 1
cmp dword [0x4d9530], 2
jne 0x4d0f78
mov dword [0x4d9534], 1
jmp 0x4d1037
cmp dword [0x4d9530], 1
jne 0x4d0fa2
mov eax, 0x4d9418
mov edx, dword [0x4d612c]
mov edx, dword [edx]
call fcn.004042e4
mov eax, 0x4d941c
call fcn.00404290
jmp 0x4d1037
cmp dword [0x4d9530], 3
jne 0x4d0fda
mov eax, 0x4d92fc
mov edx, 0x4d10f4
call fcn.004042e4
mov eax, 0x4d9418
mov edx, 0x4d1100
call fcn.004042e4
mov eax, 0x4d941c
mov edx, 0x4d1110
call fcn.004042e4
jmp 0x4d1037
cmp dword [0x4d9530], 4
jne 0x4d1012
mov eax, 0x4d92fc
mov edx, 0x4d1120
call fcn.004042e4
mov eax, 0x4d9418
mov edx, 0x4d1100
call fcn.004042e4
mov eax, 0x4d941c
mov edx, 0x4d112c
call fcn.004042e4
jmp 0x4d1037
mov eax, 0x4d9418
mov edx, dword [0x4d612c]
mov edx, dword [edx]
call fcn.004042e4
mov eax, 0x4d941c
mov edx, dword [0x4d612c]
mov edx, dword [edx + 4]
call fcn.004042e4
mov edx, 0x4d113c
mov eax, esi
call fcn.004c3b5c
mov byte [0x4d94ca], 0
mov byte [0x4d94c9], 1
pop edx
pop esi
pop ebx
ret
Function at 0x4d14a4
Capabilities:
Copy file
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4d14ac
push ebx
push esi
mov ebx, eax
mov esi, 0x4d9370
xor eax, eax
push ebp
push 0x4d1663
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4d94d8], 0
je 0x4d14d8
call fcn.004b89d4
mov byte [0x4d94d9], 0
mov byte [0x4d94d8], 0
lea eax, [ebp - 4]
mov ecx, dword [0x4d94b4]
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 4]
call fcn.004b7a84
cmp eax, 0x13880
jl 0x4d156d
lea eax, [ebp - 0x10]
mov ecx, 0x4d1678
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x10]
call fcn.00404760
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00404498
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004b8ca0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4d94b4]
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x1c]
call fcn.00404760
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404498
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004b8ca0
mov edx, dword [ebp - 0x14]
pop eax
call fcn.004046ac
jbe 0x4d15c8
push 0x80
lea eax, [ebp - 0x20]
mov ecx, dword [0x4d94b4]
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x20]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
lea eax, [ebp - 0x24]
mov ecx, dword [0x4d94b4]
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x24]
call fcn.00404760
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x4d1678
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x28]
call fcn.00404760
push eax
call sub.kernel32.dll_CopyFileA
mov edx, 0x4d168c
mov eax, ebx
call fcn.004c3b5c
push 0x4d9304
push 2
call sub.shell32.dll_Shell_NotifyIconA
push 1
mov eax, dword [esi]
call fcn.00404760
push eax
push 0x4d16a8
push dword [0x4d93c4]
push 0x4d16bc
push dword [0x4d93c0]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404620
mov eax, dword [ebp - 0x2c]
call fcn.00404760
push eax
lea eax, [ebp - 0x30]
mov ecx, dword [0x4d94b4]
mov edx, dword [esi]
call fcn.004045ac
mov eax, dword [ebp - 0x30]
call fcn.00404760
push eax
push 0x4d16c0
mov eax, ebx
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.0046b618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d166a
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.004042b4
ret
Function at 0x4d16c8
Capabilities:
Create process on windows

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 ebx, eax
xor eax, eax
push ebp
push 0x4d1853
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4d94d8], 0
je 0x4d16f3
call fcn.004b89d4
mov byte [0x4d94d9], 0
mov byte [0x4d94d8], 0
lea eax, [ebp - 8]
mov ecx, dword [0x4d94b0]
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 8]
call fcn.004b7a84
cmp eax, 0x13880
jl 0x4d1764
lea eax, [ebp - 0x14]
mov ecx, dword [0x4d94b0]
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x14]
call fcn.00404760
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404498
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004b8ca0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4d94ac]
call fcn.004046ac
jbe 0x4d17b1
mov byte [0x4d94c8], 1
mov eax, 0x4d9494
mov ecx, dword [0x4d94ac]
mov edx, 0x4d1868
call fcn.004045ac
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4c1aec
xor edx, edx
xor eax, eax
call fcn.00404244
mov dword [0x4d950c], 0x2710
mov edx, 0x4d1884
mov eax, ebx
call fcn.004c3b5c
jmp 0x4d1838
mov edx, 0x4d18a4
mov eax, ebx
call fcn.004c3b5c
push 0x4d9304
push 2
call sub.shell32.dll_Shell_NotifyIconA
push 1
mov eax, dword [0x4d9370]
call fcn.00404760
push eax
push 0x4d18c0
push dword [0x4d93c4]
push 0x4d18d4
push dword [0x4d93c0]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404620
mov eax, dword [ebp - 0x18]
call fcn.00404760
push eax
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4d94b0]
mov edx, dword [0x4d9370]
call fcn.004045ac
mov eax, dword [ebp - 0x1c]
call fcn.00404760
push eax
push 0x4d18d8
mov eax, ebx
call fcn.00455330
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.0046b618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d185a
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004042b4
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

Function at 0x401664
Capabilities:
Encode data using xor

Disassembly:
push 0x401c10
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
sbb dl, byte [edx]
jl entry0
push 0xffffffffffffffe3
fadd qword [ebx - 0x5b]
add dword [0x6aeb3686], edi
jmp 0x401694
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
mov bh, 0
add byte [eax], al
dec edx
dec esp
push edi
bound eax, qword gs:[eax]
dec edx
dec esp
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
add byte [ecx - 0x10c96430], ah
mov esp, dword [eax - 0x56315db6]
sbb eax, 0x5e5c71ef
daa
push dword [eax + 0x25]
ret 0x69a7
Function at 0x10002a32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10002a89
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10002a7b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10002a77
cmp edi, eax
jae 0x10002a7b
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x10002a69
cmp edi, eax
jb 0x10002a7f
xor eax, eax
jmp 0x10002a88
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x10004ce3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100210b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
push ebx
push esi
push edi
mov esi, ecx
push str.NtQuerySystemInformation
push esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov edi, 0x1000
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x10004d3e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xfffffffffffffffe
pop eax
jmp 0x10004e44
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x10004d84
lea ecx, [ebp - 0x224]
push ecx
push edi
push eax
push 5
call ebx
mov esi, eax
test esi, esi
je 0x10004d8b
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0xc0000004
jne 0x10004d88
add edi, edi
cmp edi, 0x80000
jb 0x10004d3e
jmp 0x10004d8b
push 0xfffffffffffffffd
jmp 0x10004d8a
push 0xfffffffffffffffc
pop esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x10004da2
mov eax, esi
jmp 0x10004e44
mov esi, dword [ebp - 0x210]
xor ebx, ebx
inc ebx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10004e0e
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100083ba
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.1000776c
add esp, 0x14
test eax, eax
jne 0x10004e0e
push dword [esi + 0x44]
mov dword [ebp - 0x214], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10004e0e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x10004e07
mov dword [ebp - 0x218], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x10004e18
add esi, eax
jmp 0x10004dab
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x214], 0
jne 0x10004e34
push 0xfffffffffffffffb
jmp 0x10004d38
mov eax, dword [ebp - 0x218]
neg eax
sbb eax, eax
and eax, 7
add eax, 0xfffffffa
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000744c
leave
ret 4

Function at 0x10005086
Capabilities:
Check os version

Disassembly:
push 4
mov eax, 0x10018f14
call fcn.10014fe1
and dword [ebp - 0x10], 0
mov eax, dword [0x10021038]
mov ecx, 0x10021038
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, str.SoftwareAppDataLowSoftware_
cmp al, 5
ja 0x100050c1
mov esi, str.Software_
mov eax, esi
call fcn.1000282a
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.1000267d
mov eax, dword [ebp + 8]
add eax, 0x60
push eax
push dword [ebp + 0xc]
lea edi, [ebp - 0x10]
call fcn.10002455
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.10002ace
mov eax, dword [ebp + 0xc]
call fcn.10015080
ret 8