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

Disassembly:
push 0xa8
mov eax, 0x6728ee
call fcn.004cde45
mov eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
mov ecx, edi
mov dword [ebp - 0x4c], edi
mov dword [eax + 0x30], ebx
call fcn.004a1703
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 - 0x74], edx
call dword [eax + 0x10]
test eax, eax
jne 0x4a2094
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
xorps xmm0, xmm0
mov dword [ebp - 4], ebx
mov esi, ebx
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x54], esi
push 0x20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push dword [edi + 0x78]
call fcn.00492983
add esp, 0xc
test eax, eax
jne 0x4a2079
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.004e60d0
add esp, 0xc
test eax, eax
jne 0x4a1cb2
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.004a20e7
test al, al
je 0x4a1cb2
push 0x28
call fcn.0047af10
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x4a1c0c
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x4a1c0e
mov esi, ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0047bea2
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.0047bea2
lea eax, [edi + 0x6c]
mov dword [ebp - 0x48], eax
lea ecx, [esi + 0x10]
mov eax, dword [eax]
sub eax, 8
mov dword [ebp - 0x68], ecx
mov dword [ecx], eax
lea eax, [esi + 0x18]
mov dword [ebp - 0x6c], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x20]
mov dword [ecx + 4], ebx
lea ecx, [ebp - 0x64]
push 0x8000
mov dword [ebp - 0x70], eax
mov byte [eax], bl
call fcn.00487848
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push 0x20
push eax
push esi
call fcn.004e5340
add esp, 0xc
lea ecx, [esi + 0x20]
mov esi, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [esi]
push 0x7fe0
push ecx
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x4a2079
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
lea esi, [edx + 0x20]
add edx, 0x20
add eax, edx
mov dword [ecx], esi
mov edx, dword [ebp - 0x7c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
jmp 0x4a1e49
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4a1cc4
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x4a2076
mov eax, dword [edi + 0x78]
push 0x20
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0xb4]
push 0x8000
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa8], str.MSCF
mov dword [ebp - 0xa4], 8
call fcn.004a1aec
push eax
lea ecx, [ebp - 0x64]
call fcn.00487848
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push eax
mov dword [ebp - 0xb4], eax
call fcn.004e5340
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xac], 0x20
mov dword [ebp - 0xb0], 1
jmp 0x4a1d6a
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
add eax, ecx
mov dword [ebp - 0x58], ecx
push eax
lea ecx, [edi + 0x20]
call fcn.004a20e7
test al, al
jne 0x4a1d7e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb4]
call fcn.004a1976
test eax, eax
je 0x4a1d42
jmp 0x4a2079
mov ecx, dword [ebp - 0x8c]
mov edx, ebx
add ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x88]
adc eax, edx
mov dword [ebp - 0x5c], edx
push 0x28
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
call fcn.0047af10
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x4a1db9
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x4a1dbb
mov esi, ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.0047bea2
push esi
lea ecx, [ebp - 0x54]
call fcn.0047bea2
mov eax, dword [ebp - 0xac]
lea ecx, [edi + 0x6c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
sub eax, edx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ecx]
cmp ecx, eax
ja 0x4a1e11
lea eax, [esi + 0x10]
mov dword [ebp - 0x68], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x18]
mov dword [ebp - 0x6c], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x20]
mov dword [ebp - 0x70], eax
mov byte [eax], bl
mov eax, dword [edi + 0x6c]
add eax, edx
mov dword [ebp - 0x50], eax
jmp 0x4a1e31
sub ecx, eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x68], eax
mov dword [eax], ecx
mov dword [eax + 4], ebx
lea eax, [esi + 0x18]
mov dword [ebp - 0x6c], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x20]
mov dword [ebp - 0x70], eax
mov byte [eax], bl
mov ecx, dword [ebp - 0x44]
lea eax, [edx + 0x20]
mov esi, dword [ebp - 0x64]
add eax, esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
add eax, esi
mov dword [ecx + 8], esi
mov dword [ecx + 4], eax
mov esi, dword [ebp - 0x54]
mov dword [ecx + 0x20], ebx
mov byte [ecx + 0x1c], bl
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x18], 0x8000
cmp dword [ecx + 0x2c], 0
mov byte [ecx + 0x30], 1
mov dword [ecx + 0xc], esi
jne 0x4a1e7c
push 0x1000
add ecx, 0x28
call fcn.00487848
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0x2c]
shr eax, 2
and eax, 1
lea eax, [eax*4 + 4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004a2143
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 0x4a1ecd
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.004a223e
test byte [edi + 0x2c], 1
je 0x4a1edf
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x3c]
push eax
call fcn.004a221d
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x4a1ef4
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x54]
push eax
call fcn.004a221d
push dword [edi + 0x24]
mov ecx, edi
call fcn.004966e8
mov dword [ebp - 0x50], ebx
cmp dword [edi + 0x24], ebx
jbe 0x4a1f62
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
push 8
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004a2143
mov ax, word [ebp - 0x1c]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
mov word [ebp - 0x78], ax
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0x76], al
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x75], al
movzx eax, byte [esi + 0x3a]
push eax
call fcn.004a223e
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp - 0x78]
mov dword [edx + ecx*8], edi
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [ebp - 0x50]
inc dword [esi + 4]
inc eax
mov dword [ebp - 0x50], eax
cmp eax, dword [esi + 0x24]
jb 0x4a1f0c
mov esi, dword [ebp - 0x54]
xor ebx, ebx
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx]
sub eax, dword [ecx + 8]
cdq
add eax, dword [ecx + 0x20]
adc edx, ebx
sub eax, dword [ebp - 0x58]
sbb edx, dword [ebp - 0x5c]
add eax, dword [ecx + 0x10]
adc edx, dword [ecx + 0x14]
cmp eax, dword [edi + 0x70]
jne 0x4a1f8b
cmp edx, ebx
je 0x4a1fd5
mov eax, dword [ebp - 0x74]
mov edx, dword [edi + 0x78]
push ebx
push ebx
mov ecx, dword [eax]
add ecx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov edi, dword [edx]
adc eax, ebx
push eax
push ecx
push edx
call dword [edi + 0x10]
test eax, eax
jne 0x4a2079
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov eax, dword [eax]
sub eax, dword [edi + 0x70]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x44]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x70]
mov byte [eax], bl
call fcn.0048d623
mov eax, dword [ebp - 0x4c]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.004a16a7
push edi
mov edi, dword [ebp - 0x74]
mov ecx, edi
call fcn.004a171b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x28], ebx
jbe 0x4a207b
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.004a2143
mov ecx, edi
call fcn.004a145a
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.004a218a
mov eax, dword [ebp - 0x4c]
mov ecx, edi
push dword [eax + 4]
call fcn.0048521a
mov ecx, dword [ebp - 0x4c]
cmp eax, dword [ecx + 4]
jge 0x4a206f
mov eax, dword [ebp - 0x48]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x28]
jb 0x4a1ffe
jmp 0x4a207b
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 0x4a2089
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x64]
call fcn.004cd524
pop ecx
mov eax, ebx
call fcn.004cddef
ret 8