joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4559f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5568b1
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5ec3c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x601098]
cmp eax, dword [ecx + 8]
jle 0x455b78
push 0x601098
call fcn.0050a9ba
add esp, 4
cmp dword [0x601098], 0xffffffff
jne 0x455b78
mov dword [ebp - 4], 0
call fcn.00455ba0
mov edi, eax
cmp edi, 0xffffffff
je 0x455a71
push edi
push 7
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x455b65
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edi, dword [ebp + 8]
mov ecx, 0xfc00
and ax, cx
or ax, si
movzx eax, ax
push eax
push 7
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x455ace
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
and esi, 0x3ff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
and edi, 0xfffffc00
or edi, esi
jmp 0x455b65
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push 7
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x455af2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
jmp 0x455b65
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x1a
mov ebx, eax
and ebx, 0x3ff
cmp cx, bx
jne 0x455b36
shr ax, 0xa
mov ecx, 1
movzx eax, ax
cmp cx, ax
je 0x455b2f
mov ecx, 4
cmp cx, ax
je 0x455b2f
mov edi, 0x81a
jmp 0x455b65
mov edi, 0x41a
jmp 0x455b65
xor esi, esi
mov eax, esi
shl eax, 0xa
or eax, ebx
push eax
push 7
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x455b5d
inc esi
cmp si, 0x20
jb 0x455b38
mov edi, 0x409
jmp 0x455b65
movzx edi, si
shl edi, 0xa
or edi, ebx
push 0x601098
mov dword [0x601060], edi
call fcn.0050a970
add esp, 4
mov eax, dword [0x601060]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x457b70
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556c00
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x457d12
cmp eax, 0xffffffff
jne 0x457d12
call fcn.0044f060
push 2
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], str.SessionUtils.cpp
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x20], 0x4d
call fcn.0041a580
mov edx, str.ProcessIdToSessionId_failed:
lea ecx, [ebp - 0xc8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xc8]
call fcn.004301e0
lea ecx, [ebp - 0x70]
call fcn.0044dd10
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
push 0xffffffffffffffff
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x457c8c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x457c8c
cmp dword [ebp - 0x18], 4
jne 0x457c8c
mov esi, dword [eax]
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, esi
jmp 0x457d12
call fcn.0044f060
push 1
lea ecx, [ebp - 0x168]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], str.SessionUtils.cpp
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x20], 0x57
call fcn.0041a580
mov edx, str.WTSQuerySessionInformation_failed:
lea ecx, [ebp - 0x168]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x168]
call fcn.004301e0
lea ecx, [ebp - 0x110]
call fcn.0044dd10
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
Function at 0x457d40
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
sub esp, 0x14
mov eax, dword [0x5ec3c8]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
push ebp
mov ebp, edx
test eax, eax
jne 0x457d74
xor al, al
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0050a47b
add esp, 0x14
ret
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
xor esi, esi
push eax
push 1
push esi
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x457de4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x457de4
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov esi, eax
test edx, edx
je 0x457de4
xor edi, edi
cmp ebp, 0xfffffffa
je 0x457dbd
cmp ebp, dword [edi + eax]
jne 0x457ddc
mov ecx, dword [edi + eax + 8]
test ecx, ecx
je 0x457ddc
push dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [esp + 0x18]
je 0x457e06
mov edx, dword [esp + 0x1c]
inc ebx
add edi, 0x10
cmp ebx, edx
jb 0x457db3
xor bl, bl
test esi, esi
je 0x457df1
push esi
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov ecx, dword [esp + 0x20]
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.0050a47b
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
add ebx, ebx
mov eax, dword [eax + ebx*8 + 4]
mov bl, 1
mov dword [ecx], eax
jmp 0x457de6
Function at 0x458540
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x5ec3c8]
xor eax, esp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4585d2
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x458592
cmp eax, 2
jne 0x4585af
mov ecx, dword [esp + 8]
test esi, esi
je 0x4585cc
test ecx, ecx
je 0x4585c7
test cl, 1
jne 0x4585af
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4585cc
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0050a47b
add esp, 0xc
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.0050a47b
add esp, 0xc
ret 0xc

Function at 0x459ce0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
push 0
push 0x40000001
push dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], esi
push edi
mov dword [ebp - 0x24], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x459d46
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.0043b770
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
push 0x40000001
push dword [ebp + 8]
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x459da8
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.00419420
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x459dde
nop
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edi, dword [ebp - 0x20]
cmp edx, 0x10
cmovae eax, edi
cmp byte [ecx + eax - 1], 0
jne 0x459dde
dec ecx
lea eax, [ebp - 0x20]
cmp edx, 0x10
mov dword [ebp - 0x10], ecx
cmovae eax, edi
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x459db0
mov ecx, dword [ebp - 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
movups xmm0, xmmword [ebp - 0x20]
mov dword [esi + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [esi + 0x10], xmm0
pop esi
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
Function at 0x45a9a0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5e02d0
push 0x551705
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5ec3c8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x38], esi
mov eax, dword [edx + 0xc]
push dword [eax]
mov eax, dword [edx + 8]
push dword [eax]
mov ecx, dword [edx + 4]
push dword [ecx]
mov ecx, dword [edx]
push dword [ecx]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov edx, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c160
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x45c2e1
cmp dword [ebp - 0x1c], 0
mov cl, 1
mov edi, dword [ebp - 0xc]
setne al
mov byte [ebp - 0x14], al
movzx eax, cl
mov byte [ebp - 8], cl
sub eax, 0
jne 0x45c1d5
test edi, edi
je 0x45c1d5
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
xor eax, eax
mov word [ebp - 0x18], ax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process2]
test eax, eax
je 0x45c304
mov ax, word [ebp - 0x18]
movzx esi, word [ebp - 0x1c]
test ax, ax
mov edi, dword [ebp - 0xc]
mov edx, esi
movzx ecx, ax
cmovne edx, ecx
mov dword [ebp - 0x10], esi
mov cl, 1
mov dword [ebp - 0x14], edx
movzx eax, cl
mov byte [ebp - 8], cl
sub eax, 0
jne 0x45c23b
test edi, edi
je 0x45c23b
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x45c327
mov eax, 0x7ffe0030
push 0
push 0x2000000
push 3
push 0
push 7
push 0x100080
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45c296
push 0
push 0x100
push 0x5efa80
push esi
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
test eax, eax
jne 0x45c2ab
test esi, esi
je 0x45c296
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, 0x100
jae 0x45c28b
mov dword [0x5efc80], 0x5efa80
mov dword [0x5efc84], eax
test esi, esi
je 0x45c2cc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor cl, cl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x5ffab0
mov dword [ebp - 0xc], edi
jmp 0x45c1b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor cl, cl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x5ffab0
mov dword [ebp - 0xc], edi
jmp 0x45c21a
add eax, 0x1e
jmp 0x45c254
Function at 0x466350
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0x50
push 0xffffffffffffffff
push 0x55781d
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov byte [ecx], 0
mov edi, dword [ebx + 0x64]
test edi, edi
je 0x4663c4
mov byte [ebp + 0x4b], 0
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 8]
lea eax, [ebp + 0x4b]
push eax
lea eax, [ebp + 0x58]
mov ecx, esi
push eax
call dword [0x5845b0]
mov ecx, edi
call esi
cmp byte [ebp + 0x4b], 0
jne 0x46650e
mov eax, dword [ebp + 0x6c]
lea edi, [ebx + 0x84]
mov esi, dword [edi + 0x10]
lea edx, [ebp + 0x58]
cmp eax, 8
cmovae edx, dword [ebp + 0x58]
cmp dword [edi + 0x14], 8
jb 0x4663e2
mov edi, dword [edi]
mov ebx, dword [ebp + 0x68]
cmp esi, ebx
jne 0x46640f
test esi, esi
je 0x46650e
sub edi, edx
movzx ecx, word [edi + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x46640c
add edx, 2
sub esi, 1
jne 0x4663f3
jmp 0x46650e
mov eax, dword [ebp + 0x6c]
mov esi, dword [ebp + 0x58]
lea ecx, [ebp + 0x58]
cmp eax, 8
mov edx, ebx
push 4
cmovae ecx, esi
push str.http
push ecx
call fcn.0042fd00
add esp, 0xc
test eax, eax
jne 0x46650e
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
cmp dword [ebp + 0x6c], 8
mov dword [ebp + 0x14], 0
movlpd qword [ebp + 0x20], xmm0
mov byte [eax], 1
lea eax, [ebp + 0x58]
cmovae eax, esi
movlpd qword [ebp + 0x2c], xmm0
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0xc]
push eax
movlpd qword [ebp + 0x34], xmm0
movlpd qword [ebp + 0x3c], xmm0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0xc], 0x3c
mov dword [ebp + 0x18], str.open
mov dword [ebp + 0x28], 1
mov dword [ebp + 0x10], 0x100000
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x46650e
call fcn.0044f060
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp]
mov dword [ebp], str.EmbeddedBrowser.cpp
lea ecx, [ebp - 0xac]
mov dword [ebp + 4], 0x34d
call fcn.0041a580
mov edx, str.ShellExecuteEx_failed:
lea ecx, [ebp - 0xac]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp + 8]
mov dword [ebp + 8], eax
lea ecx, [ebp - 0xac]
call fcn.004301e0
lea ecx, [ebp - 0x54]
call fcn.0044dd10
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
lea ecx, [ebp + 0x58]
call fcn.004196c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.0050a47b
lea esp, [ebp + 0x50]
pop ebp
ret 0x1c
Function at 0x469df0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557b00
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5ec3c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfa1
push dword [edi + 0x30]
mov dword [edi], 0x5d0e48
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 4]
test eax, eax
je 0x469e4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x469e46
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
cmp dword [edi + 0xa0], 0
lea ecx, [edi + 0xa0]
je 0x469e61
call fcn.00467790
lea ecx, [edi + 0x7c]
call fcn.004196c0
lea ecx, [edi + 0x64]
call fcn.004196c0
mov ebx, dword [edi + 0x60]
test ebx, ebx
je 0x469e8b
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5845b0]
mov ecx, ebx
call esi
mov eax, dword [edi + 0x58]
lea esi, [edi + 0x58]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00428000
push 0x40
push dword [esi]
call fcn.0050a4c5
mov esi, dword [edi + 0x54]
add esp, 8
test esi, esi
je 0x469ec4
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push esi
call fcn.0050a4c5
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x469ee2
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5845b0]
call esi
mov ebx, dword [edi + 0x4c]
test ebx, ebx
je 0x469efc
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5845b0]
mov ecx, ebx
call esi
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x469f1a
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5845b0]
call esi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x469f27
push eax
call fcn.0050c2e7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b7f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557fd0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5ec3c8]
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 ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x9c], eax
cmp eax, 4
ja case.default.0x46b832
jmp dword [eax*4 + 0x46b948]
push 0x13
push 0
push 0
push 0
push 0
push dword [ebx + 0x30]
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
jmp 0x46b929
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov al, 1
jmp 0x46b929
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xffffffffffffffff
mov esi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov al, 1
jmp 0x46b929
mov esi, dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x13
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
jmp 0x46b929
call fcn.0044f060
push 1
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.HtmlUI.cpp
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x18], 0x116
call fcn.0041a580
mov edx, str.unsupported_ZOrderPosition
lea ecx, [ebp - 0xbc]
call fcn.0041a5e0
lea ecx, [ebp - 0x64]
call fcn.0044dd10
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x64], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor al, al
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.0050a47b
mov esp, ebp
pop ebp
ret 4
Function at 0x47a990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559103
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x5ec3c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0xb
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], 0x5d3948
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
push dword [ebx + 0xc]
mov byte [ebp - 4], 2
push dword [ebx + 8]
mov byte [esi + 0x48], 0
call fcn.00480ea0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x47acb0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x148]
push esi
call fcn.004f3843
add esp, 4
test eax, eax
jne 0x47ad9c
mov edx, dword [esp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
push ebp
mov ebp, dword [ebx + 0x180]
push edi
xor ecx, eax
movzx eax, byte [esp + 0x16]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x194]
and ecx, eax
mov eax, dword [ebx + 0x188]
mov edi, dword [eax + ecx*8 + 4]
lea ecx, [eax + ecx*8]
cmp edi, ebp
je 0x47ad3e
mov eax, dword [ecx]
cmp edx, dword [edi + 8]
je 0x47ad40
nop word [eax + eax]
cmp edi, eax
je 0x47ad3e
mov edi, dword [edi + 4]
cmp edx, dword [edi + 8]
jne 0x47ad30
jmp 0x47ad40
xor edi, edi
test edi, edi
je 0x47ad8c
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x47ad5e
cmp eax, edi
jne 0x47ad56
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
jmp 0x47ad66
mov ebp, dword [edi + 4]
mov dword [ecx + 4], ebp
jmp 0x47ad66
cmp eax, edi
jne 0x47ad66
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [ebx + 0x184]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
call fcn.0047dee0
push 0x28
push edi
call fcn.0050a4c5
add esp, 8
push esi
call fcn.004f3868
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
ret 4
push eax
call fcn.004f3949
int3
Function at 0x47fb70
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
movzx edx, byte [eax + 8]
push ebx
xor edx, 0x811c9dc5
mov ebx, dword [esp + 8]
push ebp
imul edx, edx, 0x1000193
lea ebp, [eax + 8]
push esi
push edi
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x47fbdf
cmp esi, eax
jne 0x47fbd6
mov eax, dword [edi + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x47fbe8
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x47fbe8
cmp esi, eax
jne 0x47fbec
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
dec dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [ecx], esi
lea ecx, [ebp + 4]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.0047dee0
push 0x28
push dword [esp + 0x1c]
call fcn.0050a4c5
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8