joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 4], ebx
cmp byte [0x50e244], bl
je 0x440ffd
test edi, edi
jne 0x440ffd
push 3
push 0x134
push str.._registry.cc
lea ecx, [ebp - 0x90]
lea ebx, [edi + 1]
call fcn.00444980
add eax, 4
push str.Check_failed:_data.
push eax
call fcn.0040afbf
add esp, 8
test bl, 1
je 0x44100d
lea ecx, [ebp - 0x90]
call fcn.00444620
mov eax, dword [esi]
test eax, eax
jne 0x44101e
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4437e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0
je 0x443959
cmp byte [0x50e258], 0
je 0x443959
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.00491b53
add esp, 8
test eax, eax
je 0x44383d
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0049351c
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x443867
mov ecx, dword [esi + 4]
mov dword [ebp - 0x230], ecx
jmp 0x443870
lea edx, [esi + 4]
mov dword [ebp - 0x230], edx
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x228]
push edx
mov dword [ebp - 0x22c], eax
call fcn.00447fd0
add esp, 8
cmp dword [ebp - 0x214], 0
je 0x44394e
push 0x44
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0048f0d0
mov eax, dword [ebp - 0x224]
mov esi, 8
add esp, 0xc
mov dword [ebp - 0x284], 0x44
cmp dword [ebp - 0x210], esi
jae 0x4438d2
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x284]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x443927
mov ecx, dword [ebp - 0x240]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x240]
push eax
call esi
jmp 0x44394e
mov eax, dword [ebp - 0x224]
cmp dword [ebp - 0x210], esi
jae 0x44393b
lea eax, [ebp - 0x224]
push 0x40010
push 0x4e8018
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x228]
call fcn.0040199c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
Function at 0x443bf0
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 0x443c10
sub eax, edx
push eax
push str.enable_dcheck
lea ecx, [ebp - 0x1c]
call fcn.00401bdf
lea eax, [ebp - 0x1c]
push eax
call fcn.0043f730
mov ecx, eax
call fcn.0043eb50
cmp dword [ebp - 4], 0x10
mov byte [0x50e244], al
jb 0x443c4e
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048e976
add esp, 4
mov eax, dword [0x50e254]
cmp eax, ebx
je 0x443c64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50e254], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [0x50e24c], edx
mov dword [0x509dac], eax
cmp eax, ebx
je 0x443d45
cmp eax, 2
je 0x443d45
mov ecx, dword [0x50e250]
cmp ecx, ebx
jne 0x443cb6
push 0x1c
call fcn.0048eb1c
add esp, 4
xor ecx, ecx
cmp eax, ebx
je 0x443cb0
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], cx
mov ecx, eax
mov dword [0x50e250], 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 0x443cc0
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00401ce4
pop edi
pop esi
cmp dword [ebp + 0x14], ebx
jne 0x443cf7
mov eax, dword [0x50e250]
cmp dword [eax + 0x18], 8
jb 0x443ced
mov eax, dword [eax + 4]
jmp 0x443cf0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x50e24c], ebx
jne 0x443d0e
call fcn.00443ae0
call fcn.00443970
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x50e268], ebx
jne 0x443d40
push 0x18
call fcn.0048eb1c
add esp, 4
cmp eax, ebx
je 0x443d3a
mov ecx, eax
call fcn.004481d0
mov dword [0x50e268], eax
call fcn.00443970
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x50e268], ebx
call fcn.00443970
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a80
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 0x444a9f
call fcn.00446db0
cmp eax, 2
jl 0x444a9f
mov edi, 0x10000
jmp 0x444aa1
xor esi, esi
mov eax, dword [ebp + 0xc]
push 0
push edi
push eax
push 0x4449c0
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 0x446d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00446c50

Function at 0x446db0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x50e27c], 0
jne 0x446f16
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 0x446e5d
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x446e42
sub eax, ecx
je 0x446e24
mov eax, 3
mov dword [0x50e278], eax
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, 2
mov dword [0x50e278], eax
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov dword [0x50e278], eax
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x446edd
cmp byte [ebp - 6], cl
je 0x446e90
mov edx, ecx
cmp edx, dword [ebp - 0x118]
mov byte [0x50e27c], cl
sbb eax, eax
and eax, 3
add eax, 5
mov dword [0x50e278], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x446eb8
mov eax, 4
mov dword [0x50e278], eax
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
xor edx, edx
cmp eax, ecx
setne dl
mov byte [0x50e27c], cl
add edx, 6
mov eax, edx
mov dword [0x50e278], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
jbe 0x446efd
mov eax, 7
mov dword [0x50e278], eax
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, dword [0x50e278]
mov byte [0x50e27c], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x50e278]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret

Function at 0x447560
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x447570
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44756d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x44756d
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret
Function at 0x4475c0
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 0x44760e
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x44760e
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4475fa
add ecx, edx
cmp ecx, ebx
ja 0x447608
mov ebx, dword [eax + 8]
add ebx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp ecx, ebx
ja 0x447610
inc edi
add esi, 0x28
jmp 0x4475d1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x447620
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 0x44763b
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 0x4476e8
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x447675
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 0x4476e8
jmp 0x447698
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 0x4476cd
lea esp, [esp]
cmp dl, byte [eax]
jne 0x4476cd
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x4476c0
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x4476f3
test eax, eax
jle 0x4476e0
lea ebx, [edi + 4]
jmp 0x4476e3
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 4]
jne 0x447695
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 0x4484b0
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 0x4484fd
push 4
push 0x22
push str.._thread_local_win.cc
lea ecx, [ebp - 0x8c]
call fcn.00444980
add eax, 4
push str.Failed_to_TlsSetValue__.
push eax
call fcn.0040afbf
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.00444620
mov esp, ebp
pop ebp
ret
Function at 0x448510
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 0x448534
xor eax, eax
jmp 0x448546
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp + 8]
push eax
push ecx
call fcn.00444ad0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x44856e
lea ecx, [ebp - 4]
push ecx
push 0x10
push str.._thread_local_win.cc
lea ecx, [ebp - 0x90]
call fcn.004448c0
lea ecx, [ebp - 0x90]
call fcn.00444620
mov esp, ebp
pop ebp
ret

Function at 0x44e970
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 0x44e991
mov eax, dword [eax + 4]
jmp 0x44e994
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 0x44ea14
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 0x44e9d0
mov eax, dword [eax + 4]
jmp 0x44e9d3
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 0x44ea08
cmp dword [esp + 0x24], esi
jne 0x44ea08
cmp dword [esp + 0x1c], esi
jne 0x44ea08
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 0x44ea20
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x50b384]
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 0x44ea51
mov dword [edi], 0
test esi, esi
je 0x44eb1e
cmp dword [esi + 0x14], 0
je 0x44eb1e
push ebp
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44eb03
push 0x228
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0048f0d0
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 0x44eafc
mov ecx, esi
call fcn.0040110c
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00491c90
add esp, 8
test eax, eax
sete bl
test bl, bl
jne 0x44eaf2
lea eax, [esp + 0x10]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44eaa3
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.0048ebcd
add esp, 0x230
ret
test edi, edi
je 0x44eafc
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.0048ebcd
add esp, 0x230
ret
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0048ebcd
add esp, 0x230
ret
Function at 0x44f440
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4c745b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
cmp word [0x50ed38], 0
mov esi, dword [esp + 0x244]
jne 0x44f4a5
push 0x104
push 0x50ed38
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x44f4a5
xor eax, eax
jmp 0x44f57f
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x44f4c0
xor ecx, ecx
mov word [esp + 0x28], cx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x50ed38
call ebx
test eax, eax
je 0x44f49e
xor edx, edx
mov eax, 0x50ed38
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 0x44f4f0
sub eax, edx
sar eax, 1
push eax
push 0x50ed38
lea ecx, [esp + 0x14]
call fcn.00401ce4
push 1
push 0x4d0ef8
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.00402933
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f530
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00402933
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x44f559
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 0x44f57d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048e976
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.0048ebcd
add esp, 0x234
ret 4
Function at 0x44f5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c74b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
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 0x44f623
mov eax, dword [eax + 4]
jmp 0x44f626
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 0x44f703
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x1c], ebx
lea edi, [ebp + 4]
jb 0x44f652
mov eax, dword [edi]
jmp 0x44f654
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 0x44f671
cmp eax, 0x7a
jne 0x44f6e7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x44f6e7
mov ecx, dword [esp + 0x54]
shr eax, 1
add eax, 2
cmp eax, ecx
ja 0x44f694
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.004017db
jmp 0x44f6a1
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.0040d213
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 0x44f6bf
lea ecx, [esp + 0x44]
cmp dword [ebp + 0x18], eax
jb 0x44f6c8
mov eax, dword [edi]
jmp 0x44f6ca
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 0x44f6e7
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 0x44f703
lea eax, [esp + 0x40]
jmp 0x44f732
push ebx
xor edx, edx
push 0x4cec14
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00401ce4
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.00401c51
mov eax, dword [esp + 0x20]
or eax, 2
test al, 1
je 0x44f777
cmp dword [esp + 0x3c], 8
jb 0x44f768
mov edx, dword [esp + 0x28]
push edx
call fcn.0048e976
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 0x44f78b
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0048e976
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.0048ebcd
add esp, 0x58
ret
Function at 0x451940
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x420
mov eax, dword [0x50b384]
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.0048f0d0
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.0048f0d0
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 0x451a0c
push 0x105
lea edx, [esp + 0x14]
push edx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4519fa
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.004954fe
add esp, 0x24
test eax, eax
jne 0x4519fa
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x21c]
test bl, bl
jne 0x451a11
mov edx, 0x4cec14
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 0x451a30
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00401ce4
mov ecx, dword [esp + 0x428]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ebcd
add esp, 0x420
ret

Function at 0x453470
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push esi
call fcn.00438de0
add esp, 8
test al, al
jne 0x453487
xor al, al
pop esi
ret
cmp byte [esp + 0xc], 0
jne 0x4534a7
cmp dword [esi + 0x18], 8
jb 0x453499
mov eax, dword [esi + 4]
jmp 0x45349c
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453483
push 1
push 0
push 0x4e9da0
mov ecx, esi
call fcn.0040588a
cmp eax, 0xffffffff
jne 0x453483
push 1
push 0
push 0x4e9d9c
mov ecx, esi
call fcn.0040588a
cmp eax, 0xffffffff
jne 0x453483
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x4534df
mov eax, dword [edi]
jmp 0x4534e1
mov eax, edi
push esi
push eax
call fcn.0044faa0
add esp, 8
test al, al
jne 0x4534f2
pop edi
pop esi
ret
cmp dword [esi + 0x18], 8
jb 0x4534fa
mov edi, dword [edi]
push edi
call fcn.004533b0
add esp, 4
test al, al
pop edi
setne al
pop esi
ret
Function at 0x458700
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c8258
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x30]
mov dword [esi], vtable.acrobat_broker::SandboxDDEDispatcher.0
mov dword [esi + 0x14], eax
mov dword [esp + 0x28], ebx
cmp dword [0x50dd18], ebx
jne 0x45876b
lea ecx, [esp + 0x14]
call fcn.0048e796
push 0x4feabc
lea ecx, [esp + 0x18]
push ecx
call fcn.0048eb81
lea edx, [esi + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4ec1d4
mov ecx, edi
call fcn.00429550
push 0x4ec198
mov ecx, edi
call fcn.00429550
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x28], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x1c], eax
call edi
push ebx
push ebx
push esi
push 0x4581e0
push ebx
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4

Function at 0x459020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x459104
cmp word [eax], bx
je 0x459104
cmp edi, 1
jbe 0x459104
push str.8895b1c6_b41f_4c1c_a562_0d564250836f
push eax
push str.._sShellEx_s
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.00401313
add esp, 0x14
test eax, eax
jl 0x4590ec
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x1c]
push edx
push SysReAllocStringLen
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4590ec
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.0048f0d0
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 0x4590e1
push esi
call fcn.004589b0
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.0048ebcd
add esp, 0x810
ret
mov ecx, dword [esp + 0x810]
pop ebx
xor ecx, esp
xor al, al
call fcn.0048ebcd
add esp, 0x810
ret