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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [ebp - 0x1d0], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x1d4], ecx
lea ecx, [eax - 0x13]
push edi
mov dword [ebp - 0x1ac], edx
mov edx, dword [ebp + 0x20]
mov edi, eax
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1d8], ecx
cmp eax, ecx
jbe case.0x10018d23.52
mov esi, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x1d8]
lea ecx, [ecx]
lea eax, [edi - 0x34]
cmp eax, 0x2a
ja case.0x10018d23.57
movzx ecx, byte [eax + 0x10019618]
jmp dword [ecx*4 + 0x100195c8]
push 0
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
test eax, eax
jne 0x10018d58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ConvertThreadToFiber:__d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call fcn.1000a360
add esp, 0xc
call fcn.100282c5
lea edx, [ebp - 0x194]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je case.0x10018d23.57
push str.Failed_to_destroy_config
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call fcn.1000a360
add esp, 8
call fcn.100282c5
jmp case.0x10018d23.57
cmp dword [ebp - 0x1c8], 0
je 0x10018dd9
cmp dword [ebp - 0x1e8], 0
je 0x10018dd9
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1f0]
push ecx
push edx
call fcn.10001370
mov eax, dword [ebp - 0x1e0]
add dword [ebp - 0x1a8], eax
add esp, 8
sub dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1dc]
sbb dword [ebp - 0x1b0], eax
jmp case.0x10018d23.57
mov eax, dword [ebp - 0x1e4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, 0x43
dec edi
mov dword [ebp - 0x1c0], edi
cmp edi, dword [ebp - 0x1d8]
ja 0x10018d10
mov eax, dword [ebp - 0x1c4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1b4]
sub eax, edx
add ecx, edx
mov edx, dword [ebp - 0x1dc]
adc dword [ebp - 0x1b0], edx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1c0], ecx
mov ecx, dword [ebp - 0x1f0]
push ecx
lea edx, [ebp - 0x1c0]
push edx
push 0xb8
lea ecx, [ebp - 0x198]
push ecx
push eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x198], 0
call fcn.10020cd0
mov esi, eax
add esp, 0x14
test esi, esi
je case.0x10018d23.57
push str.DesiredFrameRateProperty
jmp 0x1001954f
ror byte [esi - 0x49], cl
invalid
push 0
push 0xe2
lea eax, [ebp - 0x198]
push eax
push 0
mov dword [ebp - 0x198], ebx
call fcn.1000f630
mov ecx, dword [ebp - 0x1e4]
add esp, 0x10
add eax, dword [ebp - 0x1e0]
adc edx, dword [ebp - 0x1dc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x10018d23.57
test esi, esi
je 0x10018f27
push str.num_short_term_ref_pic_sets
jmp 0x1001954f
push 0
push 0
push 0x77
lea ecx, [ebp - 0x198]
push 0
push ecx
mov dword [ebp - 0x198], ebx
call fcn.10013310
add esp, 0x14
mov dword [ebp - 0x1a0], edx
mov esi, eax
test eax, eax
je 0x10018f5a
push str.VGETMANTSDZ128rmikz
jmp 0x1001954f
push 0
lea edx, [ebp - 0x198]
push edx
push 0xd7
push 0
mov dword [ebp - 0x198], ebx
call fcn.10008ad0
add esp, 0x10
test eax, eax
je case.0x10018d23.57
mov edi, 6
cmp edi, 6
ja case.default.0x10018f8e
jmp dword [edi*4 + 0x10019644]
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, dword [ebp - 0x1ac]
push 0x7d
lea edx, [ecx + 0x24]
push edx
lea edx, [ecx + 0x2c]
push edx
push eax
lea eax, [ebp - 0x198]
push eax
add ecx, 0x28
push ecx
mov byte [ebp - 0x19c], 1
mov dword [ebp - 0x198], 1
call fcn.1001d010
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1001917f
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x208], ecx
mov ecx, dword [ebp - 0x1a8]
push ecx
mov dword [ebp - 0x204], edx
push 0x6e
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x198], ebx
call fcn.10004e70
add esp, 0x14
mov dword [ebp - 0x1a0], edx
mov esi, eax
jmp case.default.0x10018f8e
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx]
push edx
call fcn.10004900
add esp, 4
mov dword [ebp - 0x1f8], eax
jmp case.default.0x10018f8e
mov ecx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a0]
push eax
add ecx, 0x2c
push ecx
push 0x2d
mov dword [ebp - 0x1a0], ebx
call fcn.10013cc0
mov esi, eax
add esp, 0xc
test esi, esi
je case.default.0x10018f8e
push str.Options:_encoding__utf8__version3
jmp 0x1001954f
mov edx, dword [ebp - 0x1f4]
mov byte [edx], 1
jmp case.default.0x10018f8e
test esi, esi
jne 0x1001954a
jmp case.default.0x10018f8e
push 0
lea eax, [ebp - 0x1a0]
push eax
push 0xd7
push 0
mov dword [ebp - 0x1a0], ebx
call fcn.10008ad0
mov ecx, dword [ebp - 0x1ac]
push 0
push 0xe2
lea edx, [ebp - 0x1a0]
push edx
push 0
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x1a0], ebx
call fcn.1000f630
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a0], edx
lea edx, [ebp - 0x1a0]
mov dword [ecx + 0x28], eax
push edx
lea eax, [ebp - 0x19c]
push eax
push 0xce
mov byte [ebp - 0x19c], 1
mov dword [ebp - 0x1a0], ebx
call fcn.10005c60
add esp, 0x2c
jmp case.default.0x10018f8e
push 0
push 0
push 0x77
lea ecx, [ebp - 0x1a0]
push 0
push ecx
mov dword [ebp - 0x1a0], ebx
call fcn.10013310
add esp, 0x14
mov dword [ebp - 0x1a0], edx
mov esi, eax
test eax, eax
jne 0x10019189
push eax
lea edx, [ebp - 0x1a0]
push edx
push 0xd7
push eax
mov dword [ebp - 0x1a0], ebx
call fcn.10008ad0
add esp, 0x10
test eax, eax
jne 0x10019193
dec edi
lea eax, [edi + 0x76]
cmp eax, 0x75
ja 0x10018f85
mov edi, dword [ebp - 0x1c0]
jmp case.0x10018d23.57
push str.Could_not_create_bulk_data_handle
jmp 0x1001954f
push str.tsa_el_a_webhelyet.
jmp 0x1001954f
push str.Extra_bulk_handle_could_not_fit_into_buffer
jmp 0x1001931a
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1b8]
mov dword [0x100401a0], edx
mov ecx, dword [eax]
mov dword [0x1004019c], ecx
jmp case.0x10018d23.57
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx]
xor esi, esi
dec eax
je 0x100191fc
dec eax
je 0x10019277
push str.Indeo_Video_3
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov esi, 3
jmp case.0x10018d23.67
mov edi, 0xb7
cmp edi, 0xb7
je 0x10019223
cmp edi, 0x154
jne 0x10019269
test esi, esi
je case.0x10019285.0
push str.YOP_has_invalid_dimensions
jmp 0x1001954f
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1ac]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c8], edx
lea edx, [ebp - 0x1a8]
push edx
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], ecx
push eax
lea ecx, [ebp - 0x1b4]
push ecx
push 0x7d
call fcn.1001fdb0
add esp, 0x10
mov esi, eax
add edi, 0x9d
cmp edi, 0x1f1
jb 0x10019201
mov edi, 3
lea esp, [esp]
cmp edi, 3
ja case.default.0x10019285
jmp dword [edi*4 + 0x10019660]
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
mov dword [ebp - 0x1a0], edx
lea edx, [ebp - 0x1a0]
push 0xf2
push edx
call fcn.100090c0
add esp, 0x10
mov esi, eax
jmp case.default.0x10019285
test esi, esi
je case.default.0x10019285
push str.Malformed_exceptions_entry
jmp 0x1001954f
mov eax, dword [ebp - 0x1d4]
cmp byte [eax + 8], 0
jne 0x10019315
mov ecx, dword [ebp - 0x1ac]
mov ebx, dword [ecx + 0x20]
dec edi
lea edx, [edi + 0x41]
cmp edx, 0x40
ja 0x10019280
jmp 0x100191d2
mov dword [ebp - 0x1c0], 0x4a
mov edi, dword [ebp - 0x1c0]
jmp case.0x10018d23.57
push str.Transfer_object_0x_08X:_codecType_not_supported.
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov esi, 6
jmp case.0x10018d23.67
sbb dh, byte [edi + 0x29]
dec ebx
fmul qword [ebx - 0x1ab7b]
jmp dword [ebx + 0x10040170]
mov edx, dword [ebp - 0x1e8]
push edx
push ebx
call dword [ebp - 0x1c8]
add esp, 8
mov esi, eax
jmp case.0x10018d23.57
mov eax, dword [ebp - 0x1b8]
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
mov dword [ebp - 0x1ec], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1cc], eax
jmp case.0x10018d23.57
cmp dword [ebp - 0x1cc], 0xffffffff
je 0x100194c2
mov ecx, dword [ebp - 0x1cc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x100403f8], eax
test eax, eax
je 0x100194a3
lea edx, [ebp - 0x1a0]
push edx
push 0xf3
mov dword [ebp - 0x1a0], eax
call fcn.1000cc30
add esp, 8
mov dword [0x100403f4], eax
test eax, eax
je 0x100194a3
mov edx, dword [0x100403f8]
push 0
lea ecx, [ebp - 0x1bc]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [0x100403f8]
push ecx
push edx
push str.Phx.CxxIL.Opcode.OPreturnT
call fcn.10026fc6
mov eax, dword [0x100403f8]
mov ecx, dword [0x100403f4]
mov edx, dword [0x100403e8]
add esp, 0xc
push 0x100403ec
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x10018d23.57
push str.HeapAlloc__
call fcn.10002df0
mov eax, dword [ebp - 0x1cc]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x10018d23.57
mov ecx, dword [ebp - 0x1b8]
push ecx
push str.CreateFile__s_
call fcn.10002df0
add esp, 8
jmp case.0x10018d23.57
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1c4], edx
jmp case.0x10018d23.57
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1b0]
lea edx, [ebp - 0x200]
push edx
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1fc], ecx
push 0x6e
lea ecx, [ebp - 0x1a0]
push ecx
lea edx, [ebp - 0x198]
push edx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1a0], ebx
call fcn.10004e70
add esp, 0x14
mov dword [ebp - 0x1a0], edx
mov esi, eax
test eax, eax
je case.0x10018d23.57
push str.Could_not_reset_proc
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
jmp case.0x10018d23.67
push str.Search.DefaultSearchProviderType
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call fcn.1000a360
add esp, 8
call fcn.100282c5
mov dword [ebp - 0x1c4], 0
jmp case.0x10018d23.57
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
test byte [ebx - 0x74c34634], bl
dec ebp
cld
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret