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

Disassembly:
push 0xa0
mov eax, 0x4cd08b
call fcn.0044c345
mov eax, ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
mov ecx, edi
mov dword [ebp - 0x50], edi
mov dword [eax + 0x30], ebx
call fcn.004701b0
mov ecx, dword [edi + 0x78]
lea edx, [edi + 0x18]
push edx
push ebx
push ebx
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x470b30
mov eax, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], 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.00465f30
add esp, 0xc
test eax, eax
jne 0x470b15
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.004a5208
add esp, 0xc
test eax, eax
jne 0x470781
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.00470b88
test al, al
je 0x470781
push 0x28
call fcn.0044bc97
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], esi
pop ecx
test esi, esi
je 0x4706ed
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
mov eax, dword [esi]
push esi
mov dword [ebp - 0x60], esi
call dword [eax + 4]
jmp 0x4706f2
mov esi, ebx
mov dword [ebp - 0x60], ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x74], esi
call fcn.004574f5
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.0044bf52
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x54], eax
push ecx
push eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0x8000
call fcn.004a45a0
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
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 0x470b15
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x54]
add eax, 0x20
mov ecx, dword [ebp - 0x70]
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], ecx
lea ecx, [edx + 0x20]
mov dword [ebp - 0x44], eax
jmp 0x4708e6
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x470793
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x470b12
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.004705c0
push eax
lea ecx, [ebp - 0x68]
call fcn.00459728
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xac], eax
call fcn.004a45a0
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 0x470836
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.00470b88
test al, al
jne 0x47084a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xac]
call fcn.0047044a
test eax, eax
je 0x47080e
jmp 0x470b15
mov ecx, dword [ebp - 0x84]
mov edx, ebx
add ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x80]
adc eax, edx
mov dword [ebp - 0x44], edx
push 0x28
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
call fcn.0044bc97
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], esi
pop ecx
test esi, esi
je 0x470885
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x47088a
mov esi, ebx
mov dword [ebp - 0x58], esi
push dword [edi + 0x78]
lea ecx, [esi + 8]
mov dword [ebp - 0x60], esi
call fcn.004574f5
test esi, esi
je 0x4708a2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0xa4]
mov edx, eax
mov ecx, dword [ebp - 0x5c]
sub edx, ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x4c], edx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x14], ebx
cmp edx, dword [ebp - 0x4c]
ja 0x4708d3
mov dword [esi + 0x10], ebx
mov eax, dword [edi + 0x6c]
add eax, ecx
jmp 0x4708d9
sub edx, dword [ebp - 0x4c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0x54]
add ecx, 0x20
add eax, edx
add ecx, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
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 - 0x4c]
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 0x470920
push 0x1000
lea ecx, [eax + 0x28]
call fcn.00459728
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x48]
shr eax, 2
and eax, 1
lea eax, [eax*4 + 4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00470be4
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 0x470974
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 - 0x48]
push eax
call fcn.00470ce1
test byte [edi + 0x2c], 1
je 0x470986
mov ecx, dword [ebp - 0x48]
lea eax, [edi + 0x3c]
push eax
call fcn.00470cc0
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x47099b
mov ecx, dword [ebp - 0x48]
lea eax, [edi + 0x54]
push eax
call fcn.00470cc0
push dword [edi + 0x24]
mov ecx, edi
call fcn.00468a73
mov dword [ebp - 0x4c], ebx
cmp dword [edi + 0x24], ebx
jbe 0x470a09
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
push 8
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00470be4
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.00470ce1
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 - 0x4c]
inc dword [ebx + 4]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebx + 0x24]
jb 0x4709b3
mov esi, dword [ebp - 0x58]
xor ebx, ebx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
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 - 0x44]
cmp eax, dword [edi + 0x70]
jne 0x470a2c
cmp edx, ebx
je 0x470a71
mov eax, dword [edi + 0x70]
add eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x78]
push ebx
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [ecx]
adc eax, ebx
push ebx
push eax
push dword [ebp - 0x44]
push ecx
call dword [edx + 0x10]
test eax, eax
jne 0x470b15
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebp - 0x60]
sub eax, dword [edi + 0x70]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov byte [ecx + 0x20], bl
mov ecx, dword [ebp - 0x48]
call fcn.00460ffd
mov eax, dword [ebp - 0x50]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.00470154
push edi
mov edi, dword [ebp - 0x44]
mov ecx, edi
call fcn.004701c8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], ebx
cmp dword [eax + 0x28], ebx
jbe 0x470b17
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.00470be4
mov ecx, edi
call fcn.0046fefd
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 - 0x48]
mov dword [edi + 0x14], edx
mov ax, word [ebp - 0x12]
mov word [edi + 0x1e], ax
call fcn.00470c2d
mov eax, dword [ebp - 0x50]
mov ecx, edi
push dword [eax + 4]
call fcn.0045eeac
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 4]
jge 0x470b0b
mov eax, dword [ebp - 0x44]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ecx + 0x28]
jb 0x470a9a
jmp 0x470b17
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x33], 1
xor eax, eax
inc eax
mov ebx, eax
mov byte [ebp - 4], 8
test esi, esi
je 0x470b25
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x54]
call fcn.0044b7e6
pop ecx
mov eax, ebx
call fcn.0044c2ef
ret 8