joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a72a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov ebx, ecx
mov al, byte [ebp + 8]
mov ecx, dword [0x5c3648]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test al, al
je 0x42a77a
xor esi, esi
inc esi
mov edi, 0x564cb2
mov ecx, ebx
push 0
push 0x437fe0
push esi
push str.NtMapViewOfSection
push edi
call fcn.0042a250
mov ecx, ebx
push esi
push 0x4381c0
push esi
push str.NtUnmapViewOfSection
push edi
call fcn.0042a250
jmp 0x42a784
cmp dword [ebx + 8], 0
je 0x42a8d2
mov eax, dword [ebx]
mov edi, dword [eax]
sub esp, 0x14
movdqa xmm0, xmmword [0x564c50]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebx + 8]
shl esi, 6
lea eax, [esi + 0x50]
mov dword [ebp - 0x70], eax
push eax
call fcn.0042a05c
add esp, 4
mov dword [ebp - 0x74], ebx
mov ebx, eax
mov eax, 0xfffff000
mov ecx, ebx
and ecx, eax
add ecx, dword [ebp - 0x6c]
and ebx, 0xfff
add esi, 0x104f
and esi, eax
push 0x40
push 0x1000
push esi
push ecx
mov dword [ebp - 0x6c], edi
push edi
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x42a81b
lea esi, [ebp - 0x60]
push str.thunk_base
push 0x184
push str..._.._sandbox_win_src_interception.cc
push esi
call fcn.0040e0f0
add esp, 0x10
mov ecx, esi
call fcn.0040e150
mov ecx, esi
call fcn.0040e160
add edi, ebx
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x60]
movdqu xmmword [esi + 8], xmm0
xor eax, eax
dec eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
movdqu xmmword [esi + 0x38], xmm0
movdqu xmmword [esi + 0x28], xmm0
movdqu xmmword [esi + 0x18], xmm0
mov ebx, dword [ebp - 0x70]
mov dword [esi], ebx
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x10
push 0xa8
push eax
push 0x5cdaf4
call fcn.004f5340
add esp, 0xc
mov ecx, dword [ebp - 0x74]
push esi
push ebx
push edi
call fcn.0042ab2a
mov ebx, eax
test eax, eax
jne 0x42a8d4
lea eax, [ebp - 0x64]
mov dword [eax], 0xffffffff
push eax
push 0x10
push esi
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x42a8d4
cmp dword [ebp - 0x64], 0x10
jne 0x42a8d4
lea eax, [ebp - 0x68]
mov dword [eax], 0xffffffff
push eax
push 0x20
push dword [ebp - 0x70]
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push 0xa8
push 0x5cdaf4
push str.g_originals
call fcn.00418468
mov ebx, eax
jmp 0x42a8d4
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2990
mov eax, ebx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42cb9c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x3c]
movzx edx, word [ecx + eax + 6]
test edx, edx
je 0x42cbe9
add eax, ecx
movzx esi, word [eax + 0x14]
lea edi, [eax + esi]
add edi, 0x18
xor ebx, ebx
xor esi, esi
test edi, edi
je 0x42cbe9
mov eax, dword [edi + ebx + 0xc]
test eax, eax
je 0x42cbd6
add eax, ecx
cmp eax, dword [ebp + 8]
jbe 0x42cbd8
jmp 0x42cbe1
xor eax, eax
add eax, dword [edi + ebx + 8]
cmp eax, dword [ebp + 8]
ja 0x42cbf2
inc esi
add ebx, 0x28
cmp esi, edx
jb 0x42cbc1
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
add edi, ebx
mov eax, edi
jmp 0x42cbeb

