joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10180025
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10172d60
mov eax, dword [0x1020f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.101893d6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10180067
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101801c3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10172a80
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10219da0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10190387
mov ecx, dword [esi*4 + 0x10219da0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x101801bc
cmp eax, dword [ecx + edi + 0x24]
jne 0x101801bc
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101801bc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10190387
add esp, 0x14
test edx, edx
jl 0x101801bc
jg 0x10180132
test eax, eax
jb 0x101801bc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101801bc
jl 0x1018014c
cmp dword [ebp - 0x1008], eax
ja 0x101801bc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1018016a
test ebx, ebx
je 0x101801a3
cmp ecx, edi
jae 0x101801a3
mov al, byte [ecx]
cmp al, 0xd
jne 0x10180184
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10180190
cmp byte [ecx + 1], 0xa
jne 0x10180190
inc ecx
jmp 0x10180190
movzx eax, al
movsx eax, byte [eax + 0x1020f458]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1018016a
cmp edx, ebx
jne 0x1018016a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101801c1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10172731
leave
ret

Function at 0x10189bc8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10189c07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10189c07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10189c07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10189c07
cmp dword [ecx + 0x74], 0xe
jbe 0x10189c07
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1019841b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1020f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1018b802
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1018b802
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10198492
cmp word [ecx], dx
je 0x10198492
mov eax, dword [0x101e79e4]
push edi
dec eax
push eax
push 0x101e78d0
call fcn.101983ba
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10198505
cmp word [eax], dx
je 0x10198505
mov eax, dword [edi]
test eax, eax
je 0x101984b6
cmp word [eax], dx
je 0x101984b6
lea eax, [ebp - 0x10]
push eax
call fcn.10197d9d
jmp 0x101984bf
lea eax, [ebp - 0x10]
push eax
call fcn.10197e38
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1019852f
mov eax, dword [0x101e78cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101e75c0
call fcn.101983ba
add esp, 0xc
test al, al
je 0x1019852f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101984fa
cmp word [eax], di
je 0x101984fa
lea eax, [ebp - 0x10]
push eax
call fcn.10197d9d
pop ecx
jmp 0x10198531
lea eax, [ebp - 0x10]
push eax
call fcn.10197e38
jmp 0x101984f7
mov eax, dword [edi]
test eax, eax
je 0x1019851c
cmp word [eax], dx
je 0x1019851c
lea eax, [ebp - 0x10]
push eax
call fcn.10197d52
pop ecx
jmp 0x1019852f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101985fa
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1019823f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101985fa
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101985fa
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101985fa
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10198587
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1018d8c0
test ebx, ebx
je 0x101985f5
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1018d8c0
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101985fa
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101985fa
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10181573
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101985fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10172731
leave
ret
Function at 0x6b861af0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6b8627a0
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.6b8627a0
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 0x6b861b50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6b87e058]
test esi, esi
jle 0x6b861c70
mov eax, dword [0x6b87e05c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6b861b84
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6b861c07
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6b861b70
mov dword [esp], ebx
call fcn.6b862290
mov edi, eax
test eax, eax
je 0x6b861c97
mov eax, dword [0x6b87e05c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6b8623d0
mov edx, dword [0x6b87e05c]
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 0x6b861c77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6b861c00
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6b861c10
add dword [0x6b87e058], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6b87e05c]
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 0x6b861c00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6b861af0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6b861b8e
mov eax, dword [0x6b87e05c]
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.6b861af0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6b861af0
lea esi, [esi]
nop
Function at 0x6b861f10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6b87e068
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6b87e060]
sub esp, 4
test ebx, ebx
je 0x6b861f65
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
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6b861f5e
test esi, esi
je 0x6b861f5e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6b861f40
mov dword [esp], 0x6b87e068
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6b862290
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6b840000], 0x5a4d
jne 0x6b8622b5
mov ecx, dword [0x6b84003c]
cmp dword [ecx + 0x6b840000], 0x4550
lea edx, [ecx + 0x6b840000]
je 0x6b8622c0
ret
cmp word [ecx + 0x6b840018], 0x10b
jne 0x6b8622b5
push esi
movzx eax, word [ecx + 0x6b840014]
push ebx
movzx esi, word [ecx + 0x6b840006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6b840000
test esi, esi
je 0x6b862308
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6b8622fe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6b86230a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6b8622f0
xor eax, eax
pop ebx
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x461a6fbf
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x6e210125
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3208301d
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4fe014f3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401477
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x40151f
mov edi, dword [ebp + 0x14]
push edi
call fcn.00403e78
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
push ebx
push ecx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x40151f
cmp dword [ebp + 0x10], ebx
je 0x4014f3
mov esi, dword [ebp + 0x18]
push dword [esi]
call fcn.00403e78
pop ecx
mov dword [ebp - 8], eax
push edi
push dword [ebp - 4]
push esi
push eax
call fcn.004015e0
test eax, eax
jne 0x40151f
jmp 0x4014fe
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [esi], edi
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [esi]
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x40151f
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0xc], ebx
je 0x40152d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x40153b
push dword [ebp - 4]
call fcn.00403e10
pop ecx
cmp dword [ebp + 0x10], ebx
je 0x40154e
cmp dword [ebp - 8], ebx
je 0x40154e
push dword [ebp - 8]
call fcn.00403e10
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b4b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
jmp 0x4b4b9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b4ba1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4b90
mov eax, 1
add ebx, ebx
jne 0x4b4bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b4bc4
jne 0x4b4be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4be3
dec eax
add ebx, ebx
jne 0x4b4bd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b4ba8
add ebx, ebx
jne 0x4b4bdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b4c35
xor ecx, ecx
sub eax, 3
jb 0x4b4bfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b4c6a
sar eax, 1
mov ebp, eax
jmp 0x4b4c06
add ebx, ebx
jne 0x4b4c06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4bd4
inc ecx
add ebx, ebx
jne 0x4b4c14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4bd4
add ebx, ebx
jne 0x4b4c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b4c16
jne 0x4b4c32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b4c16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b4c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b4c46
jmp 0x4b4b96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b4c54
add edi, ecx
jmp 0x4b4b96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b4c72
cmp byte [edi], 0x11
jne 0x4b4c72
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 0x4b4c77
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b4cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb71e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb733c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b4ca4
mov ecx, edi
jns 0x4b4cd3
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 + 0xb7340]
or eax, eax
je 0x4b4ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b4cc1
call dword [esi + 0xb7350]
mov ebp, dword [esi + 0xb7344]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b4d23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x402090
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [edi]
lea ebx, [esi + edx]
mov edx, dword [ebp + 8]
mov al, byte [edi + 4]
mov dword [ebp - 4], ebx
sub ecx, 0
je 0x4020c2
sub ecx, 1
je 0x4020e1
sub ecx, 1
je 0x402114
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ebx
je 0x402192
mov al, byte [esi]
inc esi
movzx ecx, al
and al, 3
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
inc edx
shl al, 4
cmp esi, ebx
je 0x40217d
mov bl, byte [esi]
inc esi
mov cl, bl
sar cl, 4
and cl, 0xf
or al, cl
cmp al, 0x3f
jle 0x4020fe
mov al, 0x3d
jmp 0x402107
movsx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov al, bl
mov ebx, dword [ebp - 4]
and al, 0xf
inc edx
shl al, 2
cmp esi, ebx
je 0x402168
mov ch, byte [esi]
inc esi
mov cl, ch
sar cl, 6
and cl, 3
or al, cl
cmp al, 0x3f
jle 0x40212d
mov al, 0x3d
jmp 0x402136
movsx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov al, ch
and al, 0x3f
movsx ecx, al
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
add edx, 2
inc dword [edi + 8]
cmp dword [edi + 8], 0x12
jne 0x4020c2
mov byte [edx], 0xa
inc edx
mov dword [edi + 8], 0
jmp 0x4020c2
sub edx, dword [ebp + 8]
mov byte [edi + 4], al
mov eax, edx
mov dword [edi], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub edx, dword [ebp + 8]
mov byte [edi + 4], al
mov eax, edx
mov dword [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub edx, dword [ebp + 8]
mov byte [edi + 4], al
mov eax, edx
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cd90
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0
mov dword [edi], vtable.SingleInstanceChecker.0
mov byte [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00475c60
push 0x1f
push 0x4dea40
mov esi, eax
call fcn.00474f10
add esp, 0xc
mov ecx, esi
push eax
call fcn.00475840
call fcn.004750d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
push eax
mov ecx, esi
call fcn.00475840
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 8], eax
test eax, eax
je 0x40cdff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ce03
mov byte [edi + 4], 1
mov eax, edi
pop edi
pop esi
ret

Function at 0x40d270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4eef3c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x220], 1
call fcn.0048cf40
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x218]
push eax
push 0x20119
push 0
push str.SOFTWAREAdobeVulcan5.0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d315
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.AdobeIPCBroker
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
test eax, eax
je 0x40d328
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488c1c
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x214], 0
jne 0x40d33c
xor ecx, ecx
jmp 0x40d354
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d345
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.0040bb60
push esi
call fcn.0040d140
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00488c1c
mov esp, ebp
pop ebp
ret 4

Function at 0x40d610
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0
xor bl, bl
call fcn.00475c60
push 0x1f
push 0x4dea40
mov esi, eax
call fcn.00474f10
add esp, 0xc
mov ecx, esi
push eax
call fcn.00475840
call fcn.004750d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
push eax
mov ecx, esi
call fcn.00475840
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x40d66d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40d66f
mov bl, 1
test esi, esi
je 0x40d67a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x413010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8d58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4eef3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41313e
cmp byte [ebx + 0x3d], 0
je 0x41313e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x413069
xor al, al
jmp 0x413140
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00412d90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4130cf
sub eax, 1
je 0x4130d3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x413126
xor bl, bl
jmp 0x413128
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x413108
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004978b3
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4130cb
cmp byte [ebx + 0x3d], 0
je 0x413126
test esi, esi
jne 0x413091
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00412e60
jmp 0x41308e
mov bl, 1
cmp ecx, 0x10
jb 0x41313a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403650
mov al, bl
jmp 0x413140
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488c1c
mov esp, ebp
pop ebp
ret

Function at 0x413470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b76e6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4eef3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00488c2d
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0048a0a9
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret