joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
mov eax, str.enable_dcheck
mov dword [ebp - 4], 0xf
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443380
sub eax, edx
push eax
push str.enable_dcheck
lea ecx, [ebp - 0x1c]
call fcn.00401bd1
lea eax, [ebp - 0x1c]
push eax
call fcn.0043edf0
mov ecx, eax
call fcn.0043e210
cmp dword [ebp - 4], 0x10
mov byte [0x50c21c], al
jb 0x4433be
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048e006
add esp, 4
mov eax, dword [0x50c22c]
cmp eax, ebx
je 0x4433d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50c22c], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [0x50c224], edx
mov dword [0x507dac], eax
cmp eax, ebx
je 0x4434b5
cmp eax, 2
je 0x4434b5
mov ecx, dword [0x50c228]
cmp ecx, ebx
jne 0x443426
push 0x1c
call fcn.0048e1ac
add esp, 4
xor ecx, ecx
cmp eax, ebx
je 0x443420
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], cx
mov ecx, eax
mov dword [0x50c228], ecx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x443430
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00401cd6
pop edi
pop esi
cmp dword [ebp + 0x14], ebx
jne 0x443467
mov eax, dword [0x50c228]
cmp dword [eax + 0x18], 8
jb 0x44345d
mov eax, dword [eax + 4]
jmp 0x443460
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x50c224], ebx
jne 0x44347e
call fcn.00443250
call fcn.004430e0
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x50c240], ebx
jne 0x4434b0
push 0x18
call fcn.0048e1ac
add esp, 4
cmp eax, ebx
je 0x4434aa
mov ecx, eax
call fcn.004478e0
mov dword [0x50c240], eax
call fcn.004430e0
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x50c240], ebx
call fcn.004430e0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4441f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
test esi, esi
jbe 0x44420f
call fcn.00446560
cmp eax, 2
jl 0x44420f
mov edi, 0x10000
jmp 0x444211
xor esi, esi
mov eax, dword [ebp + 0xc]
push 0
push edi
push eax
push 0x444130
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x10]
xor edx, edx
test eax, eax
setne dl
pop edi
mov dword [ecx], eax
mov al, dl
pop esi
pop ebp
ret

Function at 0x4464b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00446400

Function at 0x446560
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x50c254], 0
jne 0x446615
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
mov ecx, 1
cmp eax, 5
jne 0x4465d6
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x4465ce
sub eax, ecx
je 0x4465c2
mov dword [0x50c250], 3
jmp 0x44660f
mov dword [0x50c250], 2
jmp 0x44660f
mov dword [0x50c250], ecx
jmp 0x44660f
cmp eax, 6
jne 0x446603
cmp byte [ebp - 6], cl
je 0x4465ec
mov dword [0x50c250], 5
jmp 0x44660f
xor edx, edx
cmp dword [ebp - 0x118], edx
setne dl
lea edx, [edx + edx + 4]
mov dword [0x50c250], edx
jmp 0x44660f
jbe 0x44660f
mov dword [0x50c250], 6
mov byte [0x50c254], cl
mov ecx, dword [ebp - 4]
mov eax, dword [0x50c250]
xor ecx, ebp
call fcn.0048e25d
mov esp, ebp
pop ebp
ret

Function at 0x446c60
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x446c70
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446c6d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x446c6d
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret

Function at 0x446cc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x446d0e
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x446d0e
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x446cfa
add ecx, edx
cmp ecx, ebx
ja 0x446d08
mov ebx, dword [eax + 8]
add ebx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp ecx, ebx
ja 0x446d10
inc edi
add esi, 0x28
jmp 0x446cd1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x446d3b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx]
add eax, ecx
mov eax, dword [eax + 0x78]
push edi
push eax
mov ecx, esi
call edx
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x446de8
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x446d75
pop edi
mov word [ebx], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [edi + 0x18]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x446de8
jmp 0x446d98
mov eax, dword [ebp - 4]
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx]
sar eax, 1
lea edi, [ebx + eax*4]
mov eax, dword [edi]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x446dcd
lea esp, [esp]
cmp dl, byte [eax]
jne 0x446dcd
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x446dc0
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x446df3
test eax, eax
jle 0x446de0
lea ebx, [edi + 4]
jmp 0x446de3
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 4]
jne 0x446d95
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
sub edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar edi, 2
mov ax, word [eax + edi*2]
add ax, word [ebx + 0x10]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x447bc0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub esp, 0x8c
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x447c0d
push 4
push 0x22
push str.._thread_local_win.cc
lea ecx, [ebp - 0x8c]
call fcn.004440f0
add eax, 4
push str.Failed_to_TlsSetValue__.
push eax
call fcn.0040afde
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.00443d90
mov esp, ebp
pop ebp
ret

