joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423220
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x527831
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], 2
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402e40
lea esi, [esp + 0x30]
call fcn.00422f80
add esp, 0x1c
mov ecx, esi
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x38], 3
call fcn.00416350
push 0xffffffffffffffff
push ebx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00402e40
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 1
call fcn.00417840
mov edx, dword [esp + 0x18]
push edx
call fcn.004f0cfc
mov esi, 0x10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x58], esi
jb 0x4232fd
mov eax, dword [esp + 0x44]
push eax
call fcn.004f0cfc
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0x74], esi
jb 0x423320
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004f0cfc
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x42c150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x523ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov eax, 1
mov dword [esp + 0x20], eax
lea esi, [edi + 4]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov byte [esi], 0
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
ja 0x42c1bc
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00403d00
jmp 0x42c1c8
sub eax, ecx
push 0
push eax
mov ecx, edi
call fcn.00404d30
cmp dword [edi + 0x18], 0x10
jb 0x42c1d0
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
push esi
mov eax, 0xfffffffc
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
lea esi, [esp + 0x20]
call fcn.0043bb30
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x42c1fe
push eax
call fcn.004f0cfc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x430c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528a30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov ecx, dword [ecx + 0xc]
push eax
push ecx
call fcn.00438e30
sub esp, 0x1c
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 8
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.homepage
mov byte [ecx + 4], bl
call fcn.00403c20
sub esp, 0x1c
mov dword [esp + 0x6c], esp
mov edi, esp
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x7c], esp
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xa0], 1
call fcn.004161c0
call fcn.0042c150
add esp, 0x10
mov byte [esp + 0x8c], bl
call fcn.00406730
mov esi, dword [ebp + 8]
add esp, 0x38
mov ecx, esi
call fcn.004cc4d7
mov eax, dword [esp + 0x3c]
add esp, 0x1c
cmp eax, ebx
je 0x430cdb
push eax
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437e10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52741c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi], vtable.TFile.0
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
xor eax, eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], ax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
push 0xffffffffffffffff
lea edi, [esi + 0x48]
mov byte [esp + 0x20], 3
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00402e40
mov byte [esi + 0x64], bl
xor edx, edx
mov dword [esi + 0x80], 7
mov dword [esi + 0x7c], ebx
mov word [esi + 0x6c], dx
mov byte [esp + 0x1c], 5
inc dword [0x56132c]
call fcn.004cefff
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push 0x100
call eax
test al, al
je 0x437f40
push 0x534dc4
push ecx
push edi
push ecx
push 0x534dd4
push ecx
push 0x75f
push ecx
push 0x534dd8
push ecx
push 0x53b064
push ecx
push 0x534dc0
push ecx
call fcn.004cf0d6
add esp, 4
push eax
call fcn.00405660
add esp, 0xc
push eax
call fcn.00405660
add esp, 0xc
push eax
call fcn.00405660
add esp, 0xc
push eax
call fcn.00402b90
add esp, 4
push eax
call fcn.00405660
add esp, 0xc
push eax
call fcn.00405890
add esp, 0xc
push eax
call fcn.00405660
add esp, 8
push 0x100
call fcn.004cf0e5
cmp dword [esp + 0x3c], 0x10
jb 0x437f54
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret 0x1c
Function at 0x43f4d0
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x56159c], eax
test eax, eax
jne 0x43f4ec
xor al, al
pop ecx
ret
push ebx
lea eax, [esp + 4]
push eax
push 0
push 0x561560
push 0x43f4c0
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.004f13ad
add esp, 0x18
test eax, eax
setne bl
test bl, bl
je 0x43f522
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop ecx
ret
Function at 0x4411d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4411e0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4411f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x441730
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x4417aa
xor eax, eax
cmp ecx, ebp
je 0x441792
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x4417b8
cmp ecx, ebp
je 0x44184b
push ecx
jmp 0x441845
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x44181a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00441730
mov ebx, eax
cmp ebx, ebp
jne 0x441868
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x4417e0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x44182d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00441910
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x44184b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f070d
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x441877
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x44184d
Function at 0x442390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x526070
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x55bb24]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x44240f
call fcn.00440ab0
mov esi, eax
jmp 0x4424f1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x44242b
call fcn.00440ab0
jmp 0x4424e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x442444
call fcn.00440ab0
jmp 0x4424e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x442478
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x442466
lea eax, [ebp]
call fcn.00440a60
lea esi, [ebp - 0x1c]
call fcn.00441220
mov eax, 0x8007000e
jmp 0x442503
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00440a70
mov dword [ebp - 4], 1
jmp 0x4424a1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x4424af
mov esi, 0x8007000e
jmp 0x4424ea
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x4424cd
call fcn.00440ab0
jmp 0x4424e8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00442240
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x442501
lea eax, [ebp]
call fcn.00440a60
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 + 0x404]
xor ecx, ebp
call fcn.004f070d
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x524be7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi], ebx
call fcn.00421ba0
mov dword [esi + 8], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
call fcn.004176a0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov byte [esp + 0x18], 1
call fcn.004176a0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov eax, dword [esp + 0x20]
push eax
push esi
mov byte [esp + 0x20], 4
call fcn.00445100
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x445450
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x14]
sub esp, 0x14
push esi
test eax, eax
jne 0x44545f
xor esi, esi
jmp 0x445463
lea esi, [eax + eax + 2]
mov eax, 8
cmp dword [ecx + 0x18], eax
jb 0x445472
mov ecx, dword [ecx + 4]
jmp 0x445475
add ecx, 4
cmp dword [edx + 0x1c], eax
jb 0x44547f
mov eax, dword [edx + 8]
jmp 0x445482
lea eax, [edx + 8]
push esi
push ecx
push 1
push 0
push eax
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x4454c5
lea ecx, [esp + 4]
call fcn.004f0779
push 0x54cc44
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], vtable.registry::write_error.0
mov dword [esp + 0x1c], esi
call fcn.004f4646
pop esi
add esp, 0x14
ret

