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

Disassembly:
push 0xa8
mov eax, 0x5f8e85
call fcn.0055d7b9
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.005891b3
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 0x589b45
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.00579c2d
test eax, eax
jne 0x589b2a
push 8
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.005c8bb6
add esp, 0xc
test eax, eax
jne 0x589763
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x20]
call fcn.00589b98
test al, al
je 0x589763
push 0x28
call fcn.0055cf6a
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x5896bd
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x5896bf
mov esi, ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0056416a
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.0056416a
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.00564417
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push 0x20
push eax
push esi
call fcn.005c7c40
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 0x589b2a
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 0x5898fa
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x589775
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x589b27
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.005895a1
push eax
lea ecx, [ebp - 0x64]
call fcn.00564417
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
push 0x20
push ecx
push eax
mov dword [ebp - 0xb4], eax
call fcn.005c7c40
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 0x58981b
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.00589b98
test al, al
jne 0x58982f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb4]
call fcn.0058942b
test eax, eax
je 0x5897f3
jmp 0x589b2a
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.0055cf6a
mov esi, eax
mov dword [ebp - 0x48], esi
pop ecx
test esi, esi
je 0x58986a
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
jmp 0x58986c
mov esi, ebx
push dword [edi + 0x78]
lea ecx, [esi + 8]
call fcn.0056416a
push esi
lea ecx, [ebp - 0x54]
call fcn.0056416a
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 0x5898c2
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 0x5898e2
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 0x58992d
push 0x1000
add ecx, 0x28
call fcn.00564417
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.00589bf4
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 0x58997e
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.00589cef
test byte [edi + 0x2c], 1
je 0x589990
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x3c]
push eax
call fcn.00589cce
mov eax, dword [edi + 0x2c]
shr eax, 1
test al, 1
je 0x5899a5
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 0x54]
push eax
call fcn.00589cce
push dword [edi + 0x24]
mov ecx, edi
call fcn.00581ac7
mov dword [ebp - 0x50], ebx
cmp dword [edi + 0x24], ebx
jbe 0x589a13
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
push 8
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00589bf4
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.00589cef
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 0x5899bd
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 0x589a3c
cmp edx, ebx
je 0x589a86
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 0x589b2a
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.00573b9f
mov eax, dword [ebp - 0x4c]
mov edi, dword [edi + 0x28]
add eax, 0xc
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.00589157
push edi
mov edi, dword [ebp - 0x74]
mov ecx, edi
call fcn.005891cb
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x28], ebx
jbe 0x589b2c
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.00589bf4
mov ecx, edi
call fcn.00588f0e
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.00589c1a
mov eax, dword [ebp - 0x4c]
mov ecx, edi
push dword [eax + 4]
call fcn.0056b913
mov ecx, dword [ebp - 0x4c]
cmp eax, dword [ecx + 4]
jge 0x589b20
mov eax, dword [ebp - 0x48]
lea edi, [ecx + 0xc]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x28]
jb 0x589aaf
jmp 0x589b2c
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 0x589b3a
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
push dword [ebp - 0x64]
call fcn.0055cf65
pop ecx
mov eax, ebx
call fcn.0055d763
ret 8