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

Disassembly:
push 0xa4
mov eax, 0x5255cf
call fcn.00509809
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x30], ebx
call fcn.004da170
mov eax, dword [edi + 0x78]
mov edx, dword [eax]
lea ecx, [edi + 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x54], ecx
call dword [edx + 0x10]
cmp eax, ebx
jne 0x4da201
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x4c], ebx
push 0x20
lea ecx, [ebp - 0x40]
mov eax, edi
mov eax, dword [eax + 0x78]
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.004b7c59
add esp, 0xc
cmp eax, ebx
je 0x4da209
mov esi, eax
push ebx
call fcn.00506929
pop ecx
mov eax, esi
call fcn.0050988c
ret 8
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.0050a41e
add esp, 0xc
test eax, eax
jne 0x4da321
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.004d9afb
test al, al
je 0x4da321
push 0x28
call fcn.004a47f3
pop ecx
cmp eax, ebx
je 0x4da255
mov dword [eax + 4], ebx
mov dword [eax], vtable.CLimitedSequentialInStream.0
mov dword [eax + 8], ebx
mov dword [ebp - 0x44], eax
jmp 0x4da258
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
call fcn.004ddaa5
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push dword [eax + 0x78]
add ecx, 8
call fcn.004ddaa5
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp - 0x44]
lea ecx, [edx + 0x10]
sub eax, 8
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], eax
lea eax, [edx + 0x18]
add edx, 0x20
push 0x8000
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [ebp - 0x50], edx
mov byte [edx], bl
mov dword [ebp - 0x58], ebx
call fcn.004ef56e
push 0x20
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x8000
call fcn.00509040
mov eax, dword [ebp - 0x5c]
add esp, 0x10
lea edx, [ebp - 0x6c]
push edx
add eax, 0x20
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push 0x7fe0
push dword [ebp - 0x44]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x4da307
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], bl
call dword [ecx + 8]
mov ebx, dword [ebp - 0x44]
push dword [ebp - 0x5c]
call fcn.00506929
pop ecx
mov eax, ebx
jmp 0x4da201
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + 0x20]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [esi + 8], eax
lea eax, [ecx + eax + 0x20]
mov dword [esi + 4], eax
jmp 0x4da4d0
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x4da337
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x4da337
xor esi, esi
inc esi
jmp 0x4da1f8
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x78]
push 0x20
mov dword [ebp - 0x90], ecx
push 0x8000
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa4], str.MSCF
mov dword [ebp - 0xa0], 8
mov dword [ebp - 0x80], eax
call fcn.004d9979
push eax
lea ecx, [ebp - 0x5c]
call fcn.004ae959
mov eax, dword [ebp - 0x5c]
push 0x20
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0xb0], eax
call fcn.00509040
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xa8], 0x20
mov dword [ebp - 0xac], 1
jmp 0x4da3d6
mov ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0xb0]
push ecx
lea ecx, [edi + 0x20]
call fcn.004d9afb
test al, al
jne 0x4da3ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0xb0]
call fcn.004d99a5
cmp eax, ebx
je 0x4da3b7
mov ebx, eax
jmp 0x4da2f7
mov ecx, dword [ebp - 0xac]
xor eax, eax
add ecx, dword [ebp - 0x88]
mov edx, eax
adc edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x54]
push 0x28
mov dword [eax], ecx
mov dword [eax + 4], edx
call fcn.004a47f3
pop ecx
cmp eax, ebx
je 0x4da427
mov dword [eax + 4], ebx
mov dword [eax], vtable.CLimitedSequentialInStream.0
mov dword [eax + 8], ebx
mov dword [ebp - 0x44], eax
jmp 0x4da42a
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push dword [eax + 0x78]
add ecx, 8
call fcn.004ddaa5
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
call fcn.004ddaa5
mov eax, dword [ebp - 0xa8]
mov ecx, dword [edi + 0x6c]
mov edx, eax
sub edx, dword [ebp - 0xac]
cmp ecx, edx
ja 0x4da489
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xac]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x68], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ecx + 0x18]
mov dword [ebp - 0x70], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ecx + 0x20]
mov dword [ebp - 0x50], eax
mov byte [eax], bl
mov eax, dword [edi + 0x6c]
add eax, edx
jmp 0x4da4b7
sub ecx, edx
mov edx, dword [ebp - 0x44]
add edx, 0x10
mov dword [edx], ecx
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x44]
lea ecx, [edx + 0x18]
mov dword [ebp - 0x70], ecx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
lea ecx, [edx + 0x20]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x50], ecx
mov byte [ecx], bl
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edx
lea edx, [edx + ecx + 0x20]
mov dword [esi + 8], ecx
add ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x20], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0x8000
mov byte [esi + 0x30], 1
mov dword [esi + 0xc], eax
cmp dword [esi + 0x2c], ebx
jne 0x4da518
lea ecx, [esi + 0x28]
cmp dword [ecx + 4], 0x1000
je 0x4da518
call fcn.004ae940
push 0x1000
call fcn.004ef56e
pop ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x1000
mov eax, dword [edi + 0x2c]
shr eax, 2
and eax, 1
lea eax, [eax*4 + 4]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.004d9948
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 0x4da56a
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x1a]
mov word [edi + 0x38], ax
mov byte [edi + 0x3a], cl
mov cl, byte [ebp - 0x19]
movzx eax, ax
mov byte [edi + 0x3b], cl
push eax
mov ecx, esi
call fcn.004d991a
test byte [edi + 0x2c], 1
je 0x4da57b
lea eax, [edi + 0x3c]
push eax
mov ecx, esi
call fcn.004d9d8c
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x4da58f
lea eax, [edi + 0x54]
push eax
mov ecx, esi
call fcn.004d9d8c
push dword [edi + 0x24]
mov ecx, dword [ebp - 0x48]
call fcn.004add1d
mov dword [ebp - 0x44], ebx
cmp dword [edi + 0x24], ebx
jbe 0x4da5fb
push 8
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.004d9948
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov ax, word [ebp - 0x1c]
mov word [ebp - 0x60], ax
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0x5e], al
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x5d], al
movzx eax, byte [edi + 0x3a]
push eax
mov ecx, esi
call fcn.004d991a
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x64]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0x60]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp - 0x48]
inc dword [eax + 4]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [edi + 0x24]
jb 0x4da5a2
mov eax, dword [esi]
sub eax, dword [esi + 8]
cdq
mov dword [ebp - 0x60], edx
mov ecx, edx
xor edx, edx
add eax, dword [esi + 0x20]
adc ecx, edx
sub eax, dword [ebp - 0x78]
mov edx, dword [edi + 0x70]
sbb ecx, dword [ebp - 0x74]
add eax, dword [esi + 0x10]
adc ecx, dword [esi + 0x14]
cmp eax, edx
jne 0x4da626
xor eax, eax
cmp ecx, eax
je 0x4da68d
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
push ebx
push ebx
mov ebx, dword [eax]
push 0
add ebx, edx
mov edx, dword [eax + 4]
pop eax
adc edx, eax
mov eax, dword [ebp - 0x48]
push edx
push ebx
push dword [eax + 0x78]
call dword [ecx + 0x10]
xor ebx, ebx
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x4da66b
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4da663
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x54]
jmp 0x4da2f7
mov ecx, dword [edi + 0x6c]
sub ecx, dword [edi + 0x70]
mov eax, dword [ebp - 0x68]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x70]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x50]
mov ecx, esi
mov byte [eax], bl
call fcn.004b18f6
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x48]
add ecx, 0xc
mov dword [ebp - 0x50], eax
call fcn.004da13f
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x50]
add ecx, 0xc
call fcn.004e9438
mov dword [ebp - 0x44], ebx
cmp dword [edi + 0x28], ebx
jbe 0x4da723
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.004d9948
mov ecx, dword [ebp - 0x48]
add ecx, 0xc
call fcn.004d9c21
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
movzx ecx, word [ebp - 0x18]
mov dword [eax + 0x18], ecx
movzx ecx, word [ebp - 0x16]
movzx edx, word [ebp - 0x14]
shl ecx, 0x10
or ecx, edx
mov dword [eax + 0x14], ecx
mov cx, word [ebp - 0x12]
mov word [eax + 0x1e], cx
push eax
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.004d9cf1
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
mov ecx, dword [ebp - 0x50]
call fcn.004c0af1
mov ecx, dword [ebp - 0x48]
cmp eax, dword [ecx + 4]
jge 0x4da73c
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [edi + 0x28]
jb 0x4da6b4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4da2f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4da2f7
mov eax, dword [ebp - 0x4c]
mov byte [esi + 0x33], 1
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4da750
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc ebx
jmp 0x4da2f7