joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1031b5d
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
lea edi, [esi + 0x40]
push edi
push 0
call sub.ntdll.dll_RtlComputeCrc32
push 1
lea ecx, [esi + 0x41]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 4
lea ecx, [ebp + 8]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 8
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
movzx ecx, byte [edi]
shl ecx, 1
push ecx
add esi, 0x42
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0x10]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 0xc

Function at 0x1031bbc
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x18
push esi
push 0
call sub.ntdll.dll_RtlComputeCrc32
cmp byte [0x10601f4], 2
jb 0x1031be3
test byte [esi + 0x31], 4
je 0x1031be3
push 0x18
jmp 0x1031be5
push 0x16
pop ecx
push ecx
add esi, 0x20
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0xc]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x1032666
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01021b06
xor ebx, ebx
push ebx
push 0x80
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.01028ce7
test al, al
je 0x1032797
cmp dword [ebp - 0x2c], ebx
je 0x10326a9
push 0x1001e80
jmp 0x1032791
lea eax, [ebp - 8]
push eax
push 4
pop esi
push esi
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01020527
cmp al, bl
je 0x103278c
cmp dword [ebp - 8], esi
jne 0x103278c
cmp byte [ebp + 8], bl
jne 0x1032710
push ebx
lea eax, [ebp - 8]
push eax
push esi
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0xc], 0x444b4843
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01021e44
cmp al, bl
je 0x1032797
cmp dword [ebp - 8], esi
je 0x1032788
jmp 0x1032797
call fcn.0100e017
mov esi, eax
cmp esi, ebx
je 0x1032797
push ecx
push ecx
mov eax, esp
lea ecx, [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0101f01e
cmp al, bl
jne 0x1032797
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0x444b4843
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], ebx
xor edi, edi
push ebx
lea eax, [ebp - 8]
push eax
push 0x10
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01021e44
cmp al, bl
je 0x1032797
cmp dword [ebp - 8], 0x10
jne 0x1032797
inc dword [ebp + 8]
add edi, esi
cmp dword [ebp + 8], 2
jb 0x1032757
mov bl, 1
jmp 0x1032797
push 0x1001e58
call sub.ntdll.dll_DbgPrint
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.01021b36
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc
Function at 0x1036042
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x10360a1
mov eax, dword [ecx + 0x60]
and dword [edx + 4], 0
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0100d682
test al, al
setne al
jmp 0x1036116
push edi
mov edi, dword [ecx + 0x64]
test edi, edi
jne 0x10360ad
xor al, al
jmp 0x1036115
mov cx, word [eax + 4]
test cx, cx
je 0x10360a9
push esi
movzx esi, cx
mov ecx, dword [edx + 4]
add ecx, esi
cmp ecx, edi
jb 0x10360c7
xor al, al
jmp 0x1036114
mov dword [edx + 4], ecx
add eax, esi
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0100d682
test al, al
setne al
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x1037769
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
push edi
mov edi, ecx
xor edx, edx
mov dx, word [edi + 0xe]
xor eax, eax
mov ax, word [edi + 0x10]
mov dword [ebp - 4], 0x20
movzx ecx, ax
sub dword [ebp - 4], eax
mov esi, edx
and esi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], esi
cmp word [ebp - 4], 0
jg 0x103778e
movzx eax, word [ebp - 8]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
cmp dword [esi + 8], 0
jne 0x10377d4
movzx eax, word [edi + 0x12]
shl eax, 2
push eax
call fcn.01012fd5
test eax, eax
mov dword [esi + 8], eax
je 0x10377f1
and dword [esi], 0
movzx eax, word [edi + 0x12]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp dword [esi], eax
jne 0x10377ff
movzx ecx, word [edi + 0x12]
add ecx, eax
shl ecx, 2
push ecx
push dword [esi + 8]
call fcn.010131d5
test eax, eax
jne 0x10377f5
xor al, al
jmp 0x103781d
mov dword [esi + 8], eax
movzx eax, word [edi + 0x12]
add dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [esi + 8]
inc dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
leave
ret 0x10
Function at 0x1037828
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov eax, ecx
xor esi, esi
mov si, word [eax + 0xe]
xor edx, edx
mov dx, word [eax + 0x10]
push edi
mov dword [ebp - 4], 0x20
movzx ecx, dx
sub dword [ebp - 4], edx
mov edi, esi
and edi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], edi
cmp word [ebp - 4], 0
jg 0x103784d
movzx ecx, word [ebp - 8]
mov eax, dword [eax + 8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
cmp ecx, 1
pop edi
pop esi
jb 0x103787b
dec ecx
mov dword [eax], ecx
leave
ret 8

Function at 0x103a2fd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0xb
pop edx
xor eax, eax
push esi
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103a30b
mov ecx, dword [ebp + 8]
push 2
pop edx
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103a31d
pop esi
pop ebp
ret 4
Function at 0x405c30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503563
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5513a4], 0
je 0x405c69
xor al, al
jmp 0x405d1e
push 0x40
call fcn.004051ca
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x405c8c
push 0
mov ecx, eax
call fcn.00405d40
jmp 0x405c8e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5513a4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405cc0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406300
mov dword [ebp - 4], 1
mov ecx, dword [0x5513a4]
lea edx, [ebp - 0x2c]
push edx
call fcn.00406570
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x405d08
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x407740
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x50d9b8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x407790
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x407794
xor eax, eax
jmp 0x4077ba
lea ecx, [ebp - 0x124]
push ecx
push edi
mov dword [ebp - 0x124], ebx
call eax
test eax, eax
jne 0x4077af
mov eax, 2
jmp 0x4077ba
xor eax, eax
cmp dword [ebp - 0x124], ebx
setne al
push 0x118
lea edx, [ebp - 0x11c]
push ebx
push edx
mov dword [esi + 0x24], eax
mov dword [ebp - 0x120], 0x11c
call fcn.004e15a0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp eax, 5
jne 0x40781a
cmp ecx, ebx
jle 0x407846
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x407846
cmp eax, 6
jne 0x40783e
sub ecx, ebx
je 0x407836
dec ecx
je 0x40782e
mov dword [esi], 5
jmp 0x407846
mov dword [esi], 4
jmp 0x407846
mov dword [esi], 3
jmp 0x407846
jle 0x407846
mov dword [esi], 6
movzx ecx, word [ebp - 0xc]
movzx edx, word [ebp - 0xa]
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x148]
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [ebp - 0x148], ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x148]
cmp eax, ebx
je 0x4078c0
cmp eax, 6
je 0x4078b7
cmp eax, 9
jne 0x4078c3
mov dword [esi + 0x18], 1
jmp 0x4078c3
mov dword [esi + 0x18], 2
jmp 0x4078c3
mov dword [esi + 0x18], ebx
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x12c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x20], edx
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x408b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x804]
push 0x400
push ecx
mov dword [ebp - 0x814], edx
xor bl, bl
call fcn.00408c10
add esp, 0x14
test eax, eax
js 0x408bf1
lea edx, [ebp - 0x808]
push edx
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push esi
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408bf1
lea ecx, [ebp - 0x818]
push ecx
mov ecx, dword [ebp - 0x808]
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x810]
push eax
xor esi, esi
push esi
push edi
push ecx
mov dword [ebp - 0x810], esi
mov dword [ebp - 0x80c], esi
mov dword [ebp - 0x818], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408be4
cmp dword [ebp - 0x810], 4
jne 0x408be4
mov eax, dword [ebp - 0x814]
xor edx, edx
cmp dword [ebp - 0x80c], esi
mov bl, 1
setne dl
mov dword [eax], edx
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x40a740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_Acrobat11.0Security
push 0x80000002
mov esi, 1
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a7b1
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x50f7c4
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a7a7
cmp dword [ebp - 8], eax
jne 0x40a7a7
xor esi, esi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a7c0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push edi
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call esi
test eax, eax
je 0x40a7e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a815
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
jne 0x40a815
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call esi
test eax, eax
je 0x40a80e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a815
call edi
cmp eax, 2
je 0x40a850
push 0x551c20
push 0x208
call fcn.0041867c
mov edi, eax
add esp, 8
test edi, edi
je 0x40a850
push 0x208
push 0
push edi
call fcn.004e15a0
push edi
call fcn.004458e0
add esp, 0x10
test eax, eax
je 0x40a856
push edi
call fcn.004188d7
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x40a868
add eax, 0x3e8
push 1
push eax
push edi
call fcn.00445600
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x40a8b0
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 2
je 0x40a8af
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 1
jne 0x40a89c
push 0
push 0xce
jmp 0x40a8a6
test ebx, ebx
jne 0x40a8af
push ebx
push 0xcc
push edi
call fcn.00445600
add esp, 0xc
pop ebx
push edi
call fcn.004188d7
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40ac20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov ebx, eax
test ebx, ebx
je 0x40ace1
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e15a0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40acf0
cmp dword [ebp - 0x11c], 5
jne 0x40acf0
mov eax, dword [ebp - 0x118]
cmp eax, 1
je 0x40ac96
cmp eax, 2
jne 0x40acf0
push esi
push edi
mov dword [ebp - 0x124], 2
call fcn.004e2121
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
test esi, esi
je 0x40acc7
push 4
lea edx, [ebp - 0x124]
push edx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test edi, edi
je 0x40acdd
push 4
lea eax, [ebp - 0x124]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4100f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x41010c
mov eax, dword [eax]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41017a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
push esi
mov esi, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], esi
jb 0x41013f
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp + 0xc]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41016f
cmp dword [ebp + 0xc], esi
jne 0x41016f
cmp dword [ebp - 8], esi
jne 0x41016f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ecx
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x410305
cmp eax, 0x104
jae 0x410305
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4102d6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.00406300
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x412420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0xffffc000
push 0xffffc000
push 0x10000000
push 0x50d97c
push str.EDIT
push 0x80
call fcn.00412540
cmp byte [ebp + 8], 0
mov dword [0x550364], eax
jne 0x412471
test eax, eax
je 0x412471
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
Function at 0x415460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50684b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x54e938]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x208
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
mov dword [ebp - 0x240], ebx
push ecx
mov dword [ebp - 0x248], edi
mov byte [ebp - 0x239], bl
mov word [ebp - 0x21c], ax
call fcn.004e15a0
add esp, 0xc
push 0x2c
xor edx, edx
push str.SoftwareAdobeAcrobat_Reader11.0Installer
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.00406300
mov eax, dword [0x5513c0]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x415549
lea edi, [eax + 4]
push edi
mov dword [ebp - 0x240], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x240]
mov cl, byte [eax + 0x51]
push edi
mov byte [ebp - 0x23a], cl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x23a], bl
je 0x415543
push 0x2b
push str.SoftwareAdobeAdobe_Acrobat11.0Installer
lea ecx, [ebp - 0x238]
call fcn.00406300
mov edi, dword [ebp - 0x248]
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x41555e
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x244]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4155f1
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push ebx
push str.Path
push edx
mov dword [ebp - 0x240], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4155d6
cmp word [ebp - 0x21c], bx
je 0x4155d6
cmp edi, ebx
je 0x4155cf
cmp word [edi], bx
je 0x4155cf
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4155d6
mov byte [ebp - 0x239], 1
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x21c]
cmp byte [ebp - 0x239], bl
jne 0x4155f6
mov edx, 0x50d97c
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415610
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
cmp dword [ebp - 0x224], 8
jb 0x415640
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, esi
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 int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x428b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x428c2d
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x428c2d
cmp byte [ebp + 0xc], 0
je 0x428bf8
push 0x5270e8
push 0x105
lea edx, [ebp - 0x210]
push edx
call fcn.00429b90
test eax, eax
js 0x428c2d
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428c14
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
jmp 0x428c46
xor edx, edx
push edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
push 0x50d97c
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x428e30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp ebx, edi
je 0x428ea6
cmp word [ebx], di
je 0x428ea6
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x428ea6
xor eax, eax
mov dword [ebp + 0xc], eax
cmp esi, eax
jbe 0x428e79
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00428f00
mov edi, dword [ebp - 0x10]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec esi
cmp eax, esi
je 0x428ea1
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x428ea6
push 0
push eax
push edi
call fcn.004e0c30
add esp, 0xc
mov edx, 0x50d97c
jmp 0x428eaf
cmp edi, dword [ebp - 0xc]
jne 0x428ead
mov edx, 0x50d97c
jmp 0x428eaf
mov edx, edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, edx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428ed0
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
test edi, edi
je 0x428ef5
push edi
call fcn.00406ec9
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret