Function at 0x486260
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cdfdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov eax, dword [0x64aa84]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2a0], eax
mov edi, ecx
mov ecx, dword [esp + 0x2b4]
lea eax, [esp + 0x1c]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2b4]
xor esi, esi
or esi, eax
push ebx
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ebx
or ebp, edx
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x1a0]
call fcn.0046a010
mov dword [esp + 0x2ac], ebx
lea ecx, [esp + 0x120]
call fcn.004f93b0
mov byte [esp + 0x2ac], 1
push ebp
push esi
lea ecx, [esp + 0x128]
call fcn.004f9490
push ebp
push esi
lea ecx, [esp + 0x1a8]
call fcn.0046a0a0
cmp ebp, ebx
ja 0x486338
cmp esi, ebx
jbe 0x4863cd
cmp ebp, ebx
ja 0x486338
jb 0x486334
cmp esi, 0x40000
jae 0x486338
mov eax, esi
jmp 0x48633d
mov eax, 0x40000
cmp dword [edi + 0x64], ebx
mov dword [esp + 0x18], eax
jne 0x486356
cmp eax, 0x10000
jb 0x486356
mov eax, 0x10000
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x2b4]
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [edi + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x78]
push edx
push eax
lea ecx, [esp + 0x1a8]
call fcn.0046a0f0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x78]
push ecx
push edx
lea ecx, [esp + 0x128]
call fcn.004f94e0
sub esi, dword [esp + 0x18]
mov eax, dword [edi + 0x64]
sbb ebp, ebx
cmp eax, ebx
jne 0x4863aa
push 0x32
jmp 0x4863b0
cmp eax, 1
jne 0x4863b6
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x60], ebx
je 0x4863fe
cmp ebp, ebx
ja 0x486338
jb 0x4863cd
cmp esi, ebx
ja 0x486326
lea ecx, [esp + 0x1a0]
call fcn.0046a180
lea ecx, [esp + 0x120]
call fcn.004f9570
mov eax, dword [edi + 0x6c]
mov ecx, dword [0x6613e8]
push ebx
push ebx
push 1
push eax
call fcn.00484cc0
mov ebp, eax
cmp ebp, ebx
jne 0x486451
mov byte [esp + 0x2ac], bl
lea ecx, [esp + 0x120]
call fcn.004f99c0
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [esp + 0x1a0]
call fcn.0046a5d0
xor eax, eax
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x294]
pop ebx
call fcn.0057981f
add esp, 0x2a0
ret 0xc
mov ecx, dword [0x6613e8]
push ebp
call fcn.00484cd0
lea esi, [ebp + 0x98]
push esi
lea ecx, [esp + 0x1a4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x94], 1
call fcn.0046a070
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [ebp + 0xb0]
mov dword [ebp + 0x38], ecx
push eax
lea ecx, [esp + 0x124]
mov dword [ebp + 0xa8], 1
mov dword [ebp + 0x3c], edx
call fcn.004f9450
lea ecx, [esp + 0x110]
push ecx
lea eax, [esp + 0x224]
push esi
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], 0x5e7c20
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x80
mov dword [esp + 0x70], ebx
call fcn.0042e8f0
mov ecx, eax
call fcn.00402ee0
test eax, eax
je 0x48652c
mov ecx, 4
lea edi, [ebp + 0xb0]
lea esi, [esp + 0x110]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov edi, dword [esp + 0x28]
je 0x4865e0
mov eax, dword [0x661418]
cmp word [eax + 0x8cc], 2
jne 0x4865e0
cmp dword [esp + 0x30], ebx
ja 0x486553
cmp dword [esp + 0x2c], 0x40000
jbe 0x4865e0
mov edx, dword [esp + 0x38]
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 0x19
call dword [edx + 8]
mov edx, dword [esp + 0x38]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 0x91
call dword [edx + 8]
mov edx, dword [esp + 0x38]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], 1
call dword [edx + 8]
push 0x10
lea eax, [ebp + 0x98]
push eax
lea ecx, [esp + 0x40]
call fcn.0042e810
push 0x10
lea eax, [ebp + 0xb0]
push eax
lea ecx, [esp + 0x40]
call fcn.0042e810
mov eax, dword [0x661418]
mov ecx, dword [esp + 0x68]
push ebx
add eax, 0x8cc
push eax
push ecx
mov ecx, dword [0x6613d0]
lea edx, [esp + 0x22c]
push edx
call fcn.0042e970
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x4865ec
add eax, 0x1c
jmp 0x4865ef
lea eax, [ebp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call fcn.00402dc0
mov byte [esp + 0x2ac], 2
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x486a5b
cmp eax, ecx
jg 0x486a5b
cmp word [edx + eax*2], 0x5c
je 0x486630
push 0x5e3ca8
lea ecx, [esp + 0x24]
call fcn.00411ed0
lea eax, [ebp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0040dba0
add esp, 0xc
mov byte [esp + 0x2ac], 3
lea ecx, [esp + 0x24]
call fcn.0041ce00
push ebx
lea eax, [ebp + 0xb0]
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x20], ebx
call fcn.0046a750
add esp, 0xc
mov byte [esp + 0x2ac], 4
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x6613e8]
push edx
add ecx, 0x58
call fcn.005aaf79
test eax, eax
je 0x48669c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4866c8
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [0x6613e8]
add ecx, 0x74
call fcn.005aaf79
test eax, eax
je 0x486992
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x486992
mov edx, dword [eax + 0x28]
mov dword [ebp + 0xd4], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ebp + 0xd8], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0xdc], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x110], ecx
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 0x20]
jne 0x486992
mov ecx, dword [ebp + 0x3c]
cmp ecx, dword [eax + 0x24]
jne 0x486992
mov ecx, dword [eax]
lea esi, [ebp + 0xf4]
mov edx, esi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0xa0]
mov dword [edx + 0x10], eax
call fcn.004b9e40
mov byte [esp + 0x2ac], 5
lea ecx, [esp + 0xa0]
call fcn.004b9af0
push 0x10
lea eax, [ebp + 0xb0]
push eax
lea ecx, [esp + 0xa8]
call fcn.004b9b70
push 0x14
push esi
lea ecx, [esp + 0xa8]
call fcn.004b9b70
push 8
lea eax, [ebp + 0x38]
push eax
lea ecx, [esp + 0xa8]
call fcn.004b9b70
push 4
lea eax, [ebp + 0xd4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004b9b70
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0xa4]
call fcn.004b9b30
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x100]
lea edx, [ebp + 0xe0]
mov dword [edx], eax
mov eax, dword [esp + 0x104]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x108]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10c]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], eax
mov dword [ebp + 0xc0], 1
mov ecx, dword [0x661418]
cmp word [ecx + 0x8ec], 2
jne 0x48695e
push 0x80
lea edx, [esp + 0x224]
push edx
lea ecx, [esp + 0x74]
call fcn.0042e720
mov edx, dword [esp + 0x6c]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x18], 0x4c
call dword [edx + 8]
mov edx, dword [esp + 0x6c]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x18], 3
call dword [edx + 8]
mov edx, dword [esp + 0x6c]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x18], 1
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push 0x14
push eax
lea ecx, [esp + 0x74]
call fcn.0042e810
push 0x10
lea esi, [ebp + 0xb0]
push esi
lea ecx, [esp + 0x74]
call fcn.0042e810
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x28]
push edx
lea ecx, [esp + 0x70]
call fcn.00485e50
mov eax, dword [esp + 0x14]
push 8
add eax, 0x18
push eax
lea ecx, [esp + 0x74]
call fcn.0042e810
mov ecx, dword [esp + 0x14]
add ecx, 0x20
push 8
push ecx
lea ecx, [esp + 0x74]
call fcn.0042e810
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
add eax, 0x2c
cmp ecx, ebx
je 0x4868d6
push 4
push eax
lea ecx, [esp + 0x74]
call fcn.0042e810
push str._r_n__Report_Bridge___r_n
push 0x661308
call fcn.004e9a20
push ebx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0046a750
mov byte [esp + 0x2c0], 6
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
push edx
mov edx, dword [ecx + 0x20]
push edx
mov edx, dword [ecx + 0x1c]
push edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x28]
push edx
mov edx, dword [eax]
push ecx
push edx
push 0x5ef978
push 0x661308
call fcn.004e9a20
add esp, 0x34
mov byte [esp + 0x2ac], 5
lea ecx, [esp + 0x28]
call fcn.00401b70
mov eax, dword [0x661418]
mov ecx, dword [esp + 0x9c]
push ebx
add eax, 0x8ec
push eax
push ecx
mov ecx, dword [0x6613d0]
lea edx, [esp + 0x22c]
push edx
call fcn.0042e970
mov eax, dword [esp + 0x24]
mov ecx, dword [0x6613e8]
push eax
add ecx, 0x58
call fcn.005ab04d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005abee6
add esp, 4
mov byte [esp + 0x2ac], 4
lea ecx, [esp + 0xa0]
call fcn.0046abf0
mov ecx, dword [0x661404]
push ebp
call fcn.004881f0
mov ecx, dword [0x6613e8]
push ebp
call fcn.00485470
mov ecx, dword [0x6613e8]
push 1
call fcn.00484c90
push 1
push 0x658de8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [edi + 0x6c]
lea edx, [esp + 0x1a0]
push edx
push eax
call fcn.00448b30
mov ecx, eax
call fcn.0047c480
mov edx, dword [edi + 0x6c]
lea ecx, [esp + 0x120]
push ecx
push edx
call fcn.00448b30
mov ecx, eax
call fcn.0047c1a0
mov byte [esp + 0x2ac], 3
lea ecx, [esp + 0x34]
call fcn.00401b70
mov byte [esp + 0x2ac], 2
lea ecx, [esp + 0x24]
call fcn.00401b70
mov byte [esp + 0x2ac], 1
lea ecx, [esp + 0x20]
call fcn.00401b70
mov byte [esp + 0x2ac], bl
lea ecx, [esp + 0x120]
call fcn.004f99c0
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [esp + 0x1a0]
call fcn.0046a5d0
mov eax, 1
jmp 0x48642a
push 0x80070057
call fcn.00401180
int3