joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420860
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x3c]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x18], ebx
xor esi, esi
call fcn.00420cd0
add eax, 4
movsx edx, word [esp + 0x50]
jo 0x4209b6
add eax, 0x14
jo 0x4209b6
add eax, edx
jo 0x4209b6
mov edi, eax
mov ax, word [esp + 0x42]
sub ax, 1
jo 0x4209b6
movsx ebp, ax
cmp ebp, ebx
jl 0x4209a7
lea ecx, [esp + 0x14]
push ecx
call fcn.004210b0
push 0x28
push edi
push eax
call fcn.00421000
mov eax, dword [esp + 0x38]
test eax, 0x20000000
je 0x42091e
test eax, 0x40000000
je 0x42090d
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
jmp 0x420943
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x70
add eax, 0x10
jmp 0x420943
test eax, 0x40000000
je 0x420936
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 2
add eax, 2
jmp 0x420943
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 7
inc eax
lea edx, [esp + 0x10]
mov esi, eax
push edx
call fcn.004210b0
push eax
push esi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x140]
mov eax, dword [esp + 0x24]
add ecx, esi
push eax
jo 0x4209b6
push ecx
call fcn.00420fe0
test eax, eax
je 0x420990
add edi, 0x28
jo 0x4209b6
add ebx, 1
jo 0x4209b6
cmp ebx, ebp
jle 0x4208d7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 4
mov esi, 4
call dword [sym.imp.KERNEL32.DLL_SetFileApisToANSI]
call dword [sym.imp.KERNEL32.DLL_SetFileApisToOEM]
call dword [sym.imp.USER32.DLL_WaitMessage]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop

Function at 0x404a60
Capabilities:
Encode data using xor

Disassembly:
test byte [ecx + 0xcf383ec], dl
mov ecx, dword [ebp + 0xc]
xor dword [edx + 0x57], ebp
push 0x57
lea edx, [eax + 7]
xchg ebp, eax
loop 0x404a6a
dec edi
ror byte [ebx + 0x55890845], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edx
Function at 0x869590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x255000]
push edi
jmp 0x8695aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8695b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8695a0
mov eax, 1
add ebx, ebx
jne 0x8695c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8695d4
jne 0x8695f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8695f3
dec eax
add ebx, ebx
jne 0x8695e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8695b8
add ebx, ebx
jne 0x8695ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x869645
xor ecx, ecx
sub eax, 3
jb 0x86960b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x86967a
sar eax, 1
mov ebp, eax
jmp 0x869616
add ebx, ebx
jne 0x869616
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8695e4
inc ecx
add ebx, ebx
jne 0x869624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8695e4
add ebx, ebx
jne 0x869631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x869626
jne 0x869642
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x869626
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x869664
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x869656
jmp 0x8695a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x869664
add edi, ecx
jmp 0x8695a6
pop esi
mov edi, esi
mov ecx, 0xaae1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x869682
cmp byte [edi], 0x34
jne 0x869682
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x869687
lea edi, [esi + 0x466000]
mov eax, dword [edi]
or eax, eax
je 0x8696ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4ac098]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4ac1f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8696b4
mov ecx, edi
jns 0x8696e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4ac200]
or eax, eax
je 0x8696f9
mov dword [ebx], eax
add ebx, 4
jmp 0x8696d1
call dword [esi + 0x4ac1fc]
mov ebp, dword [esi + 0x4ac204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x869733
sub esp, 0xffffff80
jmp 0x560872
Function at 0x7fae50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ae000]
push edi
jmp 0x7fae6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7fae71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7fae60
mov eax, 1
add ebx, ebx
jne 0x7fae83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7fae94
jne 0x7faeb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7faeb3
dec eax
add ebx, ebx
jne 0x7faea0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7fae78
add ebx, ebx
jne 0x7faeaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7faf05
xor ecx, ecx
sub eax, 3
jb 0x7faecb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7faf3a
sar eax, 1
mov ebp, eax
jmp 0x7faed6
add ebx, ebx
jne 0x7faed6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7faea4
inc ecx
add ebx, ebx
jne 0x7faee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7faea4
add ebx, ebx
jne 0x7faef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7faee6
jne 0x7faf02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7faee6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7faf24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7faf16
jmp 0x7fae66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7faf24
add edi, ecx
jmp 0x7fae66
pop esi
mov edi, esi
mov ecx, 0xe956
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7faf42
cmp byte [edi], 0x37
jne 0x7faf42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7faf47
lea edi, [esi + 0x3f5000]
mov eax, dword [edi]
or eax, eax
je 0x7fafbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3fb068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3fb1bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7faf74
mov ecx, edi
jns 0x7fafa3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3fb1c0]
or eax, eax
je 0x7fafb9
mov dword [ebx], eax
add ebx, 4
jmp 0x7faf91
call dword [esi + 0x3fb1d0]
mov ebp, dword [esi + 0x3fb1c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7faff3
sub esp, 0xffffff80
jmp 0x4014a4
Function at 0x10027e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10027e8f
pop dword [ebp - 0x38]
mov eax, 0xd370decb
add eax, 0x3c919fc4
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3b601
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x42fd
mov edi, eax
mov esi, 0xcb6524f2
sub esi, 0xbb61b4f2
add esi, dword [ebp - 0x38]
mov ebx, 0x3808f1a6
mov edx, dword [esi]
sub dword [ebp - 0x20], eax
xor edx, ebx
mov dword [edi], edx
mov dword [ebp - 0x28], 0x28543404
add edi, 4
add esi, 4
loop 0x10027edd
add eax, 0xeb4a76dd
add eax, 0x14b687ea
mov ebx, eax
add eax, 0x2822ea23
sub eax, 0x2822ea1e
mov ecx, 0x134e9c76
add ecx, 0xfcb1638a
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x1002ef5e
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x10034b44]
mov eax, dword [0x100336a0]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x1002f124
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x10034b60]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x1002f124
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x1002efc8
xor eax, eax
jmp 0x1002f138
test al, 0x20
je 0x1002efd9
push 2
push edi
push edi
push ecx
call fcn.10027e80
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x1002f0ae
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x1002f0f5
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x1002f03b
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x1002f02c
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x1002f00e
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1002f07b
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x1002f087
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x1002f002
jmp 0x1002f089
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x1002f11f
cmp dword [ebp + 0x3a4], edi
je 0x1002f0f5
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x1002f0e7
mov dword [0x10033708], eax
jmp 0x1002f12b
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1002f0d9
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x1002f089
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x1002f089
push dword [ebp + 0x3a4]
call fcn.1002ec98
pop ecx
jmp 0x1002f135
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1002f10d
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x1002efc1
mov dword [0x10033704], 0x1c
mov dword [0x10033708], edi
jmp 0x1002f135
sub eax, dword [ebp - 0x7c]
jmp 0x1002f138
and dword [0x10033708], 0
mov dword [0x10033704], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.1002fecd
add ebp, 0x39c
leave
ret
Function at 0x23802f58
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x824
mov eax, 0x23908fa8
call fcn.23803221
call fcn.23803257
lea ecx, [ebp - 0x81c]
call fcn.23803c48
mov eax, dword [0x239840f4]
push str.JavaScriptPerms
xor ebx, ebx
push str.FeatureLockdown
mov dword [ebp - 4], ebx
call dword [eax + 0x5c0]
push str.BlackList
push eax
mov eax, dword [0x23984114]
call dword [eax + 0x114]
xor edi, edi
add esp, 0x10
inc edi
push edi
lea ecx, [ebp - 0x81c]
mov esi, eax
call fcn.238e9363
push edi
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x81c], esi
call fcn.238e9363
lea ecx, [ebp - 0x828]
call fcn.23803c48
mov ax, word [0x2397de1c]
mov ecx, 0xffff
mov byte [ebp - 4], 1
cmp ax, cx
jne 0x23802ff1
mov ecx, 0x2397de1c
call fcn.238022e3
movzx eax, ax
push str.Reader
push eax
mov eax, dword [0x239840b0]
call dword [eax + 0x2c]
pop ecx
push eax
call fcn.238e9363
pop ecx
pop ecx
test ax, ax
je 0x23803025
mov eax, dword [0x239827d4]
mov esi, str.SOFTWAREAdobeAcrobat_Reader11.0JavaScriptPerms
call dword [eax + 0xcb8]
test ax, ax
je 0x2380302a
mov esi, str.SOFTWAREAdobeAdobe_Acrobat11.0JavaScriptPerms
lea eax, [ebp - 0x830]
push eax
push edi
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x238030b3
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push str.tBlackList
push dword [ebp - 0x830]
mov dword [ebp - 0x820], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x238030a7
cmp dword [ebp - 0x814], edi
jne 0x238030a7
push ebx
call fcn.238e9363
pop ecx
push eax
push ebx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.238e9363
push edi
lea ecx, [ebp - 0x828]
call fcn.238e9363
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
lea ecx, [ebp - 0x81c]
call fcn.238e9363
test eax, eax
jne 0x238030d9
push ebx
push ebx
lea ecx, [ebp - 0x828]
call fcn.238e9363
test eax, eax
je 0x23803185
call fcn.238632bf
cmp dword [0x23982638], ebx
jne 0x2380314f
push edi
push 0x14
call fcn.238e9363
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x2380311f
push ecx
mov dword [ebp - 0x820], esp
lea eax, [ebp - 0x829]
mov dword [ebp - 0x820], esp
push eax
mov ecx, esi
call fcn.23818594
mov eax, esi
jmp 0x23803121
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x23982638], eax
cmp eax, ebx
jne 0x2380314f
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], bl
call fcn.23803ba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.23803ba1
xor eax, eax
jmp 0x238031a4
push ecx
push ecx
lea eax, [ebp - 0x81c]
mov ecx, esp
mov dword [ebp - 0x814], esp
push eax
call fcn.238e9363
call fcn.23863099
lea eax, [ebp - 0x828]
mov ecx, esp
mov dword [ebp - 0x814], esp
push eax
call fcn.238e9363
call fcn.23863099
pop ecx
pop ecx
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], bl
call fcn.23803ba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.23803ba1
mov eax, edi
call fcn.238040e1
ret
Function at 0x23855293
Capabilities:
Set registry value

Disassembly:
push 0x19c
mov eax, 0x23911df9
call fcn.23803221
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov esi, ecx
jb 0x238552af
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x9c]
call fcn.238e9363
mov edi, eax
xor ebx, ebx
push 0x23921b70
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
call fcn.238e9363
push edi
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.238e9363
push 0x23921b6c
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.238e9363
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x23855300
mov esi, dword [esi]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.238e9363
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.238e9363
push ebx
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.238e9363
push ebx
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.238e9363
push ebx
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.238e9363
call fcn.23819efd
test eax, eax
je 0x2385544d
mov dword [ebp - 0x1a4], ebx
lea eax, [ebp - 0x1a4]
push eax
push 0x239219ec
push 4
push ebx
push 0x239219fc
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x23855437
push ecx
mov ecx, dword [ebp - 0x1a4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], esp
cmp eax, ebx
je 0x238553a6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.238b8e99
mov edi, eax
pop ecx
cmp edi, ebx
je 0x23855437
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x238553c2
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x19c]
push 3
mov dword [ebp - 0x1a0], ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.238e9363
push dword [ebp - 0x1a0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1a0], eax
je 0x2385540d
push dword [ebp - 0x1a0]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp - 0x1a4]
mov edx, dword [eax]
push ecx
push esi
push edi
push eax
call dword [edx + 0x78]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x8c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1a4]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x23855489
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x23855489
call fcn.238e9363
mov esi, eax
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
cmp esi, ebx
je 0x23855489
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x2385546e
lea eax, [ebp - 0x2c]
push 4
lea ecx, [ebp - 0x1a4]
push ecx
push 4
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.238e9363
call fcn.238040e1
ret
Function at 0x2386d1fc
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x2390a5e3
call fcn.2380155b
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.238d0b4f
xor esi, esi
push 0x44
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCR100.dll_memset
push 5
pop eax
push 0x10
mov word [ebp - 0x38], ax
xor edi, edi
lea eax, [ebp - 0x24]
push esi
inc edi
push eax
mov dword [ebp - 0x60], 0x23927c78
mov dword [ebp - 0x3c], edi
call sub.MSVCR100.dll_memset
add esp, 0x28
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x23984114]
push esi
push esi
push 0x10
push edi
push esi
push esi
push dword [ebp - 0x14]
call dword [eax + 0x54]
pop ecx
push eax
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
movzx edi, ax
cmp di, si
je 0x2386d285
push dword [ebp - 0x24]
call fcn.238e9363
pop ecx
movzx edi, ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.23803ba1
mov ax, di
call fcn.238015dd
ret
Function at 0x4a4214
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.004a32da
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
invalid
Function at 0x4184e8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x418515
call fcn.0040609e
mov dword [eax], esi
call fcn.0040608b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040b9a4
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418533
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004060b1
pop ecx
jmp 0x418510
test byte [esp + 0xc], 0x80
je 0x41853f
and eax, 0xfffffffe
jmp 0x418542
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x418524
xor eax, eax
pop esi
ret

