joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf93000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xf93131
push esi
call fcn.00f96145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00f85080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xf93131
push 0
push ebp
call fcn.00f853a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00f85260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xf9308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00f852f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xf93121
push 0xfab918
push edi
call fcn.00f943f0
push eax
push ebx
push esi
call fcn.00f92f60
push 0xfab8f8
push edi
call fcn.00f943f0
push eax
push ebx
push esi
call fcn.00f92f60
push 0xfab8d8
push edi
call fcn.00f943f0
push eax
push ebx
push esi
call fcn.00f92f60
push 0xfab8c0
push edi
call fcn.00f943f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00f92f60
push 0xfab8a0
push edi
call fcn.00f943f0
push eax
push ebx
push esi
call fcn.00f92f60
push 0xfab888
push edi
call fcn.00f943f0
push eax
push ebx
push esi
call fcn.00f92f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xf941b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00f94140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00f94140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00f94140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00f94140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xf94bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf94c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xfa687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf94c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xf94c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401a50
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x401a83
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x401a6b
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x448830
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6be53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov eax, 1
mov dword [ebp - 0x10], edi
mov ecx, 0xffff
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov word [edi], cx
lea ecx, [edi + 0x18]
mov dword [ebp - 0x18], ecx
push dword [ebp + 0xc]
mov dword [edi + 2], 0xffffffff
push dword [ebp + 8]
mov word [edi + 6], ax
push 0xc
call fcn.00498ef0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x1c]
mov dword [edi + 8], eax
mov dword [ebp - 4], 3
lea esi, [edi + 0x30]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x10]
mov ecx, esi
push 0x100
mov dword [ebp + 0x10], esi
push 4
mov byte [edi + 0x28], al
mov dword [ebp + 0xc], esi
call fcn.00498ef0
mov byte [ebp - 4], 5
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44bce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x44bcfc
xor al, al
pop esi
pop ebp
ret 8
push 0x5c
push esi
call fcn.005311b0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bd10
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
jne 0x44bd24
mov byte [ecx + esi - 1], al
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x44bfd0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d4
push esi
push edi
push 0x200
lea eax, [ebp - 0x6d4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push 0x2b4
push eax
mov word [ebp - 0x2d6], ax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0053aa50
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x2d4]
mov edi, dword [ebp + 0xc]
add esp, 0xc
shr esi, 1
push 0x400
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44c065
push esi
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.00543d06
add esp, 0xc
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x20
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00531020
lea eax, [ebp - 0x20]
push eax
push 0x6cdccc
lea eax, [esi - 1]
push eax
push edi
call fcn.00450130
add esp, 0x1c
xor eax, eax
mov word [edi + esi*2 - 2], ax
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44dde0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x44ddf8
cmp dword [ebp + 0xc], 0
jne 0x44de14
push str.pOldPath__pNewPath
push 0x9e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x44de14
int3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x44de3c
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00532810
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044ccf0
cmp dword [ebp - 4], 0
jne 0x44de74
push str.pOldPathId
push 0x9ef
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x44de74
int3
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044ccf0
cmp dword [ebp + 0x10], 0
jne 0x44deac
push str.pathID
push 0x9f4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x44deac
int3
push dword [ebp - 4]
mov ecx, esi
push dword [ebp + 8]
push 0x104
push 0x7b75e0
call fcn.0044a6f0
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
mov ecx, esi
push dword [ebp + 0xc]
push 0x104
push eax
call fcn.0044a6f0
lea eax, [ebp - 0x108]
push eax
push 0x7b75e0
call fcn.005477a4
add esp, 8
test eax, eax
je 0x44df10
lea eax, [ebp - 0x108]
push eax
push 0x7b75e0
push str.Unable_to_rename__s_to__s__n
push 0xffffffffffffffff
push esi
call fcn.0044f0a0
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44f0a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.005386e0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0xb4]
jg 0x44f10b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.00532990
lea eax, [ebp - 0x1000]
push eax
call fcn.00547530
mov eax, dword [esi + 0xb8]
add esp, 0x14
test eax, eax
je 0x44f0fe
lea ecx, [ebp - 0x1000]
push ecx
call eax
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x451440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00548980
add esp, 0x10
pop ebp
ret 0xc

Function at 0x4514a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00549533
add esp, 0x10
pop ebp
ret 0xc
Function at 0x4545b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bf06d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00453f90
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jle 0x454609
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x454609
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0052f730
inc esi
add esp, 8
cmp esi, edi
jl 0x4545f0
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x70], 0x44
call fcn.00454220
push eax
push 0
call fcn.00528440
add esp, 0x28
test eax, eax
je 0x4546c9
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
push 0x2a
call fcn.00549a7b
int3
Function at 0x45ff80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c062d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004a84f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp + 8]
push 0
push 1
push eax
call fcn.004a7b90
mov ebx, dword [ebp + 0xc]
push fcn.00547448
push 0x6d0238
push ebx
call fcn.005286a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x46000a
push edi
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.00549533
push edi
mov esi, eax
call fcn.00547257
add esp, 0x14
cmp esi, 1
je 0x46003c
push ecx
mov eax, esp
mov dword [eax], ebx
call fcn.0049a240
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00499020
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, 1
jmp 0x46000c
Function at 0x465aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x618
test eax, eax
mov edx, 0x6cca60
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
cmovne edi, eax
mov eax, dword [esi + 0x98]
test eax, eax
cmovne edx, eax
mov eax, edi
lea ebx, [ebx]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x465af0
test cl, cl
je 0x465aec
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x465af0
add eax, 2
add edx, 2
test cl, cl
jne 0x465ad0
xor eax, eax
jmp 0x465af5
sbb eax, eax
or eax, 1
test eax, eax
je 0x465b22
push 1
push esi
lea eax, [ebp - 0x618]
push 0x30a
push eax
call fcn.00461500
add esp, 0xc
lea ecx, [ebp - 0x618]
mov eax, esp
mov dword [eax], ecx
call fcn.0049a240
add esp, 4
push edi
lea ecx, [esi + 0x98]
call fcn.0049ec40
push edi
lea ecx, [esi + 0x9c]
call fcn.0049ec40
push str.package
push str._s_beta
lea eax, [ebp - 0x30c]
push 0x30a
push eax
call fcn.005323e0
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call fcn.005311b0
mov eax, dword [esi + 0x98]
add esp, 0x18
test eax, eax
je 0x465bce
cmp byte [eax], 0
je 0x465bce
push fcn.00547448
lea eax, [ebp - 0x30c]
push 0x6ccc18
push eax
call fcn.005286a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x465be1
mov edx, dword [esi + 0x98]
test edx, edx
jne 0x465ba7
xor ecx, ecx
mov edx, 0x6cca60
jmp 0x465bb9
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465bb0
sub ecx, ebx
push edi
push 1
push ecx
push edx
call fcn.00549533
push edi
call fcn.00547257
add esp, 0x14
jmp 0x465be1
push ecx
mov eax, esp
lea ecx, [ebp - 0x30c]
mov dword [eax], ecx
call fcn.0049a240
add esp, 4
lea ecx, [esi + 0x80]
call fcn.00527a90
mov ecx, esi
call fcn.00527840
test al, al
jne 0x465c05
cmp byte [esi + 0x57], al
jne 0x465c05
push 0
mov ecx, esi
call fcn.00527b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4677d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0x46785c
push ebx
mov eax, dword [edi]
mov dword [esi + 0x20], eax
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x467849
mov ecx, esi
call fcn.004684a0
push ebx
push 1
call dword [0x7b90a0]
push 0xc
push ebx
call fcn.005383ad
add esp, 8
cmp dword [esi + 0xc], 0
je 0x467849
dec dword [esi + 0xf4]
cmp dword [esi + 0xf4], 0
jg 0x467849
push 0
push 0
call dword [0x7b904c]
push dword [esi + 0xfc]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esi + 0xfc], 0
lea eax, [esi + 0xf8]
xor ecx, ecx
xchg dword [eax], ecx
push 0x1c
push edi
call fcn.005383ad
mov edi, dword [esi + 0x20]
add esp, 8
test edi, edi
jne 0x4677e0
pop ebx
xor eax, eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x4678da
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa0], 0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x4678f6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46790b
push eax
call dword [0x7b9050]
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0x469ed0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x16c]
mov dword [esi + 0x28], 0
push dword [esi + 0x168]
mov byte [esi + 0x34], 0
push dword [esi + 0x164]
push dword [esi + 0x160]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret

Function at 0x46b110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d2b44]
mov dword [ebp - 0x14], eax
mov eax, dword [0x6d2b48]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6d2b4c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6d2b50]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x46b178
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00534900
add esp, 0x10
test eax, eax
je 0x46b178
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x46bf50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x404
test eax, eax
jne 0x46c031
mov word [ebp - 0x404], ax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x404]
mov dword [ebp + 0xc], 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46c0ad
mov eax, dword [ebp - 4]
push esi
push edi
cmp eax, 1
je 0x46bfb2
cmp eax, 2
jne 0x46c064
mov esi, dword [ebp + 0xc]
and esi, 0xfffffffe
mov dword [ebp + 0xc], esi
cmp esi, 0xbebc200
jae 0x46c0a6
mov eax, esi
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005383bb
add esp, 4
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
xor edx, edx
shr ecx, 1
mov word [edi + ecx*2], dx
mov ecx, dword [ebp - 4]
cmp ecx, 1
je 0x46c018
cmp ecx, 2
jne 0x46c05b
cmp eax, 0xea
jne 0x46c070
push edi
call fcn.005383c4
add esp, 4
lea esi, [esi*2 + 0xfa0]
jmp 0x46bfb8
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x46bf6b
mov eax, 0x57
mov esp, ebp
pop ebp
ret
push edi
call fcn.005383c4
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
push 0xa
push esi
push dword [ebp + 0x10]
push edi
call fcn.00534900
push edi
mov ebx, eax
call fcn.005383c4
add esp, 0x14
test ebx, ebx
jne 0x46c093
cmp word [edi], bx
jne 0x46c064
xor eax, eax
mov ecx, 0xea
cmp ebx, esi
pop edi
pop esi
cmovg eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c0c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c10dd
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
test eax, eax
jne 0x46c1fd
mov word [ebp - 0x41c], ax
mov eax, dword [ebp + 0x10]
mov edi, 0x6cca60
test eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0x4000000
mov dword [ebp - 0x1c], 0
cmovne edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x4000000
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
push 4
push 0
push 0
push edi
mov byte [ebp - 0xf], 1
call fcn.00534ac0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005383bb
push 0
mov ebx, eax
push esi
push ebx
push edi
mov dword [ebp - 0x18], ebx
call fcn.00534ac0
mov ecx, ebx
add esp, 0x24
lea edx, [ecx + 2]
jmp 0x46c190
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c190
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ebx
call fcn.005383c4
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x4000000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x200
lea ecx, [ebp - 0x41c]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x46c0f3
mov ecx, dword [ebp - 0xc]
mov eax, 0x57
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477490
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul edx, ecx, 0x1000193
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
pop ebp
ret 4
Function at 0x47f1f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x47f222
push esi
call fcn.00482cc0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x47f21b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x47f2ae
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x47f298
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x47f24f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a0]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x47f292
cmp eax, 2
je 0x47f298
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47f240
cmp eax, 3
je 0x47f277
cmp eax, 1
jne 0x47f240
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x47f240
mov eax, dword [esi + 0x120]
add eax, edi
mov dword [edx + 8], eax
jmp 0x47f240
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0047f2e0
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x47f2d0
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.0047f2e0
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x47f2e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x47f30e
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
je 0x47f392
lea ebx, [esi + 0x78]
lea ecx, [ecx]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x47f366
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47f345
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x194]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x47f3a9
cmp eax, dword [esi + 0x60]
jb 0x47f327
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
jne 0x47f320
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret