joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4728d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 0x12
mov ebp, ecx
mov dword [eax], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [ebp + 4]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x47293e
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x47293e
mov eax, dword [esp + 0x20]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x472950
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0x12
mov dword [esp + 0x14], ecx
mov dword [ebp], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [esp + 0x10]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x4729be
mov eax, dword [ecx]
push esi
push edi
push ebx
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x4729d9
cmp dword [ebp], 0
jne 0x4729e0
mov eax, dword [esp + 0x10]
push esi
push edi
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4729e0
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x4738b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5428b7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00495ed0
mov dword [ebp - 4], 0
mov dword [edi + 0xbc], vtable.RC::RCMiniUITextInputClient.0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xf8]
mov dword [edi], vtable.RC::RCMiniUIEditView.2.0
mov dword [edi + 4], vtable.RC::RCMiniUIEditView.0
mov dword [edi + 0xbc], vtable.RC::RCMiniUIEditView.1.0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 1
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], 0xffffffff
mov dword [edi + 0xd0], 0x6d6d6d
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe4], 1
mov word [edi + 0xe8], 0x100
mov byte [edi + 0xea], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf4], 0x1000100
call fcn.004802c0
mov byte [ebp - 4], 2
push 0x38
mov word [edi + 0x168], 0
mov byte [edi + 0x175], 0
call fcn.00509b07
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00404660
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.00404660
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [edi + 0x178], esi
mov byte [esi + 0x30], 0
mov eax, dword [edi + 0x178]
movlpd qword [ebp - 0x1c], xmm0
push 0x68
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x170], eax
mov dword [edi + 0xfc], 0xff9933
mov dword [edi + 0x10c], 0xffffff
mov dword [edi + 0x14], 0xffffff
mov dword [edi + 0x24], 0
mov ecx, dword [edi + 0x58]
or dword [ecx + 0x18], 2
call fcn.00509b07
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.0050c400
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi + 8], 0
call fcn.00404660
mov byte [ebp - 4], 6
lea ecx, [edi + 0x24]
call fcn.00404660
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x4c], eax
lea esi, [edi + 0x60]
mov dword [edi + 0x50], 0
push 0
mov byte [edi + 0x5c], 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004979e0
mov dword [esi], eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x58], eax
movups xmmword [edi + 0x3c], xmm0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf0], edi
mov dword [eax + 0xc], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4750c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x59e074]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, ecx
push edi
push dword [ebp + 8]
call fcn.004799b0
test byte [ebp + 8], 2
jne 0x47518c
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x475149
push 0x7ed
mov ecx, esi
call fcn.00475c60
test al, al
je 0x47518c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.00496fe0
mov ecx, esi
call fcn.00475ea0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0xf0], 0
je 0x47518c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x47516c
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x475171
mov byte [esp + 8], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [esp + 0x10]
call fcn.004969d0
mov ecx, esi
call fcn.00475ea0
mov ecx, dword [esp + 0xc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4751b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x59e074]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x178]
mov cl, byte [eax + 0x30]
mov byte [eax + 0x30], 0
and edi, 2
je 0x475213
cmp byte [esi + 0x168], 0
je 0x475213
mov eax, dword [esi + 0x178]
mov ecx, esi
mov byte [eax + 0x30], 0
call fcn.00475460
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x4751fe
cmp dword [esi + 0xf0], 0
je 0x47525f
cmp byte [esi + 0x175], cl
jne 0x47525f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x475242
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x475247
mov byte [esp + 8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xf0]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x10]
call fcn.004969d0
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x10]
sub eax, dword [esi + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movaps xmm0, xmmword [esp + 0x10]
push 1
push ecx
mov ecx, esi
mov byte [esi + 0xf4], 0
movaps xmmword [esp + 0x18], xmm0
call dword [eax + 0xa4]
mov ecx, esi
call fcn.00475ea0
test edi, edi
je 0x4752f4
cmp byte [esi + 0x80], 0
je 0x4752f4
mov eax, dword [esi + 0xa4]
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x18], 9
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x20], eax
mov ecx, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
push eax
call fcn.0047a270
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x476000
Capabilities:
Access peb ldr_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
push 0xffffffffffffffff
push 0x542bb8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [edi], 0x82080000
mov dword [edi + 4], 0
xorps xmm0, xmm0
mov dword [edi + 8], 0
mov word [edi + 0xc], ax
mov byte [edi + 0x20], al
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x44], al
push 0x18
movups xmmword [edi + 0x10], xmm0
call fcn.00509b07
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00404660
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi + 0x48], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x476390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542c79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x14
mov dword [ebp - 0x20], edi
call fcn.00509b07
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
push 0x48
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x1000000
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0x14], 0
setne al
mov byte [esi + 0x10], al
mov dword [ebp - 4], 0xffffffff
push 0x34
mov dword [edi], esi
call fcn.00509b07
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x34
push 0
push esi
call fcn.0050c400
add esp, 0x10
mov dword [esi], vtable.RC::RCWindowHookerProc.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.RC::RCWndShadow::TWndHook.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], esi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 4
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509af6
mov esp, ebp
pop ebp
ret
Function at 0x4780a0
Capabilities:
Access peb ldr_data
Get number of processors

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 0x542f7b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x59e074]
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], vtable.RC::RCMiniUIObject.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.RC::RCMiniUIView.0
mov dword [esi + 4], vtable.RC::RCMiniUIView.1.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call fcn.004802c0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x64
mov word [esi + 0x80], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 1
mov word [esi + 0xa0], 0x101
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 0
mov byte [esi + 0xae], 0
mov dword [esi + 0xb0], 0x3e8
mov word [esi + 0xb4], 0
mov byte [esi + 0xb6], 1
movups xmmword [esi + 0x90], xmm0
call fcn.00509b07
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov byte [edi + 0x40], 0
mov dword [edi + 0xc], 0xf
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004111a0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x4c]
sub esp, 8
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047a990
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x54]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004620f0
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x84], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47b0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 8
push esi
mov esi, ecx
push edi
cmp eax, 0xffffffff
jne 0x47b1eb
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
comisd xmm0, xmmword [eax + 0x10]
jbe 0x47b118
cmp dword [eax + 0x70], 0
jle 0x47b118
mov dword [eax + 0x70], 0xffffffff
mov eax, dword [esi + 8]
cmp dword [eax + 0x70], 0
movsd xmm1, qword [eax + 0x68]
jle 0x47b12e
movsd xmm0, qword [eax + 0x18]
addsd xmm0, xmm1
jmp 0x47b136
movaps xmm0, xmm1
subsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [0x574228]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x47b2a2
cmp dword [eax + 0x70], 0
jge 0x47b2a2
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x574228]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 0xffffffff
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x47b1ac
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x47b1ac
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47b1c3
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0x7f04
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xfffffffe
jne 0x47b2bf
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
subsd xmm0, qword [eax + 0x30]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x28]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x47b2a2
mov ecx, dword [esi + 0xc]
push 0xfffffffffffffffe
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x574228]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 1
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x47b26a
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x47b26a
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47b281
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
sub esp, 0xc
call fcn.0047afe0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47fbb0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x59e074]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x5a4c4c]
test eax, eax
jne 0x47fc5f
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push str.mshtml.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x47fc4a
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x47fc49
push esi
push edi
push dword [esp + 0x14]
push str.mshtml.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47fc42
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x565968
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x47fc42
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x5a4c4c], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x5a4c4c]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x5a4c4c], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00509af6
add esp, 0x10
ret
Function at 0x484c50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544431
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00509b07
push eax
push 8
mov dword [esi], eax
call fcn.00404080
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00509b07
push eax
push 8
mov dword [esi], eax
call fcn.00404080
add esp, 0x18
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea esi, [edi + 0x40]
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov byte [ebp - 4], 7
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 8
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 9
push 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 0xa
movaps xmm0, xmmword [0x5743f0]
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
xorps xmm0, xmm0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov byte [edi + 0xc0], 0
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48c230
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
mov eax, dword [0x59e074]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
test ecx, ecx
ja 0x48c28a
jb 0x48c27e
cmp eax, esi
jae 0x48c28a
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
push 0
push eax
push ecx
push dword [esp + 0x20]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 8], eax
test eax, eax
jne 0x48c2bc
call fcn.0046d180
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00509af6
add esp, 0x24
ret 0x18
mov ecx, ebx
test esi, esi
jne 0x48c2c8
mov esi, dword [esp + 0x20]
sub esi, ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push 0
mov dword [edi + 4], esi
push dword [edi + 4]
mov dword [edi + 0x18], eax
push ecx
push edx
push eax
push dword [edi + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x48c321
call fcn.0046d180
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00509af6
add esp, 0x24
ret 0x18
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00509af6
add esp, 0x24
ret 0x18