joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466310
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b45
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00445ce0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4663a3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xccccccc
je 0x466509
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004c3653
mov ecx, dword [ebx]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 4]
sub ecx, 0x10
push ecx
call fcn.00440d70
add eax, 0x10
add esp, 8
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x502460]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x502460]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4664ab
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.004d71d0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004c3c50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x46648d
cmp ebx, 0x200
jae 0x46648b
shl ebx, 3
cmp ebx, ecx
jae 0x46648d
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0046ae20
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00445ce0
mov edx, dword [eax]
jmp 0x4664ae
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x4664d9
mov dword [ecx + eax*8], esi
jmp 0x4664e8
cmp edi, edx
jne 0x4664e2
mov dword [ecx + eax*8], esi
jmp 0x4664ec
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4664ec
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004c1a7a
int3
Function at 0x46ae20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x46af7a
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00465e50
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x46af4d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x46aed3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x46af43
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x46af0d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x46af05
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x46af40
cmp edi, edx
je 0x46af1d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x46af56
cmp edi, edx
jne 0x46af11
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x46ae82
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x46af40
push str.invalid_hash_bucket_count
call fcn.004c1a7a
int3
Function at 0x46b370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push esi
push 0x190
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], SysReAllocStringLen
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0
call fcn.004c8d7a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46b4af
mov eax, dword [0x54fc88]
lea esi, [ebp + 0xc]
push edi
inc eax
mov dword [ebp - 0x1c], ebx
mov ecx, 0x64
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], eax
lea esi, [ebx + 0x20]
lea eax, [ebp - 0x3c]
mov dword [esi], 1
push eax
push 0
push 0x104d
push dword [ebp + 8]
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
cmp eax, 0xffffffff
je 0x46b4af
mov eax, dword [0x54af1c]
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x188], eax
test eax, eax
je 0x46b458
mov dword [eax + 0x18c], ebx
cmp byte [0x54f261], 0
mov dword [0x54af1c], ebx
je 0x46b47a
lock inc dword [esi]
push ebx
push 0
push 0x4b2f90
call fcn.004d6098
add esp, 0xc
xor ecx, ecx
mov eax, 2
cmp byte [0x54f270], cl
cmovne eax, ecx
push eax
mov eax, dword [ebx + 0xd4]
shr eax, 1
not al
and al, 1
movzx eax, al
push eax
push ebx
call fcn.004bbe00
add esp, 0xc
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
push edi
cmp esi, 0x65
jne 0x470679
mov edi, dword [0x54fea4]
jmp 0x470695
cmp esi, 0x66
jne 0x470686
mov edi, dword [0x54fea8]
jmp 0x470695
cmp esi, 0x68
jne 0x470791
mov edi, dword [0x54feac]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x470791
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x470791
cmp esi, 0x65
jne 0x470702
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x54af08]
push esi
push dword [esi + 0x24]
call fcn.00475920
push esi
call fcn.004a8350
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x66
jne 0x47071b
push dword [ebp - 0x1c]
push edi
call fcn.004a8070
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x68
jne 0x470791
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0xd4], 8
je 0x47074c
push 0x10
push str.Process_Explorer_Error
push str.Properties_not_supported_on_pagefile_backed_sections
push dword [0x54fea4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0xe0], 0
jne 0x470775
push 0x10
push str.Process_Explorer
push str.Not_a_valid_DLL
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lock inc dword [ecx + 0x20]
mov eax, dword [0x532de8]
push ecx
push 0
push 0x4a8370
mov dword [ecx + 0x24], eax
call fcn.004d6098
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x475410
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x532454], 0
jne 0x47543c
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push ebx
xor bl, bl
cmp dword [0x54f9bc], 0
je 0x4754bd
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c53a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x54f9bc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4754bd
mov eax, str._Filter_by_name_
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4754ab
test dx, dx
je 0x4754a7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4754ab
add ecx, 4
add eax, 4
test dx, dx
jne 0x475485
xor eax, eax
jmp 0x4754b0
sbb eax, eax
or eax, 1
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x477ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x477f18
cmp esi, 1
je 0x477f18
cmp esi, 0xffffffff
je 0x477ee2
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x50]
lea ebx, [edi + 0x50]
cmp ecx, 0xffffffff
je 0x477f54
xor eax, eax
test ecx, ecx
push 5
sete al
lea eax, [eax*4 + 4]
push dword [eax + edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [ebx], esi
call fcn.004659d0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push dword [edi + esi*4 + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x477f34
push 5
push dword [edi + esi*4 + 4]
call ebx
xor eax, eax
test esi, esi
push 0
sete al
lea eax, [eax*4 + 4]
push dword [eax + edi]
call ebx
cmp dword [edi + 0x28], esi
je 0x477f51
mov dword [edi + 0x28], esi
lea ebx, [edi + 0x50]
mov ecx, edi
mov dword [ebx], esi
call fcn.004659d0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x478090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x35c
pop ebp
jmp fcn.00464e90
Function at 0x478d80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push esi
push esi
push esi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478df6
push edi
push dword [ebp - 4]
call fcn.004c8d7a
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478dec
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
push eax
push edi
call ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x478dec
add eax, eax
push eax
call fcn.004c8d7a
add esp, 4
mov esi, eax
push dword [ebp - 4]
push esi
push edi
call ebx
push edi
call fcn.004c8d5f
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479a50
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c53a0
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00478cc0
add esp, 0x14
cmp dword [0x54a9bc], 1
jl 0x479aad
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call fcn.00478150
add esp, 8
mov esi, eax
jmp 0x479b5e
lea eax, [ebp - 0x418]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.ACLUI.dll_CreateSecurityPage
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x479b62
cmp byte [ebp + 8], al
je 0x479b37
push 0x50d8c0
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.004d6355
lea ecx, [ebp - 0x414]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479b00
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push str.Process_Explorer
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x479b52
push str.Process_Explorer
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
xor eax, eax
cmp esi, 2
cmove esi, eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x479b7e
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x54fea0]
push str.Error_configuring_auto_start
call fcn.004aae60
add esp, 8
test esi, esi
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret

Function at 0x479c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x479ca9
push ebx
push 0x104
push dword [ebp + 0x14]
call fcn.004c913a
add esp, 0xc
mov al, 1
pop ebx
pop ebp
ret
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479cb0
mov ebx, dword [ebp + 0x10]
sub ecx, edx
sar ecx, 1
add ebx, 2
add ebx, ecx
push esi
push edi
lea eax, [ebx + ebx]
push eax
call fcn.004c8d7a
mov edi, dword [ebp + 0xc]
add esp, 4
mov esi, eax
test edi, edi
je 0x479d3e
nop
cmp word [edi], 0
je 0x479d3e
push edi
push ebx
push esi
call fcn.004c913a
push 0x3b
push esi
call fcn.004c56b8
add esp, 0x14
test eax, eax
je 0x479d02
xor ecx, ecx
mov word [eax], cx
push 0x4f9dfc
push ebx
push esi
call fcn.004d6355
push dword [ebp + 8]
push ebx
push esi
call fcn.004d6355
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x479d52
push 0x3b
push edi
call fcn.004c56b8
add esp, 8
test eax, eax
lea edi, [eax + 2]
cmove edi, eax
test edi, edi
jne 0x479ce0
push 2
push esi
xor bl, bl
call fcn.004c34a9
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
push 0x104
push dword [ebp + 0x14]
call fcn.004c913a
add esp, 0xc
mov bl, 1
push 2
push esi
call fcn.004c34a9
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x479d80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004c39f0
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x479e71
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x1004], eax
jne 0x479e47
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479de5
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x479e47
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x479e0f
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0xfdc]
sub eax, dword [ebp - 0xfe4]
cmp eax, 1
jle 0x479e47
push 0x7e8
lea eax, [ebp - 0xfd4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x479e47
push esi
mov edi, esi
call ebx
test eax, eax
je 0x479e5e
push esi
call ebx
push eax
call ebx
test eax, eax
jne 0x479e47
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x479e5e
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x479db6
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x479fb0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x54f9e0]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x479fe7
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
nop word [eax + eax]
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x47a084
mov esi, dword [esi + 0x414]
test esi, esi
jne 0x479fd0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push edi
push 0x4f9d20
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x47a0b1
push 0x418
call fcn.004c8d7a
add esp, 4
mov ebx, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetLengthSid]
call edi
push eax
call fcn.004c8d7a
add esp, 4
mov esi, eax
mov dword [ebx], esi
push dword [ebp + 8]
call edi
push dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
push dword [ebp + 0xc]
lea eax, [ebx + 4]
push 0x104
push eax
call fcn.004c913a
push dword [ebp + 0x14]
lea eax, [ebx + 0x20c]
push 0x104
push eax
call fcn.004c913a
mov eax, dword [0x54f9e0]
add esp, 0x18
mov dword [ebx + 0x414], eax
mov al, 1
mov dword [0x54f9e0], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004c913a
add esi, 0x20c
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004c913a
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a760
sub ecx, edx
lea edx, [ebp - 0x20c]
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x47a780
sub edx, esi
sar edx, 1
lea ebx, [edx + 0x13]
add ebx, ecx
lea eax, [ebx + ebx]
push eax
call fcn.004c8d7a
mov esi, eax
lea eax, [ebp - 0x206]
push 0x5c
push eax
call fcn.004c56b8
push 0xc
xor ecx, ecx
push str.SystemRoot_
push edi
mov word [eax], cx
call fcn.004c95b0
add esp, 0x18
test eax, eax
jne 0x47a7fb
lea eax, [edi + 2]
push 0x5c
push eax
call fcn.004c56b8
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s
push ebx
push esi
call fcn.00415290
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push 4
push 0x4fa4f4
push edi
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x47a830
lea eax, [edi + 8]
push eax
push ebx
push esi
call fcn.004c913a
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
cmp word [edi], 0x5c
push edi
jne 0x47a846
movzx eax, word [ebp - 0x20c]
push eax
push str._c:_s
jmp 0x47a852
lea eax, [ebp - 0x20c]
push eax
push str._sSystem32Drivers_s
push ebx
push esi
call fcn.00415290
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret

Function at 0x47a870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x4f9d20
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004c913a
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 4]
mov ebx, dword [ebp + 0x18]
add esp, 0xc
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov dword [ebx], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x47a8ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004c8d7a
add esp, 4
mov esi, eax
push esi
push dword [ebp + 0x14]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47a947
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x30]
push dword [esi + 0x34]
call fcn.004904f0
push str.FileDescription
push esi
call fcn.00492ab0
add esp, 0x18
test eax, eax
jne 0x47a90d
push str.ProductDescription
push esi
call fcn.00492ab0
add esp, 8
test eax, eax
je 0x47a918
push eax
call fcn.004c8d00
mov dword [edi], eax
add esp, 4
push str.CompanyName
push esi
call fcn.00492ab0
add esp, 8
test eax, eax
jne 0x47a93c
push str.Copyright
push esi
call fcn.00492ab0
add esp, 8
test eax, eax
je 0x47a947
push eax
call fcn.004c8d00
mov dword [ebx], eax
add esp, 4
push esi
call fcn.004c8d5f
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret