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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c03c8
cmp edx, dword [eax]
je 0x4b90c3
add eax, 8
inc ecx
cmp eax, 0x4c0458
jl 0x4b90b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c03c8]
jne 0x4b91f1
mov eax, dword [0x4c4d60]
cmp eax, 1
je 0x4b91cb
test eax, eax
jne 0x4b90f4
cmp dword [0x4c02f4], 1
je 0x4b91cb
cmp edx, 0xfc
je 0x4b91f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b912b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b9a80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b9f10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b916e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b9f10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be73c
push edi
call fcn.004bbde0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b9a80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9a90
lea eax, [ebp - 0xa0]
push 0x4be71c
push eax
call fcn.004b9a90
push dword [esi + 0x4c03cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9a90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bbd54
add esp, 0x2c
pop edi
jmp 0x4b91f1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c03cc]
push 0
push eax
push dword [esi]
call fcn.004b9f10
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 0x4015cb
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x401af1
mov dword [esp], 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x42406c], eax
sub esp, 0x10
leave
ret
push ebp
mov ebp, esp
sub esp, 8
call fcn.0040156d
leave
jmp 0x40159c

Function at 0x4016fe
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov eax, 0x281c
mov ebp, esp
push edi
push esi
push ebx
call fcn.0040c600
xor esi, esi
sub esp, eax
mov dword [esp], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
push edi
test eax, eax
je 0x4017b6
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push ebx
test eax, eax
je 0x401752
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
push ecx
jne 0x40175f
mov dword [esp], edi
call esi
push edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
lea ebx, [ebp - 0x2818]
mov dword [esp + 8], 0x1400
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strncpy
mov dword [esp], edi
lea edi, [ebp - 0x1418]
call esi
push eax
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov ecx, 0x500
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1418]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._CB:_s_
mov dword [esp + 4], 0x1400
mov dword [esp], eax
call fcn.00417760
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4017be
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov eax, 0x811c9dc5
mov ebp, esp
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
inc ecx
test dl, dl
je 0x4017db
xor eax, edx
imul eax, eax, 0x1000193
jmp 0x4017c9
pop ebp
ret

Function at 0x40b8d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00416f50
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00416f50
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x40b930
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x4240d8]
test esi, esi
jle 0x40ba50
mov eax, dword [0x4240dc]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x40b964
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40b9e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x40b950
mov dword [esp], ebx
call fcn.0040c330
mov edi, eax
test eax, eax
je 0x40ba77
mov eax, dword [0x4240dc]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0040c470
mov edx, dword [0x4240dc]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40ba57
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x40b9e0
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x40b9f0
add dword [0x4240d8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x4240dc]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40b9e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0040b8d0
lea esi, cs:[esi]
nop
xor esi, esi
jmp 0x40b96e
mov eax, dword [0x4240dc]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0040b8d0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0040b8d0
lea esi, cs:[esi]
nop

Function at 0x40bfa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4240f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4240ec]
sub esp, 4
test ebx, ebx
je 0x40bff5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x40bfee
test eax, eax
jne 0x40bfee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40bfd0
mov dword [esp], 0x4240f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40c330
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x40c355
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x40c360
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x40c355
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x40c3a8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40c39e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40c3aa
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x40c390
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4047f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
cmp byte [esi], 0
jne 0x404809
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov byte [eax], 0
ret 8
push 0x400
call fcn.00446cbb
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x404843
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
ret 8
xor ecx, ecx
lea edx, [ebp + 0x184]
lea eax, [ecx + 0x1a]
mov dword [edx - 0x80], ecx
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x1a
jl 0x40484b
xor ecx, ecx
lea edx, [ebp + 0xc0]
lea eax, [ecx + 0x34]
inc ecx
mov dword [edx], eax
add edx, 4
cmp ecx, 0xa
jl 0x404864
mov edi, dword [esp + 0x14]
mov dword [ebp + 0xac], 0x3e
mov dword [ebp + 0xbc], 0x3f
mov cl, byte [esi]
test cl, cl
je 0x4048a7
cmp cl, 0x20
je 0x4048a4
cmp cl, 9
je 0x4048a4
cmp cl, 0xd
je 0x4048a4
cmp cl, 0xa
jne 0x4048a7
inc esi
jmp 0x404890
push ebx
mov cl, byte [esi]
inc esi
cmp cl, 0x3d
mov byte [esp + 0x18], cl
je 0x4049ae
test cl, cl
je 0x4049ae
mov ecx, dword [esp + 0x18]
and ecx, 0xff
mov ebx, dword [ebp + ecx*4]
mov cl, byte [esi]
test cl, cl
je 0x4048eb
cmp cl, 0x20
je 0x4048e8
cmp cl, 9
je 0x4048e8
cmp cl, 0xd
je 0x4048e8
cmp cl, 0xa
jne 0x4048eb
inc esi
jmp 0x4048d4
mov cl, byte [esi]
inc esi
cmp cl, 0x3d
mov byte [esp + 0x18], cl
je 0x4049ae
test cl, cl
je 0x4049ae
mov edx, dword [esp + 0x18]
and edx, 0xff
shl bl, 2
mov edx, dword [ebp + edx*4]
mov eax, edx
sar eax, 4
or al, bl
mov byte [edi], al
mov cl, byte [esi]
inc edi
test cl, cl
je 0x40493b
cmp cl, 0x20
je 0x404938
cmp cl, 9
je 0x404938
cmp cl, 0xd
je 0x404938
cmp cl, 0xa
jne 0x40493b
inc esi
jmp 0x404924
mov cl, byte [esi]
inc esi
cmp cl, 0x3d
mov byte [esp + 0x18], cl
je 0x4049ae
test cl, cl
je 0x4049ae
mov ecx, dword [esp + 0x18]
and ecx, 0xff
shl dl, 4
mov ebx, dword [ebp + ecx*4]
mov eax, ebx
sar eax, 2
or al, dl
mov byte [edi], al
mov cl, byte [esi]
inc edi
test cl, cl
je 0x404983
cmp cl, 0x20
je 0x404980
cmp cl, 9
je 0x404980
cmp cl, 0xd
je 0x404980
cmp cl, 0xa
jne 0x404983
inc esi
jmp 0x40496c
mov cl, byte [esi]
inc esi
cmp cl, 0x3d
mov byte [esp + 0x18], cl
je 0x4049ae
test cl, cl
je 0x4049ae
mov ecx, dword [esp + 0x18]
and ecx, 0xff
shl bl, 6
mov dl, byte [ebp + ecx*4]
or dl, bl
mov byte [edi], dl
inc edi
jmp 0x4048a8
push ebp
mov byte [edi], 0
call fcn.00446bd2
add esp, 4
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x407790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46951a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x48b9d4]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], eax
xor ebx, ebx
mov dword [esi + 0xc], 0x46f980
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 1
mov dword [esi + 0x34], ebx
call fcn.0045c38b
lea edi, [esi + 0x60]
push ebx
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0043dcc1
mov dword [edi], 0x46f968
add edi, 8
push edi
call dword [0x46f2cc]
mov ecx, dword [0x48b9d4]
mov dword [esi + 0x80], ecx
lea ecx, [esi + 0x84]
mov byte [esp + 0x18], 4
call fcn.0045b308
mov ecx, dword [esp + 0x10]
mov eax, 0xff0000
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi], 0x46f960
mov dword [esi + 0x20], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], 1
mov byte [esi + 0x48], 1
mov dword [esi + 0x24], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x38], 0x10000
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x28], 0xe7e7e7
mov dword [esi + 0x2c], 0xffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40a9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469a6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x48b9d4]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push 0x400
push edx
push 0
push 0x1100
mov dword [esp + 0x30], 1
call dword [0x46f1d8]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x481358
push ecx
call fcn.00459e14
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
call dword [0x46f2fc]
lea ecx, [esp + 4]
call fcn.00459e27
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.0045ca55
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0045cce0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x40e130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov edx, dword [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
cmp ecx, eax
push edi
mov dword [esp + 0xc], ebx
jle 0x40e1a1
mov esi, dword [esp + 0x30]
mov al, byte [esp + 0x30]
mov edi, 0x48fd70
or ecx, 0xffffffff
mov byte [esi], al
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x48fd70
mov ecx, esi
call fcn.00410a80
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov esi, dword [edx + 0xc]
sub eax, ecx
inc eax
add esi, ecx
mov cl, byte [esp + 0x30]
push ebp
mov ebp, eax
mov byte [esp + 0x14], cl
push 1
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004110c0
test al, al
je 0x40e1ee
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push 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 + 0x18]
call fcn.004110a0
mov esi, dword [esp + 0x34]
mov al, byte [esp + 0x14]
lea edx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x46fd30]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00410ea0
mov ecx, dword [esp + 0x18]
pop ebp
cmp ecx, ebx
je 0x40e250
mov al, byte [ecx - 1]
cmp al, bl
je 0x40e246
cmp al, 0xff
je 0x40e246
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0045bf59
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x411e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a0d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
xor eax, eax
mov dword [esp + 4], eax
cmp ecx, eax
mov dword [esp + 0x20], 1
je 0x411ebd
lea eax, [ecx + 4]
push esi
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.0045ca55
mov edi, 0x46f95c
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00411dd0
mov ecx, dword [esp + 0x34]
cmp eax, 0xffffffff
mov edx, dword [ecx - 8]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 8]
je 0x411f67
sub ecx, edx
lea edx, [esp + 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00459978
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 3
call fcn.0045ca55
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
neg eax
sbb eax, eax
mov byte [esp + 0x28], 4
and eax, ecx
lea ecx, [esp + 0x14]
push eax
call fcn.0045ce19
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 3
and ecx, edx
mov dword [esp + 0x18], edi
call fcn.0045cce0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0045cce0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14]
and eax, ecx
lea ecx, [esi + 4]
push eax
call fcn.0045ca55
mov dword [esi], edi
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 1
and ecx, edx
mov dword [esp + 0x10], edi
call fcn.0045cce0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.0045cce0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x412e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a23e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x46fe60
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x30]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 2
call fcn.004636e4
lea ecx, [esi + 0x28]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 3
call fcn.004636e4
lea ecx, [esi + 0x20]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov dword [esp + 0x14], 4
call fcn.004636e4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x413c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a412
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push edi
push 0x38
mov dword [esp + 0x14], esi
mov byte [esi + 4], al
call fcn.0045bf30
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov cl, byte [esp + 0x13]
push 0x38
mov dword [esp + 0x1b4], ebx
mov byte [esi + 0x10], cl
call fcn.0045bf30
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov edx, dword [0x48b9d4]
mov dword [esi + 0x20], edx
lea edi, [esi + 0x30]
mov byte [esp + 0x1ac], 2
mov ecx, edi
call fcn.0045b308
lea ecx, [esi + 0x44]
mov byte [esp + 0x1ac], 3
call fcn.0045b308
mov eax, dword [0x48b9d4]
mov dword [esi + 0x58], eax
mov ecx, dword [0x48b9d4]
mov dword [esi + 0x5c], ecx
lea edx, [esp + 0x14]
mov byte [esp + 0x1ac], 6
push edx
push 0x202
mov dword [esi], 0x46fe68
call fcn.0043d1e0
push edi
mov ecx, esi
call fcn.0042abb0
mov ecx, esi
call fcn.004140e0
mov ecx, dword [esp + 0x1a4]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret

Function at 0x413c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a412
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push edi
push 0x38
mov dword [esp + 0x14], esi
mov byte [esi + 4], al
call fcn.0045bf30
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov cl, byte [esp + 0x13]
push 0x38
mov dword [esp + 0x1b4], ebx
mov byte [esi + 0x10], cl
call fcn.0045bf30
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov edx, dword [0x48b9d4]
mov dword [esi + 0x20], edx
lea edi, [esi + 0x30]
mov byte [esp + 0x1ac], 2
mov ecx, edi
call fcn.0045b308
lea ecx, [esi + 0x44]
mov byte [esp + 0x1ac], 3
call fcn.0045b308
mov eax, dword [0x48b9d4]
mov dword [esi + 0x58], eax
mov ecx, dword [0x48b9d4]
mov dword [esi + 0x5c], ecx
lea edx, [esp + 0x14]
mov byte [esp + 0x1ac], 6
push edx
push 0x202
mov dword [esi], 0x46fe68
call fcn.0043d1e0
push edi
mov ecx, esi
call fcn.0042abb0
mov ecx, esi
call fcn.004140e0
mov ecx, dword [esp + 0x1a4]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
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 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x1cd8409b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, str._aan
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x614712de
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219