Function at 0x42cc9a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42cd7d
mov ebx, ecx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x42cd7d
cmp word [eax + edx + 0x14], 0x68
jb 0x42cd7d
mov esi, dword [ebx]
mov ecx, ebx
push dword [eax + edx + 0x78]
call dword [esi + 4]
test eax, eax
je 0x42cd7d
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x42ccf4
mov word [edi], ax
jmp 0x42cdaa
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x20]
call dword [eax + 4]
mov edx, eax
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x42cd7d
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
lea esi, [edx + eax*4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
mov ebx, edx
mov edi, esi
sub edi, ebx
mov eax, edi
sar eax, 2
shr edi, 0x1f
add edi, eax
and edi, 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebx + edi*2]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x42cd57
mov edx, dword [ebp - 0x1c]
cmp cl, byte [eax]
jne 0x42cd59
inc eax
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42cd4b
xor ecx, ecx
lea edi, [ebx + edi*2]
movzx ecx, cl
movzx eax, byte [eax]
mov edx, ecx
sub edx, eax
test edx, edx
lea edx, [edi + 4]
cmovg ebx, edx
cmovle esi, edi
cmp ecx, eax
je 0x42cd89
xor eax, eax
cmp ebx, esi
jne 0x42cd23
jmp 0x42cd7f
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x18]
push dword [esi + 0x24]
call dword [eax + 4]
sub edi, dword [ebp - 0x14]
sar edi, 1
movzx eax, word [eax + edi]
add ax, word [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov al, 1
jmp 0x42cd7f
Function at 0x42cf20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5c3648]
xor ecx, ebp
mov dword [ebp - 8], ecx
test eax, eax
je 0x42cf6c
push eax
push dword [ebp + 8]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x42cf6c
lea esi, [ebp - 0xc]
push str.success
push 0x20
push str..._.._base_rand_util_win.cc
push esi
call fcn.0040e0f0
add esp, 0x10
mov ecx, esi
call fcn.0040e150
mov ecx, esi
call fcn.0040e160
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f2990
add esp, 8
pop esi
pop ebp
ret
Function at 0x42f450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [esp + 0x278], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
movdqa xmmword [esp], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
lea edi, [esp + 0x70]
push 0x3aa
push str..._.._base_files_file_util_win.cc
push 0x565442
push edi
call fcn.00413620
add esp, 0x10
mov ecx, esp
push 0
push edi
call fcn.00420880
lea eax, [esp + 0x72]
push 0x206
push 0xff
push eax
call fcn.004f5340
add esp, 0xc
mov word [esp + 0x70], 0
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x103
ja 0x42f541
cmp word [esp + 0x70], 0
je 0x42f50f
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + 1]
cmp word [esp + ecx*2 + 0x72], 0
mov ecx, eax
jne 0x42f500
jmp 0x42f511
xor eax, eax
lea ebx, [esp + 0x40]
mov ecx, ebx
push eax
push edi
call fcn.0040c300
lea edi, [esp + 0x58]
mov ecx, ebx
push edi
call fcn.0040d620
mov ecx, dword [ebp + 8]
push edi
call fcn.0040c440
mov ecx, edi
call fcn.0040c3e0
mov ecx, ebx
call fcn.0040c3e0
cmp esi, 0x104
setb bl
mov ecx, esp
call fcn.004208a0
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.004f2990
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42f570
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov ebx, esp
push 0x3ba
push str..._.._base_files_file_util_win.cc
push 0x565457
push ebx
call fcn.00413620
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.00420880
cmp dword [edi + 0x14], 7
jbe 0x42f5e0
mov edi, dword [edi]
push edi
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov ecx, esi
call fcn.004208a0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004f2990
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43add0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [0x5cdc14]
cmp esi, 1
ja 0x43ae25
push 0x5cdc14
call fcn.004300e0
add esp, 4
test al, al
je 0x43ae1f
mov esi, 0x5cdc18
mov ecx, 0x5cdc18
call fcn.00419a40
push 0x5cdc14
push 0
push 0x5cdc18
push 0x5cdc14
call fcn.004301a0
add esp, 0x10
jmp 0x43ae25
mov esi, dword [0x5cdc14]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43afd6
mov eax, dword [0x5cdc14]
cmp eax, 1
ja 0x43ae79
push 0x5cdc14
call fcn.004300e0
add esp, 4
test al, al
je 0x43ae74
mov ecx, 0x5cdc18
call fcn.00419a40
push 0x5cdc14
push 0
push 0x5cdc18
push 0x5cdc14
call fcn.004301a0
add esp, 0x10
jmp 0x43ae79
mov eax, dword [0x5cdc14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x5cdc1c]
test eax, eax
jne 0x43ae9b
push 0x74
call fcn.004dfcf2
add esp, 4
mov ecx, eax
call fcn.0043a0e0
mov eax, dword [0x5cdc1c]
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0x10], eax
jbe 0x43aea9
mov ebx, dword [ebx]
test edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
je 0x43aec9
lea edx, [edi - 1]
mov ecx, edi
and ecx, 3
cmp edx, 3
jae 0x43aed0
mov edx, 0x811c9dc5
xor esi, esi
jmp 0x43af1a
mov edx, 0x811c9dc5
jmp 0x43af43
and edi, 0xfffffffc
mov edx, 0x811c9dc5
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebx + esi]
xor eax, edx
imul eax, eax, 0x1000193
movzx edx, byte [ebx + esi + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + esi + 3]
xor edx, eax
imul edx, edx, 0x1000193
add esi, 4
cmp edi, esi
jne 0x43aee0
test ecx, ecx
je 0x43af43
add esi, ebx
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi + edi]
xor eax, edx
imul edx, eax, 0x1000193
add edi, 1
cmp ecx, edi
jne 0x43af30
mov eax, dword [ebp - 0x10]
and edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov esi, dword [eax + edx*8 + 4]
cmp esi, ecx
je 0x43afa6
mov dword [ebp - 0x10], ecx
add edx, edx
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [esi + 0x18]
jne 0x43af95
nop word [eax + eax]
cmp dword [esi + 0x1c], 0xf
jbe 0x43af80
mov eax, dword [esi + 8]
jmp 0x43af83
lea eax, [esi + 8]
push ecx
push eax
push ebx
call fcn.004dfcf2
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x43afa3
cmp esi, edi
je 0x43afba
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 0x18]
je 0x43af70
jmp 0x43af95
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
je 0x43afba
add esi, 0x20
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0040e610
jmp 0x43afc3
mov edi, dword [ebp + 8]
mov dword [edi], 0
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00422760
jmp 0x43ae34
Function at 0x446ab8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, edx
mov esi, ecx
xor ebx, ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
sub esp, 0x18
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
movaps xmm0, xmmword [0x563d10]
movups xmmword [esp], xmm0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov ecx, esi
push eax
call fcn.00408414
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x446b06
push edi
push ebx
push ebx
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4477f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [esp + 0x38], eax
xor eax, eax
cmp dword [esi + 4], 0
setne al
mov ebx, ecx
sar ebx, 0x1f
add eax, eax
add eax, 4
push dword [ebp + 0xc]
push ecx
push ebx
mov dword [esp + 0x18], eax
push eax
push dword [esi]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x44786d
call fcn.00442400
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x44786d
call fcn.00442400
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
test edi, edi
je 0x4478b8
mov esi, dword [ebp + 0x14]
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x1c], xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x10]
push 0x1c
push eax
push edi
call dword [sym.imp.kernel32.dll_VirtualQuery]
mov ecx, dword [esp + 0x1c]
sub ecx, edi
add ecx, dword [esp + 0x14]
test eax, eax
cmove ecx, eax
mov dword [esi], ecx
mov bl, 1
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004f2990
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor ebx, ebx
jmp 0x4478a1
Function at 0x448bd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x448c49
mov ecx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x448bec
xor esi, esi
jmp 0x448c2e
and ebx, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edi, al
movzx edx, byte [ecx + esi]
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x5666c4]
movzx edx, al
movzx edi, byte [ecx + esi + 1]
xor edi, edx
shr eax, 8
xor eax, dword [edi*4 + 0x5666c4]
add esi, 2
cmp ebx, esi
jne 0x448c00
mov edx, dword [ebp + 0x10]
test dl, 1
je 0x448c49
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x5666c4]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44dc10
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x545fd2
call fcn.004f2a0c
mov ebx, ecx
mov dword [ebp - 0x54], ebx
call fcn.0044ca29
lea edi, [ebx - 4]
cmp dword [eax + 4], 0
ja 0x44dc7c
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55e434]
mov ecx, edi
call esi
call fcn.00467da0
call fcn.004dfcf2
test al, al
jne 0x44de0e
cmp dword [0x5ce6a8], 0
je 0x44de0e
xor ebx, ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push edi
push 0x44ce90
push ebx
push ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.kernel32.dll_CreateThread]
jmp 0x44de0e
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
push 0x56216f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.0044d64d
mov esi, dword [edi]
lea eax, [ebp - 0x28]
push 1
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x28]
push eax
call dword [0x55e434]
mov ecx, edi
call dword [esi + 0x28]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x44dcf8
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
cmp eax, 0x1000
jb 0x44dceb
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 0
push 0xf
pop esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], bl
jne 0x44dd3a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x56216f
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], esi
mov byte [ecx], bl
call fcn.0044d64d
push 1
mov byte [ebp - 4], 4
call fcn.0044c706
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004b01bf
push 0x56216f
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], bl
call fcn.0044d64d
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
mov esi, dword [edi - 4]
push eax
mov ecx, dword [esi + 0x28]
call dword [0x55e434]
lea ecx, [edi - 4]
call dword [esi + 0x28]
push dword [eax]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004dfcf2
lea ecx, [ebp - 0x50]
call fcn.004dfcf2
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x44ddcc
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 7
cmp eax, 0x1000
jb 0x44ddbf
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 0
jne 0x44de06
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x56216f
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
call fcn.0044d64d
push 2
mov byte [ebp - 4], 8
call fcn.0044c706
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004b01bf
lea ecx, [ebp - 0x4c]
call fcn.004dfcf2
call fcn.004f29b6
ret
Function at 0x4a40c3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x54cae8
call fcn.004f2a0c
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5cee38]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5ce5c8]
cmp eax, dword [ecx + 4]
jg 0x4a40fb
mov al, byte [0x5ce5c4]
call fcn.004f29b6
ret
mov esi, 0x5ce5c8
push esi
call fcn.004dfcf2
cmp dword [0x5ce5c8], 0xffffffff
pop ecx
jne 0x4a40f0
and dword [ebp - 4], 0
call fcn.004a4bae
test al, al
je 0x4a41cb
call fcn.004dfcf2
test al, al
je 0x4a41cb
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push str.bEnableAllRestrictedFeatures
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0044d64d
xor ebx, ebx
mov byte [ebp - 0x29], 0
inc ebx
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], ebx
je 0x4a41cb
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAcrobat_ReaderDCRestrictedSecuritySettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a41cb
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push ecx
xor edx, edx
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push edx
push edx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a41b8
cmp dword [ebp - 0x34], eax
setne byte [ebp - 0x29]
jmp 0x4a41b8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x29], 0
je 0x4a41cb
mov al, bl
jmp 0x4a41cf
xor al, al
jmp 0x4a41cf
and dword [ebp - 4], 0
mov byte [0x5ce5c4], al
test bl, 1
je 0x4a421c
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4a421c
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
cmp eax, 0x1000
jb 0x4a4211
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
jmp 0x4a4211
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
jmp 0x4a421c
push esi
call fcn.004dfcf2
pop ecx
jmp 0x4a40f0
Function at 0x4a4909
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x54cc02
call fcn.004f2a0c
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
call fcn.004dfcf2
pop ecx
cmp dword [ebp - 0x220], ebx
je 0x4a4a5d
push 0x57c7f8
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
push 0x57c7ac
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
push str.WebResources
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
lea eax, [ebp - 0x234]
push eax
push 1
push ebx
push dword [0x5c3268]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4a2a
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call fcn.004f5340
add esp, 0xc
mov dword [ebp - 0x238], edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
push dword [0x5c326c]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a4a1a
cmp dword [ebp - 0x23c], 1
jne 0x4a4a1a
push 0x57c7ac
lea ecx, [ebp - 0x230]
mov bl, 1
call fcn.0044d5ba
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x4a4a4a
push 0x57c7ac
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
push str.Resource0
lea ecx, [ebp - 0x230]
call fcn.0044d5ba
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004a4228
pop ecx
pop ecx
mov bl, al
jmp 0x4a4a6a
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x4a4a68
mov esi, dword [esi]
mov byte [esi], bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4a4aca
mov ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 3
cmp eax, 0x1000
jb 0x4a4ac1
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x234]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x238]
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
mov al, bl
call fcn.004f29b6
ret
Function at 0x4a4ad2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x54cc39
call fcn.004f2a0c
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
push str.bDisableDropboxOauthWhitelisting
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.0044d64d
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], ebx
mov bl, 1
je 0x4a4b64
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREAdobeAcrobat_ReaderDCRestrictedSecuritySettings
push 0x80000001
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4b64
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
push ecx
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 4
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a4b5b
cmp dword [ebp - 0x30], esi
sete bl
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4a4ba6
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 1
cmp eax, 0x1000
jb 0x4a4b9d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
mov al, bl
call fcn.004f29b6
ret

Function at 0x4a4bae
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x54cc6d
call fcn.004f2a0c
xor esi, esi
inc esi
cmp dword [0x5ce5c0], 0
jne 0x4a4c97
mov dword [0x5ce5c0], 2
mov dword [ebp - 0x14], 7
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
push eax
call fcn.004dfcf2
cmp dword [ebp - 0x18], 0
pop ecx
je 0x4a4c53
mov edi, 0x57c7ac
lea ecx, [ebp - 0x28]
push edi
call fcn.0044d5ba
push 0x57c7b0
lea ecx, [ebp - 0x28]
call fcn.0044d5ba
cmp dword [ebp - 0x18], 0
je 0x4a4c53
push edi
lea ecx, [ebp - 0x28]
call fcn.0044d5ba
push str.aaFEAT.api
lea ecx, [ebp - 0x28]
call fcn.0044d5ba
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [0x5ce5c0]
test eax, eax
cmovne ecx, esi
mov dword [0x5ce5c0], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4a4c97
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], esi
cmp eax, 0x1000
jb 0x4a4c8e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004dfcf2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.004dfcf2
pop ecx
pop ecx
cmp dword [0x5ce5c0], esi
sete al
call fcn.004f29b6
ret