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

Disassembly:
push 0xa8
mov eax, 0x10110ccf
call fcn.100d350e
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.100388ee
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 0x100392c4
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
mov ecx, dword [edi + 0x78]
lea edx, [ebp - 0x40]
push 0x20
mov byte [ebp - 4], 1
call fcn.100b1680
test eax, eax
jne 0x100392a9
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.100d550c
add esp, 0xc
test eax, eax
jne 0x10038ee2
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.10039317
test al, al
je 0x10038ee2
push 0x28
call fcn.100d33b9
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x10038e3c
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x10038e3e
mov esi, ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.10020053
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.10020053
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.1002801f
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push 0x20
push eax
push esi
call fcn.100d4620
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 0x100392a9
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 0x10039079
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x10038ef4
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x100392a6
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.10038d20
push eax
lea ecx, [ebp - 0x64]
call fcn.1002801f
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push eax
mov dword [ebp - 0xb4], eax
call fcn.100d4620
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 0x10038f9a
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.10039317
test al, al
jne 0x10038fae
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb4]
call fcn.10038baa
test eax, eax
je 0x10038f72
jmp 0x100392a9
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.100d33b9
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x10038fe9
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x10038feb
mov esi, ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.10020053
push esi
lea ecx, [ebp - 0x54]
call fcn.10020053
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 0x10039041
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 0x10039061
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 0x100390ac
push 0x1000
add ecx, 0x28
call fcn.1002801f
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.10039373
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 0x100390fd
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.1003951c
test byte [edi + 0x2c], 1
je 0x1003910f
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x3c]
push eax
call fcn.1003944d
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x10039124
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x54]
push eax
call fcn.1003944d
push dword [edi + 0x24]
mov ecx, edi
call fcn.1003894a
mov dword [ebp - 0x50], ebx
cmp dword [edi + 0x24], ebx
jbe 0x10039192
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
push 8
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.10039373
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.1003951c
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 0x1003913c
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 0x100391bb
cmp edx, ebx
je 0x10039205
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 0x100392a9
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.100ae6dc
mov eax, dword [ebp - 0x4c]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.10038892
push edi
mov edi, dword [ebp - 0x74]
mov ecx, edi
call fcn.10038906
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x28], ebx
jbe 0x100392ab
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.10039373
mov ecx, edi
call fcn.10038649
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.10039399
mov eax, dword [ebp - 0x4c]
mov ecx, edi
push dword [eax + 4]
call fcn.10037571
mov ecx, dword [ebp - 0x4c]
cmp eax, dword [ecx + 4]
jge 0x1003929f
mov eax, dword [ebp - 0x48]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x28]
jb 0x1003922e
jmp 0x100392ab
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 0x100392b9
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x64]
call fcn.100d349e
pop ecx
mov eax, ebx
call fcn.100d34b8
ret 8