Function at 0x447c20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp + 8], 0xffffffff
cmp eax, 0xffffffff
je 0x447c44
xor eax, eax
jmp 0x447c56
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp + 8]
push eax
push ecx
call fcn.00444240
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x447c7e
lea ecx, [ebp - 4]
push ecx
push 0x10
push str.._thread_local_win.cc
lea ecx, [ebp - 0x90]
call fcn.00444030
lea ecx, [ebp - 0x90]
call fcn.00443d90
mov esp, ebp
pop ebp
ret
Function at 0x44e2f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x20]
mov dword [ebp], ebx
cmp dword [eax + 0x18], 8
mov dword [esp + 8], ebx
jb 0x44e311
mov eax, dword [eax + 4]
jmp 0x44e314
add eax, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e394
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
push esi
mov esi, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
jb 0x44e350
mov eax, dword [eax + 4]
jmp 0x44e353
add eax, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44e388
cmp dword [esp + 0x24], esi
jne 0x44e388
cmp dword [esp + 0x1c], esi
jne 0x44e388
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x44e3a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
mov esi, dword [esp + 0x23c]
push edi
mov edi, dword [esp + 0x244]
xor bl, bl
test edi, edi
je 0x44e3d1
mov dword [edi], 0
test esi, esi
je 0x44e49e
cmp dword [esi + 0x14], 0
je 0x44e49e
push ebp
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44e483
push 0x228
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0048e760
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44e47c
mov ecx, esi
call fcn.00402721
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00491320
add esp, 8
test eax, eax
sete bl
test bl, bl
jne 0x44e472
lea eax, [esp + 0x10]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44e423
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0048e25d
add esp, 0x230
ret
test edi, edi
je 0x44e47c
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0048e25d
add esp, 0x230
ret
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0048e25d
add esp, 0x230
ret
Function at 0x44ed30
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4c68ab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
cmp word [0x50cd30], 0
mov esi, dword [esp + 0x244]
jne 0x44ed95
push 0x104
push 0x50cd30
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x44ed95
xor eax, eax
jmp 0x44ee6f
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x44edb0
xor ecx, ecx
mov word [esp + 0x28], cx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x50cd30
call ebx
test eax, eax
je 0x44ed8e
xor edx, edx
mov eax, 0x50cd30
mov word [esp + 0x10], dx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ede0
sub eax, edx
sar eax, 1
push eax
push 0x50cd30
lea ecx, [esp + 0x14]
call fcn.00401cd6
push 1
push 0x4cfe30
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.004027ed
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ee20
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.004027ed
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x44ee49
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
lea eax, [esp + 0x28]
push eax
call ebx
cmp dword [esp + 0x24], 8
jb 0x44ee6d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048e006
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0048e25d
add esp, 0x234
ret 4
Function at 0x44f1c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c6941
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edi, 7
xor edx, edx
mov byte [esp + 0x17], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
cmp dword [eax + 0x18], 8
mov dword [esp + 0x68], ebx
jb 0x44f233
mov eax, dword [eax + 4]
jmp 0x44f236
add eax, 4
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f313
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x1c], ebx
lea edi, [ebp + 4]
jb 0x44f262
mov eax, dword [edi]
jmp 0x44f264
mov eax, edi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x44f281
cmp eax, 0x7a
jne 0x44f2f7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x44f2f7
mov ecx, dword [esp + 0x54]
shr eax, 1
add eax, 2
cmp eax, ecx
ja 0x44f2a4
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.004017cd
jmp 0x44f2b1
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.0040d1c3
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax]
mov eax, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x58], eax
jae 0x44f2cf
lea ecx, [esp + 0x44]
cmp dword [ebp + 0x18], eax
jb 0x44f2d8
mov eax, dword [edi]
jmp 0x44f2da
mov eax, edi
lea edx, [esp + 0x1c]
push edx
push ecx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f2f7
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 7
cmp byte [esp + 0x17], bl
je 0x44f313
lea eax, [esp + 0x40]
jmp 0x44f342
push ebx
xor edx, edx
push 0x4cdc24
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00401cd6
lea eax, [esp + 0x24]
mov byte [esp + 0x68], 1
mov dword [esp + 0x20], 1
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push eax
mov ecx, esi
call fcn.00401c43
mov eax, dword [esp + 0x20]
or eax, 2
test al, 1
je 0x44f387
cmp dword [esp + 0x3c], 8
jb 0x44f378
mov edx, dword [esp + 0x28]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
cmp dword [esp + 0x58], 8
jb 0x44f39b
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0048e006
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0048e25d
add esp, 0x58
ret
Function at 0x451610
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x420
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov esi, dword [esp + 0x42c]
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x1a]
push ecx
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], ax
call fcn.0048e760
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.0048e760
mov ecx, dword [esp + 0x44c]
add esp, 0x18
push ecx
push 0
push 0x410
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4516dc
push 0x105
lea edx, [esp + 0x14]
push edx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4516ca
push 0
push 0
push 0x105
lea eax, [esp + 0x228]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.00494b85
add esp, 0x24
test eax, eax
jne 0x4516ca
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x21c]
test bl, bl
jne 0x4516e1
mov edx, 0x4cdc24
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x451700
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401cd6
mov ecx, dword [esp + 0x428]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e25d
add esp, 0x420
ret

Function at 0x453300
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push esi
call fcn.004385e0
add esp, 8
test al, al
jne 0x453317
xor al, al
pop esi
ret
cmp byte [esp + 0xc], 0
jne 0x453337
cmp dword [esi + 0x18], 8
jb 0x453329
mov eax, dword [esi + 4]
jmp 0x45332c
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453313
push 1
push 0
push 0x4e8e18
mov ecx, esi
call fcn.00405a9f
cmp eax, 0xffffffff
jne 0x453313
push 1
push 0
push 0x4e8e14
mov ecx, esi
call fcn.00405a9f
cmp eax, 0xffffffff
jne 0x453313
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x45336f
mov eax, dword [edi]
jmp 0x453371
mov eax, edi
push esi
push eax
call fcn.0044f6b0
add esp, 8
test al, al
jne 0x453382
pop edi
pop esi
ret
cmp dword [esi + 0x18], 8
jb 0x45338a
mov edi, dword [edi]
push edi
call fcn.00453240
add esp, 4
test al, al
pop edi
setne al
pop esi
ret
Function at 0x458580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x458664
cmp word [eax], bx
je 0x458664
cmp edi, 1
jbe 0x458664
push str.8895b1c6_b41f_4c1c_a562_0d564250836f
push eax
push str.._sShellEx_s
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.00401305
add esp, 0x14
test eax, eax
jl 0x45864c
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x1c]
push edx
push SysReAllocString
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45864c
lea ecx, [edi + edi]
push ecx
lea eax, [edi + edi - 2]
push ebx
push esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
call fcn.0048e760
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 8]
push edx
push esi
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458641
push esi
call fcn.00457f40
add esp, 4
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0048e25d
add esp, 0x810
ret
mov ecx, dword [esp + 0x810]
pop ebx
xor ecx, esp
xor al, al
call fcn.0048e25d
add esp, 0x810
ret
Function at 0x45aa00
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c7803
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 4]
xor ebp, ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov eax, dword [esp + 0x28]
lea ebx, [esi + 0x18]
mov ecx, ebx
mov dword [esp + 0x20], ebp
mov dword [esi], vtable.acrobat_broker::SandboxPreviewDispatcher.0
mov dword [esi + 0x14], eax
call fcn.00425b80
mov dword [ebx + 4], eax
mov cl, 1
mov byte [eax + 0x29], cl
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 8], ebp
mov byte [esp + 0x20], cl
lea ecx, [esi + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4eb54c
mov ecx, edi
call fcn.00428dd0
push 0x4eb510
mov ecx, edi
call fcn.00428dd0
push 0x4eb4d4
mov ecx, edi
call fcn.00428dd0
push 0x4eb498
mov ecx, edi
call fcn.00428dd0
push 0x4eb45c
mov ecx, edi
call fcn.00428dd0
push 0x4eb420
mov ecx, edi
call fcn.00428dd0
push 0x4eb3e4
mov ecx, edi
call fcn.00428dd0
mov ecx, esi
call fcn.00459ab0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
push ebp
push ebp
push ebp
call edi
push ebp
push ebp
push ebp
push ebp
mov dword [esi + 0x28], eax
call edi
push ebp
push ebp
push esi
push 0x4581b0
push ebp
push ebp
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x24], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4629c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x134
mov eax, dword [esp + 0x138]
mov dword [esp], 0x18
mov dword [esp + 4], 0x19
mov dword [esp + 8], 0x1a
mov dword [esp + 0xc], 0x1b
mov dword [esp + 0x10], 0x2a
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], 0x1c
mov dword [esp + 0x20], 0x31
mov dword [esp + 0x24], 0x17
mov dword [esp + 0x28], 0x32
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0x2f
mov dword [esp + 0x34], 0x1d
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], 0x33
mov dword [esp + 0x48], 0x34
mov dword [esp + 0x4c], 0x35
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0x2c
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x60], 0xffff
mov dword [esp + 0x64], 9
mov dword [esp + 0x68], 0xe
mov dword [esp + 0x6c], 0x49
mov dword [esp + 0x70], 0x4a
mov dword [esp + 0x74], 0x48
mov dword [esp + 0x78], 0x47
mov dword [esp + 0x7c], 0x36
mov dword [esp + 0x80], 0x44
mov dword [esp + 0x84], 0xa
mov dword [esp + 0x88], 0x1e
mov dword [esp + 0x8c], 0x1f
mov dword [esp + 0x90], 0x37
mov dword [esp + 0x94], 0x38
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x9c], 0x39
mov dword [esp + 0xa0], 0x3a
mov dword [esp + 0xa4], 0x3b
mov dword [esp + 0xa8], 0xb
mov dword [esp + 0xac], 0x10
mov dword [esp + 0xb0], 0x21
mov dword [esp + 0xb4], 0x4e
mov dword [esp + 0xb8], 0x3c
mov dword [esp + 0xbc], 0xc
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x22
mov dword [esp + 0xc8], 0x11
mov dword [esp + 0xcc], 0x29
mov dword [esp + 0xd0], 0x3d
mov dword [esp + 0xd4], 0x45
mov dword [esp + 0xd8], 8
mov dword [esp + 0xdc], 0x3e
mov dword [esp + 0xe0], 0x15
mov dword [esp + 0xe4], 0x16
mov dword [esp + 0xe8], 0x23
mov dword [esp + 0xec], 0x2e
mov dword [esp + 0xf0], 0x2d
mov dword [esp + 0xf4], 0x24
mov dword [esp + 0xf8], 0x25
mov dword [esp + 0xfc], 0x2b
mov dword [esp + 0x100], 0x13
mov dword [esp + 0x104], 0x14
mov dword [esp + 0x108], 0x26
mov dword [esp + 0x10c], 0x3f
mov dword [esp + 0x110], 0x46
mov dword [esp + 0x114], 0x40
mov dword [esp + 0x118], 0xd
mov dword [esp + 0x11c], 0x27
mov dword [esp + 0x120], 0x41
mov dword [esp + 0x124], 0x12
mov dword [esp + 0x128], 0x42
mov dword [esp + 0x12c], 0x43
mov dword [esp + 0x130], 0x28
test eax, 0xfff0000
jne 0x462cda
movzx ecx, ax
lea eax, [esp]
cmp dword [eax], ecx
je 0x462ce5
add eax, 4
lea edx, [esp + 0x134]
cmp eax, edx
jne 0x462cc8
xor eax, eax
add esp, 0x134
ret 4
lea ecx, [esp + 0x134]
cmp eax, ecx
je 0x462cda
mov eax, 1
add esp, 0x134
ret 4