joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9442
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10138008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x14
mov dword [eax], vtable.RC::RCMiniUIWindow.0
call fcn.100bcc88
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea esi, [edi + 4]
mov dword [edi], 1
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100292f0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10024040
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [ebp - 4], 7
mov edi, eax
push 0x78
mov dword [edi], vtable.RC::RCMiniUIDialogView.0
lea esi, [edi + 0x4c]
mov dword [edi + 0x10], 0xae
mov dword [edi + 0x14], 0xaf
mov dword [edi + 0x1c], edi
mov dword [edi + 0x24], edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], vtable.RC::RCMiniUIBounceWndHandler.0
mov dword [edi + 0x48], edi
call fcn.100bcc88
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
movaps xmm0, xmmword [0x101154b0]
movsd xmm1, qword [0x101152b0]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x10115480]
movsd qword [eax + 0x18], xmm1
movups xmmword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm1
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov byte [ebp - 4], 9
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x54], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
xorps xmm0, xmm0
mov dword [eax + 0x64], 0
movsd qword [eax + 0x68], xmm0
mov dword [eax + 0x70], 1
mov dword [eax + 0x38], SysReAllocStringLen
mov dword [eax + 0x3c], SysReAllocStringLen
mov byte [ebp - 4], 7
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 0xd
push 0x60
mov byte [esi], 0
mov byte [edi + 0x4d], 0xff
call fcn.100bcc88
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.10038a10
mov byte [ebp - 4], 0xd
mov dword [edi + 0xc], eax
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 0x1003ae60
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8438
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10138008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003afd3
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1003afd3
cmp dword [eax + 4], 0
je 0x1003afd3
call fcn.1004c640
mov edi, eax
test edi, edi
je 0x1003afd3
mov eax, dword [ebp + 8]
sub eax, 0x10d
je 0x1003afc4
sub eax, 1
je 0x1003afac
sub eax, 1
jne 0x1003afd3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 4], 0
mov ebx, eax
mov dword [ebp - 0x30], ebx
je 0x1003afd3
mov ecx, edi
call fcn.1004e260
push ebx
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
test ebx, ebx
je 0x1003afd3
lea ecx, [ebp - 0x28]
call fcn.100047b0
mov dword [ebp - 4], 0
test dword [ebp + 0x10], 0x800
je 0x1003af85
push 0
push 0
push 0x800
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x1003af85
mov esi, eax
shr esi, 1
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005070
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.1004e370
lea ecx, [ebp - 0x28]
call fcn.10004910
cmp dword [eax + 0x14], 8
jb 0x1003af75
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push 0x800
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004720
jmp 0x1003afd3
mov byte [edi + 8], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
jmp 0x1003afd3
mov ecx, edi
mov byte [edi + 8], 0
call fcn.1004e260
mov byte [edi + 0x10], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bcc77
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1003dba0
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 0x1003dc0e
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 0x1003dc0e
mov eax, dword [esp + 0x20]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x1003dc20
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 0x1003dc8e
mov eax, dword [ecx]
push esi
push edi
push ebx
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x1003dca9
cmp dword [ebp], 0
jne 0x1003dcb0
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 0x1003dcb0
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x1003ed80
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x1003ede5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x1003edc5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1003eddb
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003eddb
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x1003eddb
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x1013e5c0], 0
jne 0x1003ee25
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1003ee17
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1013e5c4], eax
mov byte [0x1013e5c0], 1
jmp 0x1003ee2a
mov eax, dword [0x1013e5c4]
mov byte [0x1013e5c0], 1
jmp 0x1003ee2a
mov eax, dword [0x1013e5c4]
test eax, eax
je 0x1003ee40
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x1003f6c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x100ea1e3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10138008]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x40c], 0
mov dword [ebp + 0x40c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call fcn.100bea00
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x1003f78e
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x1003f78e
call fcn.1003ea90
mov edi, eax
jmp 0x1003f899
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1003f7ab
call fcn.1003ea90
jmp 0x1003f88c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x1003f7c6
call fcn.1003ea90
jmp 0x1003f88c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1003f7e4
mov edi, 0x8007000e
jmp 0x1003f88e
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
test edx, edx
ja 0x1003f8db
jb 0x1003f808
cmp eax, 0xffffffff
ja 0x1003f8db
cmp eax, 0x400
jbe 0x1003f821
push eax
lea ecx, [ebp]
call fcn.10042840
mov dword [ebp - 4], 1
jmp 0x1003f846
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x1003f846
mov eax, dword [ebp]
test eax, eax
jne 0x1003f854
mov edi, 0x8007000e
jmp 0x1003f88e
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1003f86f
call fcn.1003ea90
jmp 0x1003f88c
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x428]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.10040520
mov edi, eax
test esi, esi
je 0x1003f899
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1003f8ad
lea ecx, [ebp]
call fcn.10042830
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.100bcc77
lea esp, [ebp + 0x414]
pop ebp
ret 0x10
push 0x80070216
call fcn.10013c30
int3
Function at 0x10042eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea8b9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10138008]
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.100bcc88
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.100bcc88
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x34
push 0
push esi
call fcn.100bea00
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.100bcc77
mov esp, ebp
pop ebp
ret
Function at 0x10045020
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 0x100eac7b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10138008]
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.1.0
mov dword [esi + 4], vtable.RC::RCMiniUIView.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call fcn.1004d9f0
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.100bcc88
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.100292f0
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.100479a0
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.10024040
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 0x10048390
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 0x1004849b
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
comisd xmm0, xmmword [eax + 0x10]
jbe 0x100483c8
cmp dword [eax + 0x70], 0
jle 0x100483c8
mov dword [eax + 0x70], 0xffffffff
mov eax, dword [esi + 8]
cmp dword [eax + 0x70], 0
movsd xmm1, qword [eax + 0x68]
jle 0x100483de
movsd xmm0, qword [eax + 0x18]
addsd xmm0, xmm1
jmp 0x100483e6
movaps xmm0, xmm1
subsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [0x10115330]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x10048552
cmp dword [eax + 0x70], 0
jge 0x10048552
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 [0x10115330]
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 0x1004845c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x1004845c
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 0x10048473
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 0x1004856f
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 0x10048552
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 [0x10115330]
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 0x1004851a
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x1004851a
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 0x10048531
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.10048290
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 0x10048a90
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 0x100eb0c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x10138008]
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.100bcc88
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.100047b0
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 0x1004d2e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x10138008]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x1013e5cc]
test eax, eax
jne 0x1004d38f
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 0x1004d37a
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1004d379
push esi
push edi
push dword [esp + 0x14]
push str.mshtml.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1004d372
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x10107758
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1004d372
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x1013e5cc], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x1013e5cc]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x1013e5cc], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.100bcc77
add esp, 0x10
ret
Function at 0x100533d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec456
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10138008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10053417
xor al, al
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
lea eax, [esi + 0x2c]
mov dword [ebp - 0x10], 0
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10007830
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 1
jne 0x1005346c
lea ecx, [esi + 8]
call fcn.10004710
test al, al
jne 0x10053502
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.100537b0
mov bl, al
test bl, bl
jne 0x100535ce
jmp 0x100534fc
cmp eax, 2
jne 0x10053502
cmp dword [esi + 0x28], 0
je 0x10053502
lea eax, [esi + 0x2c]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp + 8]
call fcn.10007830
mov byte [ebp - 4], 1
push 0x1010e60c
movzx eax, di
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100534bc
mov byte [ebp - 4], al
lea ecx, [ebp + 8]
call fcn.10007860
jmp 0x10053502
push eax
push dword [esi + 0x28]
call ebx
mov ebx, eax
test ebx, ebx
je 0x100534f0
push dword [ebp - 0x14]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100534f0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x100535af
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10007860
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
call fcn.10007830
mov byte [ebp - 4], 2
mov eax, dword [0x1013eb64]
test al, 1
jne 0x1005354d
or eax, 1
mov dword [0x1013eb64], eax
mov byte [ebp - 4], 3
mov dword [0x1013eb68], 0
call fcn.10041ca0
push 0x100f6fb0
call fcn.100bd126
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x1013eb68]
mov esi, 0x10000000
push 0x1010e60c
mov eax, dword [eax + 0x44]
test eax, eax
cmovne esi, eax
movzx eax, di
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005359f
push edi
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x1005359f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1005359f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x100535af
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10007860
xor bl, bl
jmp 0x100535ce
mov ecx, dword [ebp + 0xc]
push ebx
push eax
call fcn.10004b10
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10007860
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10007860
mov al, bl
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