Function at 0x49d564
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xa0
mov eax, 0x560eba
call fcn.004ee073
mov eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, edi
mov dword [ebp - 0x54], edi
mov dword [eax + 0x30], ebx
call fcn.0049d11f
mov ecx, dword [edi + 0x78]
lea edx, [edi + 0x18]
push edx
push 1
push ebx
mov eax, dword [ecx]
push ebx
push ecx
mov dword [ebp - 0x60], edx
call dword [eax + 0x10]
test eax, eax
jne 0x49da7c
mov eax, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
mov dword [ebp - 4], ebx
mov esi, ebx
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x74], esi
push 0x20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push dword [edi + 0x78]
call fcn.0048c5e4
add esp, 0xc
test eax, eax
jne 0x49da61
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.004fef5a
add esp, 0xc
test eax, eax
jne 0x49d6cc
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.0049dad4
test al, al
je 0x49d6cc
push 0x28
call fcn.004749cc
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x49d63b
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x49d63d
mov esi, ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x74], esi
call fcn.00477aa0
mov eax, dword [edi + 0x6c]
sub eax, 8
mov dword [esi + 0x14], ebx
push 0x8000
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [ebp - 0x64], ebx
call fcn.004edc74
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], eax
push ecx
push eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0x8000
call fcn.004fe430
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
mov eax, dword [esi]
add esp, 0x10
add ecx, 0x20
push edx
push 0x7fe0
push ecx
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x49da61
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add eax, 0x20
mov ecx, dword [ebp - 0x70]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], ecx
lea ecx, [edx + 0x20]
mov dword [ebp - 0x4c], eax
jmp 0x49d830
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x49d6de
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x49da5e
mov eax, dword [edi + 0x78]
push 0x20
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0xac]
push 0x8000
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa0], str.MSCF
mov dword [ebp - 0x9c], 8
call fcn.0049d50d
push eax
lea ecx, [ebp - 0x68]
call fcn.004813fe
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xac], eax
call fcn.004fe430
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0xa4], 0x20
mov dword [ebp - 0xa8], 1
jmp 0x49d781
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
add eax, ecx
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [edi + 0x20]
call fcn.0049dad4
test al, al
jne 0x49d795
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xac]
call fcn.0049d397
test eax, eax
je 0x49d759
jmp 0x49da61
mov ecx, dword [ebp - 0x84]
mov edx, ebx
add ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x80]
adc eax, edx
mov dword [ebp - 0x4c], edx
push 0x28
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
call fcn.004749cc
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x49d7d0
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x49d7d5
mov esi, ebx
mov dword [ebp - 0x58], esi
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.00477aa0
test esi, esi
je 0x49d7ea
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov eax, edx
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x14], ebx
cmp eax, dword [ebp - 0x48]
ja 0x49d81b
mov dword [esi + 0x10], ebx
mov edx, dword [edi + 0x6c]
add edx, ecx
jmp 0x49d821
sub eax, dword [ebp - 0x48]
mov dword [esi + 0x10], eax
add edx, dword [ebp - 0x50]
add ecx, 0x20
add ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
mov dword [eax + 8], edx
mov dword [eax + 0x18], 0x8000
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov byte [eax + 0x1c], bl
mov dword [eax + 0x20], ebx
mov byte [eax + 0x30], 1
mov dword [eax + 0xc], esi
cmp dword [eax + 0x2c], ebx
jne 0x49d86a
push 0x1000
lea ecx, [eax + 0x28]
call fcn.004813fe
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x44]
shr eax, 2
and eax, 1
lea eax, [eax*4 + 4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0049db30
movzx eax, word [ebp - 0x20]
mov dword [edi + 0x30], eax
movzx eax, word [ebp - 0x1e]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x2c]
shr eax, 2
test al, 1
je 0x49d8be
mov al, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0x1c]
mov byte [edi + 0x3a], al
mov al, byte [ebp - 0x19]
mov byte [edi + 0x3b], al
movzx eax, cx
mov word [edi + 0x38], cx
mov ecx, dword [ebp - 0x44]
push eax
call fcn.0049dc2b
test byte [edi + 0x2c], 1
je 0x49d8d0
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x3c]
push eax
call fcn.0049dc0a
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x49d8e5
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x54]
push eax
call fcn.0049dc0a
push dword [edi + 0x24]
mov ecx, edi
call fcn.00490360
mov dword [ebp - 0x48], ebx
cmp dword [edi + 0x24], ebx
jbe 0x49d953
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x44]
push 8
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0049db30
mov ax, word [ebp - 0x1c]
mov ecx, esi
mov edi, dword [ebp - 0x20]
mov word [ebp - 0x6c], ax
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0x6a], al
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x69], al
movzx eax, byte [ebx + 0x3a]
push eax
call fcn.0049dc2b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x6c]
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp - 0x48]
inc dword [ebx + 4]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebx + 0x24]
jb 0x49d8fd
mov esi, dword [ebp - 0x58]
xor ebx, ebx
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
sub eax, dword [ecx + 8]
cdq
add eax, dword [ecx + 0x20]
adc edx, ebx
add eax, dword [ecx + 0x10]
adc edx, dword [ecx + 0x14]
sub eax, dword [ebp - 0x5c]
sbb edx, dword [ebp - 0x4c]
cmp eax, dword [edi + 0x70]
jne 0x49d976
cmp edx, ebx
je 0x49d9bd
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x70]
push ebx
push ebx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x60]
add eax, dword [ecx]
mov ecx, dword [edi + 0x78]
mov dword [ebp - 0x60], eax
mov eax, ebx
adc eax, dword [edi + 0x1c]
push eax
push dword [ebp - 0x60]
push ecx
call dword [edx + 0x10]
test eax, eax
jne 0x49da61
mov eax, dword [edi + 0x6c]
sub eax, dword [edi + 0x70]
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
call fcn.004871b3
mov eax, dword [ebp - 0x54]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.0049d0c3
push edi
mov edi, dword [ebp - 0x60]
mov ecx, edi
call fcn.0049d137
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
cmp dword [eax + 0x28], ebx
jbe 0x49da63
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.0049db30
mov ecx, edi
call fcn.0049ce70
mov ecx, dword [ebp - 0x20]
mov edi, eax
push edi
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
movzx ecx, word [ebp - 0x18]
mov dword [edi + 0x18], ecx
movzx edx, word [ebp - 0x16]
movzx ecx, word [ebp - 0x14]
shl edx, 0x10
or edx, ecx
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x14], edx
mov ax, word [ebp - 0x12]
mov word [edi + 0x1e], ax
call fcn.0049db77
mov eax, dword [ebp - 0x54]
mov ecx, edi
push dword [eax + 4]
call fcn.0047ec80
mov ecx, dword [ebp - 0x54]
cmp eax, dword [ecx + 4]
jge 0x49da57
mov eax, dword [ebp - 0x4c]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ecx + 0x28]
jb 0x49d9e6
jmp 0x49da63
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x33], 1
xor eax, eax
inc eax
mov ebx, eax
mov byte [ebp - 4], 8
test esi, esi
je 0x49da71
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x50]
call fcn.004ed807
pop ecx
mov eax, ebx
call fcn.004ee022
ret 8