Function at 0x4454d0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x14
cmp dword [esi + 0x1c], 8
push ebx
lea ebx, [esi + 4]
push edi
jb 0x4454e3
mov eax, dword [ebx + 4]
jmp 0x4454e6
lea eax, [ebx + 4]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x44551b
lea ecx, [esp + 8]
call fcn.004f0779
push 0x54cbcc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], vtable.registry::error.0
mov dword [esp + 0x1c], edi
call fcn.004f4646
mov eax, dword [esi + 0x20]
test eax, eax
je 0x445530
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x20], 0
cmp dword [esi + 0x18], 0
je 0x445541
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00403ed0
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x4459f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c964
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x24], vtable.WTL::CMessageFilter.0
mov dword [esi], vtable.TNotificationManager.0
mov dword [esi + 0x24], vtable.TNotificationManager.1.0
call fcn.00464ff0
mov dword [esi + 0x2c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov dword [esi + 0x30], ebx
mov byte [esp + 0x14], 1
call fcn.0044c650
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x7c], 0xf
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
mov ecx, dword [esp + 0x20]
mov byte [esi + 0x80], bl
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esp + 0x14], 4
call fcn.0041a280
mov dword [esi + 0xa4], eax
mov byte [eax + 0x39], 1
mov eax, dword [esi + 0xa4]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xa4]
mov dword [eax], eax
mov eax, dword [esi + 0xa4]
mov dword [eax + 8], eax
mov dword [esi + 0xa8], ebx
push esi
mov byte [esp + 0x18], 5
call fcn.00447590
test al, al
jne 0x445b06
push 0x54cc98
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], str.Shit_happend_while_loading_config.
call fcn.004f4646
cmp byte [0x561384], bl
jne 0x445b29
call fcn.0044e260
mov byte [0x561385], al
call fcn.00408a10
mov byte [0x561386], al
mov byte [0x561384], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x446400
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52868d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x55bb24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 4], eax
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x17c], 7
mov dword [ebp - 0x180], eax
mov word [ebp - 0x190], ax
call fcn.0040b490
lea ecx, [ebp - 0x138]
push ecx
lea edi, [ebp - 0x194]
mov ebx, SysReAllocString
mov byte [ebp - 4], 1
call fcn.00445680
mov byte [ebp - 4], 3
cmp dword [ebp - 0x17c], 8
jb 0x446496
mov edx, dword [ebp - 0x190]
push edx
call fcn.004f0cfc
add esp, 4
xor ebx, ebx
push 0xa
xor eax, eax
mov edi, 7
lea ecx, [ebp - 0x154]
push str.Praetorian
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x180], ebx
mov word [ebp - 0x190], ax
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
call fcn.00403c20
cmp byte [ebp + 8], bl
je 0x4465b5
lea esi, [ebp - 0x1b0]
mov byte [ebp - 4], 4
call fcn.004cc986
mov esi, eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 5
call fcn.004457e0
mov ecx, esi
mov edx, eax
mov byte [ebp - 4], 6
call fcn.00445450
mov eax, dword [ebp - 0x158]
mov dword [ebp - method.registry::const_value.virtual_0], vtable.registry::const_value.0
cmp eax, ebx
je 0x44653f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x158], ebx
mov esi, 8
cmp dword [ebp - 0x15c], esi
jb 0x44655b
mov eax, dword [ebp - 0x170]
push eax
call fcn.004f0cfc
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x170], cx
cmp dword [ebp - 0x198], esi
jb 0x446587
mov edx, dword [ebp - 0x1ac]
push edx
call fcn.004f0cfc
add esp, 4
xor eax, eax
cmp dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x19c], ebx
mov word [ebp - 0x1ac], ax
jb 0x446643
mov ecx, dword [ebp - 0x150]
push ecx
jmp 0x44663b
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 7
call fcn.004457e0
mov esi, eax
mov byte [ebp - 4], 8
call fcn.004454d0
mov eax, dword [ebp - 0x158]
mov dword [ebp - method.registry::const_value.virtual_0], vtable.registry::const_value.0
cmp eax, ebx
je 0x4465fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x158], ebx
cmp dword [ebp - 0x15c], 8
jb 0x446616
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.004f0cfc
add esp, 4
xor edx, edx
cmp dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x170], dx
jb 0x446643
mov eax, dword [ebp - 0x150]
push eax
call fcn.004f0cfc
add esp, 4
lea edi, [ebp - 0x138]
call fcn.00445600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f070d
mov esp, ebp
pop ebp
ret 4
Function at 0x44c260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524a26
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov al, byte [esp + 0x24]
xor ebx, ebx
mov byte [edi], al
mov eax, dword [esp + 0x20]
push ebx
mov dword [edi + 4], ebx
call fcn.0041f410
mov dword [edi + 8], eax
mov eax, 7
xor ecx, ecx
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], ebx
add esp, 4
mov word [edi + 0x10], cx
mov dword [esp + 0x14], ebx
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], ebx
xor edx, edx
mov word [edi + 0x30], dx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x28], vtable.registry::value.0
mov byte [esp + 0x14], 1
mov byte [edi + 0x4c], bl
call fcn.00420240
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x44c5a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov eax, dword [edi + 0x20]
push esi
lea esi, [edi + 0xc]
cmp eax, 0x105
jb 0x44c5bf
push 0xffffffffffffffff
push 0x105
mov ecx, esi
call fcn.00403ed0
jmp 0x44c5d0
mov ecx, 0x105
sub ecx, eax
push 0
push ecx
mov ecx, esi
call fcn.00409f20
mov edx, dword [edi + 0x20]
dec edx
cmp dword [esi + 0x18], 8
mov dword [esp + 4], edx
jb 0x44c5e3
mov eax, dword [esi + 4]
jmp 0x44c5e6
lea eax, [esi + 4]
mov edx, dword [edi + 4]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [edi + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44c619
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [edi], 1
call fcn.00403ed0
mov eax, esi
pop esi
pop ecx
ret
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 4]
cmp eax, ecx
ja 0x44c633
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00403ed0
mov eax, esi
pop esi
pop ecx
ret
sub eax, ecx
push 0
push eax
mov ecx, esi
call fcn.00409f20
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4517e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x52a1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x290]
xor eax, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
mov edi, 1
mov dword [esp + 0x28c], edi
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], eax
lea esi, [ebp + 4]
push eax
lea edx, [esp + 0x29c]
mov word [esi], cx
push edx
mov ecx, ebp
call fcn.00403000
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x14], edi
jb 0x451868
mov esi, dword [esi]
cmp word [esi], 0x25
jne 0x4519f2
lea eax, [esp + 0x18]
push eax
mov ebx, edi
mov eax, edi
mov edx, ebp
mov dword [esp + 0x1c], 0x25
call fcn.00439b40
mov ebx, eax
test ebx, ebx
je 0x4519f2
lea ecx, [ebx - 1]
push ebp
mov edx, edi
lea esi, [esp + 0x5c]
call fcn.00402e10
mov byte [esp + 0x288], 2
cmp dword [esp + 0x6c], 0
je 0x4519de
xor ecx, ecx
mov word [esp + 0x74], cx
call fcn.00451a40
test eax, eax
je 0x4518f0
push 0
push eax
lea edx, [esp + 0x7c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4518f0
inc ebx
push ebx
push 0
push ebp
lea edx, [esp + 0x80]
call fcn.00439260
jmp 0x4519de
mov eax, dword [esp + 0x6c]
push str.FF_PROFILE
mov edi, 0xa
lea ecx, [esp + 0x5c]
call fcn.004060c0
test eax, eax
jne 0x451935
lea eax, [esp + 0x20]
push eax
call fcn.004225e0
add esp, 4
push 0
push eax
inc ebx
push ebx
push ebp
or eax, 0xffffffff
xor ecx, ecx
mov byte [esp + 0x298], 3
call fcn.0043a0d0
jmp 0x4519d5
mov esi, str.OPERA_INSTALL_DIR
lea ecx, [esp + 0x58]
call fcn.00405860
test al, al
je 0x451988
lea ecx, [esp + 0x3c]
call fcn.0044de10
mov edx, eax
lea esi, [esp + 0x20]
mov byte [esp + 0x288], 4
call fcn.00427180
push 0
push eax
inc ebx
push ebx
push ebp
or eax, 0xffffffff
xor ecx, ecx
mov byte [esp + 0x298], 5
call fcn.0043a0d0
mov ecx, esi
call fcn.00402d80
lea ecx, [esp + 0x3c]
jmp 0x4519d9
mov esi, str.OPERA_LOCALE_DIR
lea ecx, [esp + 0x58]
call fcn.00405860
test al, al
je 0x4519de
lea edi, [esp + 0x20]
call fcn.0044e5c0
mov edx, eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x288], 6
call fcn.00427180
push 0
push eax
inc ebx
push ebx
push ebp
or eax, 0xffffffff
xor ecx, ecx
mov byte [esp + 0x298], 7
call fcn.0043a0d0
mov ecx, esi
call fcn.00402d80
lea ecx, [esp + 0x20]
call fcn.00402d80
cmp dword [esp + 0x70], 8
jb 0x4519f2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004f0cfc
add esp, 4
cmp dword [esp + 0x2ac], 8
jb 0x451a0c
mov edx, dword [esp + 0x298]
push edx
call fcn.004f0cfc
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004f070d
add esp, 0x278
ret