Function at 0x4fc3f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5001
mov eax, dword fs:[0]
push eax
sub esp, 0x358
push ebx
push esi
push edi
lea edi, [ebp - 0x364]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x7053e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.004eaa4f
add esp, 0xc
mov esi, esp
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.004e7db3
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x130]
call fcn.004e7f16
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x130]
call fcn.004e3740
push eax
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x130]
call fcn.004e58b5
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x364]
push edx
lea ecx, [ebp - 0x130]
call fcn.004e02de
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x358]
call fcn.004e32ea
push str.gcon.inc
lea ecx, [ebp - 0x130]
call fcn.004e16a2
mov esi, esp
push 0
push 0x80
push 3
push 0
push 1
push OleUIPasteSpecialA
lea ecx, [ebp - 0x130]
call fcn.004e3ae2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.004e7db3
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x4fc54d
mov dword [ebp - 0x34c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x34c]
jmp 0x4fcc1e
mov esi, esp
push 0
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.004e7db3
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0x3e8
jae 0x4fc59e
mov dword [ebp - 0x340], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x340]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x11
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x148]
push eax
push 0
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004eaa4f
add esp, 0xc
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.004e7db3
mov esi, esp
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004e7db3
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x16c], 0
xor eax, eax
mov word [ebp - 0x16b], ax
mov byte [ebp - 0x169], al
push 4
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004e98e8
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
add eax, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x160]
cmp dword [ebp - 0x178], eax
jbe 0x4fc6b9
mov dword [ebp - 0x328], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x328]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x20
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x184]
push edx
call fcn.004e98e8
add esp, 0xc
push 0x6f
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.004e5603
add esp, 0xc
mov eax, dword [ebp - 0x184]
push eax
mov ecx, 0x707034
call fcn.004e2f7a
push 3
lea eax, [ebp - 0x310]
push eax
mov ecx, 0x707034
call fcn.004e58b5
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x364]
push edx
mov ecx, 0x707034
call fcn.004e02de
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x310]
call fcn.004e32ea
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.004e0af4
add esp, 4
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x160], eax
push 4
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004e98e8
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
add eax, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x160]
cmp dword [ebp - 0x178], eax
jbe 0x4fc81e
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x2f8]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x31
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x190]
push edx
call fcn.004e98e8
add esp, 0xc
push 0x6f
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.004e5603
add esp, 0xc
mov eax, dword [ebp - 0x190]
push eax
mov ecx, 0x707040
call fcn.004e2f7a
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.004e0af4
add esp, 4
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x160], eax
push 4
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004e98e8
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
add eax, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x160]
cmp dword [ebp - 0x178], eax
jbe 0x4fc93a
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x2d4]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x40
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.004e98e8
add esp, 0xc
push 0x6f
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.004e5603
add esp, 0xc
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, 0x707038
call fcn.004e2f7a
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.004e0af4
add esp, 4
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x160], eax
push 4
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004e98e8
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
add eax, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x160]
cmp dword [ebp - 0x178], eax
jbe 0x4fca56
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x2b0]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x4f
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.004e98e8
add esp, 0xc
push 0x6f
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.004e5603
add esp, 0xc
mov eax, dword [ebp - 0x1a8]
push eax
mov ecx, 0x70703c
call fcn.004e2f7a
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
call fcn.004e0af4
add esp, 4
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x160], eax
push 4
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004e98e8
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x160]
add eax, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x160]
cmp dword [ebp - 0x178], eax
jbe 0x4fcb72
mov dword [ebp - 0x28c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x28c]
jmp 0x4fcc1e
mov eax, dword [0x70216c]
add eax, 0x5f
push eax
push 0x7020dc
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.004e1404
add esp, 0xc
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [0x707030], edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [0x707030]
push edx
call fcn.004e98e8
add esp, 0xc
push 0x98
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [0x707030]
push ecx
call fcn.004e5603
add esp, 0xc
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x178]
mov dword [0x70702c], eax
mov dword [ebp - 0x274], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004e32ea
mov eax, dword [ebp - 0x274]
push edx
mov ecx, ebp
push eax
lea edx, [0x4fcc58]
call fcn.004e3c63
pop eax
pop edx
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.004e6053
add esp, 0x364
cmp ebp, esp
call fcn.004e7db3
mov esp, ebp
pop ebp
ret