joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436a00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4db790
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x7c]
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x436b4f
lea esi, [ebx + 4]
lea ecx, [esi + 4]
call fcn.0041ee10
test eax, eax
jne 0x436a71
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x436a69
or eax, 4
push 0
push eax
call fcn.00417d30
lea ecx, [esp + 0x14]
push ecx
call fcn.004353c0
add esp, 4
mov eax, dword [esp + 0x18]
mov ebp, 0x10
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x74], 0
jae 0x436a99
lea eax, [esp + 0x18]
push eax
call fcn.00433d20
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x2c], ebp
jae 0x436ab3
lea ecx, [esp + 0x18]
mov edx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.004216a0
add esp, 0xc
cmp dword [ebx + 0x70], ebp
jb 0x436acb
mov eax, dword [ebx + 0x5c]
jmp 0x436ace
lea eax, [ebx + 0x5c]
cmp dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x18]
jae 0x436adc
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004354c0
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0x74], 1
jae 0x436afa
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
call fcn.0041ee10
test eax, eax
jne 0x436b2c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x436b24
or eax, 4
push 0
push eax
call fcn.00417d30
lea ecx, [esp + 0x30]
call fcn.0049cd70
cmp dword [esp + 0x2c], ebp
jb 0x436b48
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b9684
add esp, 4
mov eax, 1
jmp 0x436b51
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004b9963
add esp, 0x64
ret 4
Function at 0x436ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4db850
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x521a70]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0xa98], 0
jne 0x437114
mov eax, dword [ebp + 0xa4c]
mov esi, dword [eax]
lea edi, [ebp + 0xa48]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
jmp 0x436f50
test edi, edi
mov ebx, dword [ebp + 0xa4c]
lea eax, [ebp + 0xa48]
je 0x436f64
cmp edi, eax
je 0x436f69
call fcn.004bb053
cmp esi, ebx
je 0x43706d
test edi, edi
jne 0x436f7a
call fcn.004bb053
cmp esi, dword [edi + 4]
jne 0x436f84
call fcn.004bb053
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push 0
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.00402150
cmp esi, dword [edi + 4]
mov dword [esp + 0x7c], 0
jne 0x436fbc
call fcn.004bb053
mov edi, 0x10
cmp dword [esi + 0x40], edi
jb 0x436fcb
mov esi, dword [esi + 0x2c]
jmp 0x436fce
add esi, 0x2c
cmp dword [esp + 0x6c], edi
mov eax, dword [esp + 0x58]
jae 0x436fdc
lea eax, [esp + 0x58]
push esi
push eax
mov ecx, ebp
call fcn.00428530
lea eax, [esp + 0x54]
push eax
lea ecx, [ebp + 0xa6c]
call fcn.00433aa0
mov esi, dword [eax]
push str._Check
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00417690
add esp, 0xc
cmp dword [eax + 0x18], edi
mov byte [esp + 0x7c], 1
jb 0x43701d
mov eax, dword [eax + 4]
jmp 0x437020
add eax, 4
push esi
push eax
mov ecx, ebp
call fcn.0042cde0
cmp dword [esp + 0x34], edi
jb 0x43703c
mov eax, dword [esp + 0x20]
push eax
call fcn.004b9684
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x7c], 0xffffffff
jb 0x437057
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004b9684
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0040ede0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x436f50
cmp dword [ebp + 0x2abc], 0
jne 0x437114
cmp dword [ebp + 0x2ab4], 0
je 0x437114
mov edx, dword [ebp]
mov edx, dword [edx + 0xb0]
push 0x3f1
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x1c]
push ecx
mov ebx, eax
mov dword [esp + 0x80], 2
call fcn.00428930
add esp, 4
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x7c], 3
jb 0x4370cc
mov eax, dword [eax + 4]
jmp 0x4370cf
add eax, 4
push eax
push str.Overload
mov ecx, ebp
call fcn.00428530
cmp dword [esp + 0x34], esi
jb 0x4370ef
mov edx, dword [esp + 0x20]
push edx
call fcn.004b9684
add esp, 4
xor eax, eax
cmp dword [esp + 0x50], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
jb 0x437114
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b9684
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004b9963
add esp, 0x6c
ret
Function at 0x44d5c8
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 8], 0xf060
push esi
mov esi, ecx
jne 0x44d651
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x44d651
mov eax, dword [esi + 0x37c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push ebp
push edi
push 0xfffffffffffffff0
push eax
call ebx
mov edi, dword [esi + 0x37c]
push 0x97
push 0
push 0
push 0
push 0
push 0
push edi
mov dword [esi + 0x3b0], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x164]
mov ebp, dword [esi + 0x390]
push 0
mov ecx, esi
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push 0xf060
push edx
push edi
push 0xfffffffffffffffc
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
mov dword [esi + 0x390], ebp
pop ebp
pop ebx
pop esi
ret 0x10
mov ecx, dword [esi + 0x390]
xor eax, eax
test ecx, ecx
je 0x44d67d
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esi + 0x37c]
push edx
push ecx
mov ecx, dword [esi + 0x398]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop esi
ret 0x10

Function at 0x44f850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ddb18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0045bf20
mov dword [esi], vtable.EXSK::CExSkinMemStream.0
mov eax, 0x10
push eax
mov dword [esp + 0x18], 0
mov dword [esi + 0x1c], vtable.LZWCompression::memstream.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], eax
call fcn.004b8cfb
mov ecx, dword [esi + 0x24]
push ecx
push 0
push eax
mov dword [esi + 0x30], eax
call fcn.004ba350
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x450e50
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ddca8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
xor esi, esi
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x18], esi
je 0x450fce
cmp ecx, ebp
je 0x450fce
push ebp
push 0x80
xor eax, eax
push 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
push 3
push SysReAllocStringLen
push ecx
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x450fce
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x450faf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x450faf
push ebp
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push edi
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, ebp
je 0x450faf
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x14]
push eax
push 1
push esi
mov dword [esp + 0x44], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x450f97
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
cmp eax, ebp
jge 0x450f8f
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
push ebp
push ebp
xor ecx, ecx
push ecx
xor eax, eax
push eax
push edx
mov edx, dword [ebx + 0x14]
call edx
mov eax, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push eax
call fcn.004813e0
add esp, 0x14
cmp eax, ebp
jl 0x450f97
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x38], 0xffffffff
je 0x450faf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x45c785
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
lea ebp, [esi + 4]
push 0x3f4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x640]
call fcn.00416580
mov edi, dword [0x56bd00]
push 0x4ea318
push 0x66
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x45c816
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x45c816
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x10], eax
je 0x45c80b
push ebx
push edi
add esi, 0x260
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00450750
mov edx, dword [esi]
mov eax, dword [ebp]
mov edx, dword [edx + 0x164]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp]
push ecx
mov ecx, ebp
call fcn.004152d0
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10

Function at 0x45d525
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0x10
cmp dword [esi + 0x54], ebx
push edi
jb 0x45d538
mov eax, dword [esi + 0x40]
jmp 0x45d53b
lea eax, [esi + 0x40]
push eax
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esi + 0x70], ebx
jb 0x45d553
mov ebp, dword [esi + 0x5c]
jmp 0x45d556
lea ebp, [esi + 0x5c]
mov ecx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ecx
call ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [edi]
push 0x3f5
push edx
call ebx
push eax
lea ecx, [esi + 0x458]
call fcn.00416580
mov ebx, dword [0x56bd00]
push 0x4ea318
push 0x66
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x45d5ec
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x45d5ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x10], eax
je 0x45d5e1
push ebp
push ebx
add esi, 0x78
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00450750
mov edx, dword [esi]
mov eax, dword [edi]
mov edx, dword [edx + 0x164]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [edi]
push ecx
mov ecx, edi
call fcn.004152d0
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x461280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call edx
test eax, eax
je 0x4612ff
xor edi, edi
lea eax, [esp + 0xc]
call fcn.0045fa30
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x461a40
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4df6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
xor esi, esi
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x18], esi
je 0x461bbe
cmp ecx, ebp
je 0x461bbe
push ebp
push 0x80
xor eax, eax
push 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
push 3
push SysReAllocStringLen
push ecx
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x461bbe
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x461b9f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x461b9f
push ebp
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push edi
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, ebp
je 0x461b9f
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x14]
push eax
push 1
push esi
mov dword [esp + 0x44], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x461b87
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
cmp eax, ebp
jge 0x461b7f
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
push ebp
push ebp
xor ecx, ecx
push ecx
xor eax, eax
push eax
push edx
mov edx, dword [ebx + 0x14]
call edx
mov eax, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push eax
call fcn.004813e0
add esp, 0x14
cmp eax, ebp
jl 0x461b87
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x38], 0xffffffff
je 0x461b9f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x46fc60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1473
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.EXPR::CGeneralExpression_class_EXPR::CComVariantExpression_::_stackElementExpression.0
call edi
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x18], vtable.EXPR::CComVariantExpression.0
call edi
mov dword [esi + 0x30], vtable.EXPR::CComVariantExpression.0
mov eax, dword [esp + 0x38]
lea edi, [esi + 0x38]
lea ecx, [esp + 0x28]
cmp edi, ecx
mov byte [esp + 0x18], 1
mov dword [esi + 8], 0
mov dword [esi + 0x10], eax
je 0x46fcf1
mov edx, ecx
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x46fcf1
push eax
mov word [edi], 0xa
mov dword [edi + 8], eax
call fcn.004014f0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x1c

Function at 0x475740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1af7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.EXPR::CGeneralExpression_class_EXPR::CComVariantExpression_::CCaseGeneralExpression.0
mov dword [esp + 0x1c], 0
call fcn.00475040
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esi, 4
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00471bc0
mov ecx, dword [esi + 4]
push ecx
call fcn.004b9684
mov dword [esi + 4], 0
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x475f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1c67
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.EXPR::CMaskWordCache.0
mov dword [esp + 0x1c], 0
call fcn.0046db60
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esi, 4
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0046c9a0
mov ecx, dword [esi + 4]
push ecx
call fcn.004b9684
mov dword [esi + 4], 0
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x47c9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e27e2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CTitlesFace.0
mov dword [esp + 0x1c], 1
call fcn.0046e140
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0047c930
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add esi, 4
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0046d890
mov ecx, dword [esi + 4]
push ecx
call fcn.004b9684
mov dword [esi + 4], 0
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x484b70
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e2f98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
xor esi, esi
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x18], esi
je 0x484cee
cmp ecx, ebp
je 0x484cee
push ebp
push 0x80
xor eax, eax
push 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
push 3
push SysReAllocStringLen
push ecx
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x484cee
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x484ccf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x484ccf
push ebp
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push edi
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ebx, ebp
je 0x484ccf
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x14]
push eax
push 1
push esi
mov dword [esp + 0x44], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x484cb7
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
cmp eax, ebp
jge 0x484caf
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
push ebp
push ebp
xor ecx, ecx
push ecx
xor eax, eax
push eax
push edx
mov edx, dword [ebx + 0x14]
call edx
mov eax, dword [esp + 0x14]
push esi
push 0x4f32fc
push ebp
push ebp
push eax
call fcn.004813e0
add esp, 0x14
cmp eax, ebp
jl 0x484cb7
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x38], 0xffffffff
je 0x484ccf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x486b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3428
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
lea esi, [edi + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [edi + 4], ecx
mov dword [edi], eax
mov dword [edi + 8], edx
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push ebp
mov ecx, esi
mov dword [esp + 0x30], esi
mov byte [esi + 4], bl
call fcn.00402150
mov dword [esi + 0x1c], vtable.CHTMLPicture.0
mov eax, dword [ebp + 0x20]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x20], eax
je 0x486b8c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov al, byte [esp + 0x34]
mov byte [edi + 0x30], al
mov byte [edi + 0x31], bl
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14