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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 4], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x108]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, dword [0x4142a4]
mov dword [edi - 1], ecx
call fcn.00405ac0
add esp, 4
test eax, eax
jne 0x4049ca
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x418810]
test eax, eax
je 0x4049da
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x108]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp + 8], esi
je 0x404b03
test byte [ebp - 0x248], 0x10
je 0x404a98
cmp byte [ebp - 0x21c], 0x2e
je 0x404ae6
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x21c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x108]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ax, word [0x4142a8]
lea ecx, [ebp - 0x108]
push ecx
mov word [edi - 1], ax
call fcn.00404960
mov esi, dword [ebp + 8]
add esp, 4
mov dword [ebp - 4], eax
jmp 0x404ae6
lea edx, [ebp - 0x108]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x404ae6
mov eax, dword [0x4172c0]
test eax, eax
je 0x404ae3
lea eax, [ebp - 0x108]
push eax
call fcn.00405b30
add esp, 4
inc dword [ebp - 4]
lea ecx, [ebp - 0x248]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4049fc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0x108]
mov byte [ebp + eax - 0x109], 0
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x404b66
mov eax, dword [0x4172c0]
test eax, eax
je 0x404b66
lea eax, [ebp - 0x108]
push eax
call fcn.00405b30
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d8f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x418540]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40d90f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x41853c], 1
mov byte [0x418538], bl
jne 0x40d969
mov ecx, dword [0x41ae08]
test ecx, ecx
je 0x40d957
mov esi, dword [0x41ae04]
sub esi, 4
cmp esi, ecx
jb 0x40d957
mov eax, dword [esi]
test eax, eax
je 0x40d950
call eax
mov ecx, dword [0x41ae08]
sub esi, 4
cmp esi, ecx
jae 0x40d942
push 0x41401c
push 0x414014
call fcn.0040d9a0
add esp, 8
push 0x414024
push 0x414020
call fcn.0040d9a0
add esp, 8
test ebx, ebx
jne 0x40d990
push ebp
mov dword [0x418540], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x40f220
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x418660]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x40f262
call edi
mov esi, eax
test esi, esi
je 0x40f24c
mov eax, 1
jmp 0x40f25d
call ebp
mov ebx, eax
test ebx, ebx
je 0x40f36f
mov eax, 2
mov dword [0x418660], eax
cmp eax, 1
jne 0x40f302
test esi, esi
jne 0x40f27b
call edi
mov esi, eax
test esi, esi
je 0x40f36f
cmp word [esi], 0
mov eax, esi
je 0x40f295
add eax, 2
cmp word [eax], 0
jne 0x40f283
add eax, 2
cmp word [eax], 0
jne 0x40f283
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x40f2f4
push edi
call fcn.0040c620
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40f2f4
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40f2e6
push ebx
call fcn.0040c6d0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x40f36f
test ebx, ebx
jne 0x40f313
call ebp
mov ebx, eax
test ebx, ebx
je 0x40f36f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x40f32b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40f31b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40f31b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0040c620
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x40f34d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x407490
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call dword [0x472304]
push eax
call dword [0x4723b4]
mov edi, eax
xor esi, esi
cmp dword [esp + 0xc], esi
mov eax, 0x64
mov dword [esp + 8], eax
jle 0x407501
mov edx, dword [edi + esi*4]
lea ecx, [esp + 8]
push ecx
push str.start_d
push edx
call fcn.0043b05f
add esp, 0xc
cmp eax, 1
je 0x4074ea
inc esi
cmp esi, dword [esp + 0xc]
jl 0x4074c2
mov eax, dword [esp + 8]
jmp 0x407501
mov eax, dword [esp + 8]
cmp eax, 0x64
jb 0x4074f8
cmp eax, 0x67
jbe 0x407501
mov eax, 0x64
mov dword [esp + 8], eax
test edi, edi
je 0x407510
push edi
call dword [0x472300]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 8
ret
Function at 0x40cc10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [esp + 0x218], 0
push esi
mov esi, dword [esp + 0x218]
push 0
je 0x40cc41
push 0x29
lea eax, [esp + 0x10]
push eax
jmp 0x40cc48
push 0x25
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [0x4723bc]
push edi
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call fcn.00402630
mov edi, eax
cmp esi, edi
je 0x40cc7e
mov ecx, esi
call fcn.00402760
mov eax, dword [edi]
mov dword [esi], eax
test eax, eax
je 0x40cc7e
add eax, 8
push eax
call dword [0x472338]
mov esi, dword [esp + 8]
pop edi
test esi, esi
je 0x40ccbf
lea eax, [esi + 8]
push eax
call dword [0x472340]
test eax, eax
jne 0x40ccbf
test esi, esi
je 0x40ccbf
mov eax, dword [esi]
test eax, eax
je 0x40cca6
push eax
call dword [0x472360]
mov eax, dword [esi + 4]
test eax, eax
je 0x40ccb6
push eax
call fcn.0041b0cc
add esp, 4
push esi
call fcn.0041b0cc
add esp, 4
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043aa16
add esp, 0x210
ret

Function at 0x40cce0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bde8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x4008340
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x40cd52
mov edi, eax
mov eax, dword [eax]
cmp eax, esi
je 0x40cd52
push eax
call dword [0x472350]
push eax
mov eax, dword [edi]
push eax
call dword [0x472354]
cmp eax, esi
jne 0x40cd54
push 0x8007000e
call fcn.0040bab0
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [0x4723c0]
test eax, eax
jne 0x40cdb0
lea ecx, [esp + 0x58]
call fcn.00402760
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x40cdcc
push 0xffffffffffffffff
push eax
call dword [0x4722fc]
mov edx, dword [esp + 0x44]
push edx
call dword [0x472324]
lea ecx, [esp + 0x58]
call fcn.00402760
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
Function at 0x40d1a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46be1b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
push 0
push 0x23
lea eax, [esp + 0x18]
push eax
push 0
call dword [0x4723bc]
test eax, eax
je 0x40d260
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.00402630
mov edi, eax
cmp esi, edi
je 0x40d222
mov ecx, esi
call fcn.00402760
mov eax, dword [edi]
mov dword [esi], eax
test eax, eax
je 0x40d222
add eax, 8
push eax
call dword [0x472338]
lea ecx, [esp + 0xc]
call fcn.00402760
push 0x4727e0
lea ecx, [esp + 0x10]
call fcn.00402630
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x228], 0
call fcn.00402150
lea ecx, [esp + 0xc]
call fcn.00402760
mov eax, 1
jmp 0x40d262
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043aa16
add esp, 0x21c
ret
Function at 0x40d5d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46bef6
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x2b8], eax
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov edx, dword [esp + 0x2d8]
xor eax, eax
mov word [esp + 0x88], ax
mov edi, 7
mov eax, edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d636
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x8c]
call fcn.0040c9a0
push 0xe
push 0
push str._PROGRAMFILES_
lea ecx, [esp + 0x90]
mov dword [esp + 0x2dc], 0
call fcn.0040c040
mov esi, eax
cmp esi, 0xffffffff
je 0x40d763
push str.GetNativeSystemInfo
push 0x4727ac
call dword [0x472320]
push eax
call dword [0x4722d0]
test eax, eax
je 0x40d6bd
lea ecx, [esp + 0x60]
push ecx
call eax
cmp word [esp + 0x60], 9
sete al
test al, al
je 0x40d6bd
lea edx, [esp + 0xbc]
push edx
push 0
push 0
push 0x2a
jmp 0x40d6cb
lea eax, [esp + 0xbc]
push eax
push 0
push 0
push 0x26
push 0
call dword [0x4723c8]
xor ecx, ecx
lea eax, [esp + 0xbc]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d700
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa8]
call fcn.0040c9a0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esi + 0xe]
push ecx
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0040c5b0
cmp dword [esp + 0xb8], 8
jb 0x40d763
mov edx, dword [esp + 0xa4]
push edx
call fcn.0041b0cc
add esp, 4
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0043bdd0
mov cx, word [esp + 0x2e8]
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x9c], 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 0x21
mov word [esp + 0x4c], cx
jae 0x40d7bb
lea eax, [esp + 0x88]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [0x4722b8]
mov edi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40d81b
cmp dword [esp + 0x2e0], 1
jne 0x40d7fe
mov esi, dword [0x472324]
push eax
call esi
mov edx, dword [esp + 0x10]
push edx
jmp 0x40d819
push 0xffffffffffffffff
push eax
call dword [0x4722fc]
mov eax, dword [esp + 0xc]
mov esi, dword [0x472324]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp dword [esp + 0x9c], 8
jb 0x40d835
mov edx, dword [esp + 0x88]
push edx
call fcn.0041b0cc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.0043aa16
add esp, 0x2c8
ret
Function at 0x411550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46c183
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00458468
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4115a1
mov eax, dword [esi + 0x1c]
push eax
call fcn.0041b0cc
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x415730
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46c8a1
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov esi, dword [esp + 0x454]
mov edi, dword [esp + 0x458]
mov ebx, dword [esp + 0x45c]
mov ebp, dword [esp + 0x460]
push str.HKEY_CLASSES_ROOT
lea ecx, [esp + 0x20]
call fcn.00402630
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x18]
mov dword [esp + 0x450], 0
call fcn.00402630
push str.HKEY_CURRENT_USER
lea ecx, [esp + 0x1c]
mov byte [esp + 0x450], 1
call fcn.00402630
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x450], 2
call fcn.00402550
test eax, eax
jne 0x4157e3
mov ecx, 0x80000000
jmp 0x415813
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00402550
test eax, eax
jne 0x4157fa
mov ecx, 0x80000002
jmp 0x415813
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00402550
test eax, eax
jne 0x415901
mov ecx, 0x80000001
mov eax, dword [edi]
test eax, eax
je 0x41581d
mov eax, dword [eax]
jmp 0x41581f
xor eax, eax
lea edx, [esp + 0x20]
push edx
push 1
push 0
push eax
push ecx
call dword [0x472018]
test eax, eax
jne 0x415923
push 0x40e
push eax
lea ecx, [esp + 0x3a]
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], 0x208
mov word [esp + 0x3c], ax
call fcn.0043bdd0
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x41586a
mov eax, dword [eax]
jmp 0x41586c
xor eax, eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [0x472020]
test eax, eax
je 0x41589d
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x47201c]
jmp 0x415923
mov edx, dword [esp + 0x20]
push edx
call dword [0x47201c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402630
mov esi, eax
cmp ebp, esi
je 0x4158d6
mov ecx, ebp
call fcn.00402760
mov eax, dword [esi]
mov dword [ebp], eax
test eax, eax
je 0x4158d6
add eax, 8
push eax
call dword [0x472338]
lea ecx, [esp + 0x28]
call fcn.00402760
lea ecx, [esp + 0x18]
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
lea ecx, [esp + 0x1c]
call fcn.00402760
mov eax, 1
jmp 0x415940
push str.FALSE
push str.ASSERT_FAIL:__s_n
push str.util_register::CRegisterHelper::GetRegValue
push 0x21
push str..RegisterHelper.cpp
push 0
push 3
call fcn.00414e20
add esp, 0x1c
lea ecx, [esp + 0x18]
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
lea ecx, [esp + 0x1c]
call fcn.00402760
xor eax, eax
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.0043aa16
add esp, 0x43c
ret
Function at 0x415970
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46c8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push str.HKEY_CLASSES_ROOT
lea ecx, [esp + 0x18]
call fcn.00402630
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.00402630
push str.HKEY_CURRENT_USER
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00402630
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00402550
test eax, eax
jne 0x4159ec
mov ecx, 0x80000000
jmp 0x415a1c
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00402550
test eax, eax
jne 0x415a03
mov ecx, 0x80000002
jmp 0x415a1c
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00402550
test eax, eax
jne 0x415b0b
mov ecx, 0x80000001
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test eax, eax
je 0x415a2a
mov eax, dword [eax]
jmp 0x415a2c
xor eax, eax
lea edx, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push ecx
call dword [0x472018]
test eax, eax
jne 0x415b2d
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
test eax, eax
je 0x415a63
mov eax, dword [eax]
test eax, eax
je 0x415a63
push eax
call dword [0x47235c]
mov edi, eax
jmp 0x415a65
xor edi, edi
mov esi, dword [esi]
test esi, esi
je 0x415a96
mov eax, dword [esi]
test eax, eax
je 0x415a90
push eax
call dword [0x472350]
push eax
mov eax, dword [esi]
push eax
call dword [0x472354]
test eax, eax
jne 0x415a92
push 0x8007000e
call fcn.0040bab0
xor eax, eax
mov ecx, eax
jmp 0x415a98
xor ecx, ecx
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
test eax, eax
je 0x415aa6
mov eax, dword [eax]
jmp 0x415aa8
xor eax, eax
lea edx, [edi + edi]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [0x472014]
test eax, eax
je 0x415ace
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x47201c]
jmp 0x415b2d
mov edx, dword [esp + 0x18]
push edx
call dword [0x47201c]
lea ecx, [esp + 0xc]
call fcn.00402760
lea ecx, [esp + 0x10]
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
push str.FALSE
push str.ASSERT_FAIL:__s_n
push str.util_register::CRegisterHelper::SetRegValue
push 0x4c
push str..RegisterHelper.cpp
push 0
push 3
call fcn.00414e20
add esp, 0x1c
lea ecx, [esp + 0xc]
call fcn.00402760
lea ecx, [esp + 0x10]
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x4164f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ca89
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
push 0x472ed4
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 0xa
call fcn.00402630
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x417810
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46cb68
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
mov eax, dword [0x48cc50]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
cmp dword [esp + 0x44c], 0
mov dword [esp + 0x440], 0
jne 0x417873
lea ecx, [esp + 0x448]
call fcn.00417770
mov eax, 1
jmp 0x4179fc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.0043bdd0
add esp, 0xc
cmp dword [esp + 0x448], 0
push 0
je 0x4178ab
push 0x29
lea edx, [esp + 0x234]
push edx
jmp 0x4178b5
push 0x25
lea eax, [esp + 0x234]
push eax
push 0
call dword [0x4723bc]
mov ecx, 0x72
mov word [esp + 8], cx
mov edx, 0x65
mov word [esp + 0xa], dx
mov eax, 0x67
mov word [esp + 0xc], ax
mov ecx, 0x73
mov word [esp + 0xe], cx
mov edx, 0x76
mov word [esp + 0x10], dx
mov eax, 0x72
mov word [esp + 0x12], ax
mov ecx, 0x33
mov edx, 0x32
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
mov eax, 0x2e
mov ecx, 0x65
mov word [esp + 0x18], ax
mov edx, 0x78
mov eax, ecx
mov word [esp + 0x1c], dx
xor edx, edx
push 0x206
mov word [esp + 0x22], ax
mov word [esp + 0x1e], cx
push edx
lea eax, [esp + 0x2e]
xor ecx, ecx
push eax
mov word [esp + 0x2c], cx
mov word [esp + 0x30], dx
call fcn.0043bdd0
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.0043cab7
push 0x47dbf4
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.0043c47c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x4c]
push 0x104
push edx
call fcn.0043c47c
push 0x473114
lea eax, [esp + 0x58]
push 0x104
push eax
call fcn.0043c47c
mov eax, dword [esp + 0x48c]
add esp, 0x3c
test eax, eax
je 0x4179b5
mov eax, dword [eax]
jmp 0x4179b7
xor eax, eax
push eax
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0043c47c
push 0x47dc18
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.0043c47c
push 2
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0040d5d0
add esp, 0x24
lea ecx, [esp + 0x448]
mov esi, eax
call fcn.00417770
mov eax, esi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.0043aa16
add esp, 0x43c
ret 0x10