Function at 0x469370
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
push esi
lea eax, [ebp - 0xc]
push eax
mov eax, 0
mov edx, eax
pop esi
mov dword [esi], edx
mov eax, 0xab
push eax
mov eax, 0xc
push eax
mov eax, 0x30
push eax
xor eax, eax
push eax
mov eax, 0xaa
push eax
xor eax, eax
push eax
mov eax, 0xbb
push eax
mov eax, 0x8b
push eax
mov eax, 0x101a
push eax
mov eax, 0xbf32
push eax
mov eax, 0x7bf80980
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00473ad0
mov eax, 0
lea ebx, [ebp + 8]
mov esi, dword [ebx]
mov edi, eax
cmp esi, edi
sete dl
and edx, 0xff
mov eax, edx
test eax, eax
je 0x4694a7
xor eax, eax
push eax
mov ebx, 0x4a9470
mov edx, ebx
push edx
lea ebx, [ebp + 0xc]
mov ebx, dword [ebx]
mov edx, ebx
push edx
lea ebx, [ebp - 4]
push 0x1000b
mov edx, ebx
push edx
call fcn.00469c40
mov esi, eax
pop eax
mov ebx, esi
cmp ebx, eax
sete dl
movzx eax, dl
test eax, eax
je 0x469494
lea eax, [ebp - 4]
mov edx, eax
push 0
push dword [edx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, eax
mov eax, edx
mov edx, eax
lea eax, [ebp - 0x24]
mov esi, eax
mov dword [esi], edx
lea eax, [ebp - 0x24]
push dword [eax]
mov eax, 1
push eax
lea eax, [ebp - 8]
push eax
call fcn.00472f70
lea eax, [ebp - 8]
mov edx, eax
push dword [edx]
call dword [sym.imp.KERNEL32.DLL_GlobalSize]
mov edx, eax
mov eax, edx
push eax
lea eax, [ebp - 8]
push 0x10005
mov edx, eax
push edx
lea eax, [ebp - 4]
push 0x1000b
mov edx, eax
push edx
call fcn.00471800
lea eax, [ebp - 4]
push 0x1000b
mov edx, eax
push edx
call fcn.0045bc70
jmp 0x4694a2
mov eax, 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
jmp 0x469567
mov eax, 0x7fff
lea ebx, [ebp + 0xc]
mov esi, dword [ebx]
mov edi, eax
cmp esi, edi
setb dl
and edx, 0xff
mov eax, edx
test eax, eax
je 0x4694fe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push 0x10005
mov edx, eax
push edx
mov eax, str.RTIMAGE
push 0x10000
mov edx, eax
push edx
xor eax, eax
lea ebx, [ebp + 0xc]
mov ebx, dword [ebx]
add eax, ebx
push 2
mov edx, eax
push edx
call fcn.00473eb0
mov edx, eax
pop esi
mov dword [esi], edx
jmp 0x469531
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push 0x10005
mov edx, eax
push edx
mov eax, str.RTIMAGE
push 0x10000
mov edx, eax
push edx
lea eax, [ebp + 0xc]
mov eax, dword [eax]
push 0x10000
mov edx, eax
push edx
call fcn.00473eb0
mov edx, eax
pop esi
mov dword [esi], edx
lea eax, [ebp - 0x10]
cmp dword [eax], 0
je 0x469559
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
mov edx, eax
push dword [edx]
call dword [sym.imp.KERNEL32.DLL_GlobalSize]
mov edx, eax
mov eax, edx
mov edx, eax
pop esi
mov dword [esi], edx
jmp 0x469567
mov eax, 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push dword [eax]
mov eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edx, eax
pop esi
mov dword [esi], edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edx, eax
pop esi
mov dword [esi], edx
lea eax, [ebp - 0x24]
mov edx, eax
lea eax, [ebp - 0x2c]
mov esi, eax
mov edi, dword [edx]
mov dword [esi], edi
lea eax, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 8]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
lea eax, [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea eax, [ebp - 8]
push dword [eax]
call fcn.00473bf0
lea eax, [ebp - 0x30]
push eax
mov eax, 0
mov edx, eax
pop esi
mov dword [esi], edx
lea eax, [ebp - 0x30]
mov edx, eax
push edx
mov eax, 1
push eax
lea eax, [ebp - 0x28]
push dword [eax]
call dword [sym.imp.OLE32.DLL_CreateStreamOnHGlobal]
mov edx, eax
lea eax, [ebp - 0x34]
mov esi, eax
mov dword [esi], edx
mov eax, 0
lea ebx, [ebp - 0x30]
mov esi, dword [ebx]
mov edi, eax
cmp esi, edi
sete dl
and edx, 0xff
mov eax, edx
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov esi, dword [ecx]
mov edi, ebx
cmp esi, edi
setl dl
and edx, 0xff
mov ebx, edx
mov edx, ebx
mov esi, eax
or edx, esi
mov eax, edx
test eax, eax
je 0x469648
mov eax, 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov edx, eax
push edx
lea eax, [ebp - 0x20]
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x30]
push dword [eax]
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
mov edx, eax
pop esi
mov dword [esi], edx
mov eax, 0
lea ebx, [ebp - 0x38]
mov esi, dword [ebx]
mov edi, eax
cmp esi, edi
sete dl
and edx, 0xff
mov eax, edx
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov esi, dword [ecx]
mov edi, ebx
cmp esi, edi
setl dl
and edx, 0xff
mov ebx, edx
mov edx, ebx
mov esi, eax
or edx, esi
mov eax, edx
test eax, eax
je 0x4696be
mov eax, 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x30]
mov edi, dword [eax]
push edi
mov edi, dword [edi]
call dword [edi + 8]
lea eax, [ebp - 0x38]
mov edx, dword [eax]
mov eax, edx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8