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

Disassembly:
push 0xa0
mov eax, 0x53af6a
call fcn.00462660
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.004c1b44
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 0x4c249e
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.004b2ef6
add esp, 0xc
test eax, eax
jne 0x4c2483
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.004ee55e
add esp, 0xc
test eax, eax
jne 0x4c20ee
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.004c24f6
test al, al
je 0x4c20ee
push 0x28
call fcn.004616d1
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x4c205d
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 0x4c205f
mov esi, ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x74], esi
call fcn.0049dff9
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.0046177d
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.004ed400
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 0x4c2483
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 0x4c2252
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4c2100
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x4c2480
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.004c1f2f
push eax
lea ecx, [ebp - 0x68]
call fcn.004a7651
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.004ed400
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa4], 0x20
mov dword [ebp - 0xa8], 1
jmp 0x4c21a3
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.004c24f6
test al, al
jne 0x4c21b7
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xac]
call fcn.004c1dbc
test eax, eax
je 0x4c217b
jmp 0x4c2483
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.004616d1
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x4c21f2
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x4c21f7
mov esi, ebx
mov dword [ebp - 0x58], esi
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.0049dff9
test esi, esi
je 0x4c220c
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 0x4c223d
mov dword [esi + 0x10], ebx
mov edx, dword [edi + 0x6c]
add edx, ecx
jmp 0x4c2243
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 0x4c228c
push 0x1000
lea ecx, [eax + 0x28]
call fcn.004a7651
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.004c2552
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 0x4c22e0
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.004c264d
test byte [edi + 0x2c], 1
je 0x4c22f2
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x3c]
push eax
call fcn.004c262c
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x4c2307
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x54]
push eax
call fcn.004c262c
push dword [edi + 0x24]
mov ecx, edi
call fcn.004b6c80
mov dword [ebp - 0x48], ebx
cmp dword [edi + 0x24], ebx
jbe 0x4c2375
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x44]
push 8
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004c2552
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.004c264d
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x6c]
mov dword [edx + ecx*8], edi
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [ebp - 0x48]
inc dword [ebx + 4]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebx + 0x24]
jb 0x4c231f
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 0x4c2398
cmp edx, ebx
je 0x4c23df
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 0x4c2483
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.004adaa6
mov eax, dword [ebp - 0x54]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.004c1ae8
push edi
mov edi, dword [ebp - 0x60]
mov ecx, edi
call fcn.004c1b5c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
cmp dword [eax + 0x28], ebx
jbe 0x4c2485
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.004c2552
mov ecx, edi
call fcn.004c1895
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.004c2599
mov eax, dword [ebp - 0x54]
mov ecx, edi
push dword [eax + 4]
call fcn.004a4d12
mov ecx, dword [ebp - 0x54]
cmp eax, dword [ecx + 4]
jge 0x4c2479
mov eax, dword [ebp - 0x4c]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ecx + 0x28]
jb 0x4c2408
jmp 0x4c2485
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 0x4c2493
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x50]
call fcn.00461786
pop ecx
mov eax, ebx
call fcn.0046260a
ret 8