Function at 0x1000f7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000f7ff
pop dword [ebp - 0x20]
mov eax, 0x1000f7ff
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xa2003ada
sub dword [ebp - 0x30], 0x53adf58f
mov dword [ebp - 0x2c], 0xa490585f
sub dword [ebp - 0x2c], 0x725d0c1a
mov dword [ebp - 0x28], 0x1be9f4c6
sub dword [ebp - 0x28], 0xcf9db098
mov dword [ebp - 0x24], 0xc4126300
sub dword [ebp - 0x24], 0xc4126300
lea eax, [ebp - 0x30]
push eax
mov eax, 0x414992c3
add eax, 0xceb81d4d
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xeffb2512
add dword [ebp - 0x30], 0x84774444
mov dword [ebp - 0x2c], 0x1749a414
add dword [ebp - 0x2c], 0x2a22bd61
mov dword [ebp - 0x28], 0xe654a166
sub dword [ebp - 0x28], 0x82e534fa
mov dword [ebp - 0x24], 0x4aa10307
sub dword [ebp - 0x24], 0x4aa10307
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b0ef
push 0
call eax
mov ecx, 0xffe2ef16
sub ecx, 0xffe2b3d4
xor edx, edx
add edx, eax
mov ebx, 0x5fa91cab
add ebx, 0xb0599355
add ebx, dword [ebp - 0x20]
mov esi, 0xf26a0f78
sub esi, 0xb3d5e554
add dword [ebp - 8], ecx
mov edi, dword [ebx]
add dword [ebp - 0x1c], 0x28b85f39
xor edi, esi
add dword [ebp - 0x1c], 0x102e2f13
mov dword [edx], edi
sub dword [ebp - 0x14], eax
add edx, 0x5c8d5cbf
add edx, 0xa372a345
add ebx, 0x622c1696
add ebx, 0x9dd3e96e
loop 0x1000f919
add eax, 0x6e6e615a
sub eax, 0x6e6d817f
mov ebx, eax
add eax, 5
mov ecx, 0x866e8abd
add ecx, 0x89917543
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40121b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x452048], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
sub esp, 0xc
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push 0
push ebx
push 0
push eax
call fcn.00404a6a
sub esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403331
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
or ebx, 0xffffffff
cmp dword [0x4642b0], 7
jg 0x4033b3
sub esp, 0xc
push 0x4642ac
call fcn.0040366a
mov ebx, dword [0x4642b0]
mov eax, dword [ebp + 0x10]
add esp, 0x10
cmp dword [0x4642a8], 0
mov dword [ebx*4 + 0x464300], eax
mov eax, dword [ebp + 8]
mov dword [ebx*8 + 0x4642c0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx*8 + 0x4642c4], eax
lea eax, [ebx + 1]
mov dword [0x4642b0], eax
jne 0x4033a9
push eax
push eax
push 0x4642a8
push 0
push 0
push 0x40107b
push 0x1000
push 0x42e458
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edx
pop ecx
mov dword [0x4642ac], 0
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x403603
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc

Function at 0x403629
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc