Function at 0x4d2b78
Capabilities:
Read file on windows

Disassembly:
push 0x2f0
mov eax, 0x78a844
call fcn.00700ca1
mov esi, ecx
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x4d2b98
xor eax, eax
jmp 0x4d303a
and dword [esi + 4], 0
lea eax, [ebp - 0x1f8]
push 0x40
push 0
push eax
call fcn.00719250
mov ebx, 0xf8
lea eax, [ebp - 0x2f0]
push ebx
push 0
push eax
call fcn.00719250
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x2fc], eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2fc]
push eax
push 0x40
lea eax, [ebp - 0x1f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1bc]
add dword [esi + 4], eax
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2fc]
push eax
push ebx
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
add dword [esi + 4], ebx
xor ebx, ebx
mov eax, dword [ebp - 0x258]
and dword [ebp - 0x2f8], ebx
mov edx, dword [esi + 4]
mov dword [esi + 8], eax
movzx eax, word [ebp - 0x2ea]
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x4d2c8b
push 0
lea eax, [ebp - 0x2fc]
push eax
push 0x28
lea eax, [ebp - 0xb0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xa0]
lea edx, [ecx + 0x28]
add edx, dword [esi + 4]
mov dword [esi + 4], edx
cmp dword [ebp - 0x9c], ebx
jbe 0x4d2c82
mov ebx, dword [ebp - 0x9c]
lea eax, [ecx + ebx]
mov dword [ebp - 0x2f8], eax
sub dword [ebp - 0x2f4], 1
jne 0x4d2c43
mov eax, edx
lea ecx, [ebp - 0x88]
xor edx, edx
xor ebx, ebx
div dword [ebp - 0x2b4]
push 0xf
inc eax
mov dword [ebp - 0x78], ebx
imul eax, dword [ebp - 0x2b4]
pop edi
push edi
push str.CiscoWebexStart
mov dword [ebp - 0x74], edi
mov dword [esi + 4], eax
mov byte [ebp - 0x88], bl
call fcn.00439710
lea eax, [ebp - 0x88]
mov dword [ebp - 4], ebx
push eax
call fcn.006210e3
pop ecx
push 9
push str.dwExeSize
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x70], bl
call fcn.00439710
push dword [ebp - 0x2f8]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
call fcn.006211a2
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
push ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0061c551
mov ebx, eax
xor eax, eax
mov byte [ebp - 4], 3
push str.m_dwSizeOfPEFile
mov byte [ebp - 0x2f8], al
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2f8]
mov dword [ebp - 0x48], eax
push 0x10
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], al
call fcn.0043a610
push dword [esi + 4]
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 4
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.0061c551
mov edi, eax
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 4
push str.this
lea ecx, [ebp - 0x40]
call fcn.00439710
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 7
push esi
push eax
call fcn.00621242
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 9
push eax
push 0x858903
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00439710
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xa
push str.CEmbeddedTFS::CalculatePEFileSize
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.0061c551
mov ecx, dword [ebp - 0x2f4]
push ebx
push edi
push esi
push eax
mov byte [ebp - 4], 0xc
call fcn.00621579
lea ecx, [ebp - 0x110]
call fcn.00438e20
lea ecx, [ebp - 0x128]
call fcn.00438e20
lea ecx, [ebp - 0xc8]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
mov esi, 0x1000
cmp eax, 0x10
jb 0x4d2e90
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, esi
jb 0x4d2e87
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push 0xf
xor ebx, ebx
lea ecx, [ebp - 0x140]
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
call fcn.00438e20
lea ecx, [ebp - 0x158]
call fcn.00438e20
lea ecx, [ebp - 0xe0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4d2f05
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, esi
jb 0x4d2efc
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x188]
call fcn.00438e20
lea ecx, [ebp - 0xf8]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4d2f75
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, esi
jb 0x4d2f6c
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], bl
call fcn.00438e20
lea ecx, [ebp - 0x1b8]
call fcn.00438e20
lea ecx, [ebp - 0xa0]
call fcn.00438e20
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4d2fe5
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, esi
jb 0x4d2fdc
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x70], bl
cmp eax, 0x10
jb 0x4d3037
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, esi
jb 0x4d302e
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor eax, eax
inc eax
call fcn.00700c4b
ret 4