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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cb8d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov al, byte [edi + 0x60]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], al
test al, al
jne 0x4275ca
mov ecx, dword [edi + 0x2c]
sub ecx, edx
neg ecx
sbb ecx, ecx
test ecx, ecx
js 0x4275e2
mov eax, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x427856
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427856
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov dword [eax], esi
xor esi, esi
jmp 0x427669
mov esi, dword [edi + 0x24]
xor ecx, ecx
test esi, esi
je 0x4275e2
mov eax, dword [edi + 0x20]
cmp dword [eax], edx
je 0x42758e
inc ecx
add eax, 4
cmp ecx, esi
jb 0x4275d6
push edx
lea ecx, [edi + 4]
push 0
call fcn.00426ce0
mov ebx, eax
test ebx, ebx
jns 0x4275fa
mov esi, 0x80070057
jmp 0x427669
cmp byte [ebp - 0xd], 0
mov eax, dword [edi + 0x14]
je 0x427609
mov esi, dword [eax + ebx*8 + 4]
jmp 0x427612
mov ecx, dword [eax + ebx*8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0x6c]
lea ecx, [esi*4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + eax]
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x42762e
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x5b809c
push ecx
call dword [eax]
cmp dword [ebp - 0x14], 0
je 0x427664
cmp byte [edi + 0x60], 0
mov ecx, dword [ebp + 0xc]
je 0x427693
mov eax, dword [edi + 0x30]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
mov esi, dword [esi + eax]
cmp edx, 1
je 0x427693
test edx, edx
je 0x42774a
mov esi, 0x80004001
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x42767d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x18], 0
mov ecx, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x5b832c
push ecx
mov eax, dword [ecx]
mov byte [ebp - 4], 5
call dword [eax]
mov eax, dword [ebp - 0x18]
mov byte [ebp + 0xf], 0
test eax, eax
je 0x42772e
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.00427540
mov esi, eax
test esi, esi
jne 0x4276eb
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x427716
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4276fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x427669
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x427669
mov byte [ebp + 0xf], 1
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x42772b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x42773c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0xf], 0
mov byte [ebp - 4], 0
je 0x427664
cmp dword [edi + 0x7c], ebx
ja 0x427797
nop
lea ecx, [edi + 0x78]
call fcn.004111b0
push 0xc
call fcn.0055c4f4
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
je 0x427781
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
jmp 0x427783
xor edx, edx
mov ecx, dword [edi + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [eax + ecx*4], edx
cmp dword [edi + 0x7c], ebx
jbe 0x427750
mov eax, dword [edi + 0x78]
mov ebx, dword [eax + ebx*4]
cmp dword [ebx + 8], 0
jne 0x427664
cmp dword [ebx + 4], 0
jne 0x427664
push 0x18
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x4277fc
mov dword [esi + 4], vtable.IOutStreamFinish.0
mov dword [esi + 8], 0
mov dword [esi], vtable.COutStreamCalcSize.0
mov dword [esi + 4], vtable.COutStreamCalcSize.1.0
mov dword [esi + 0xc], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, method.CSequentialInStreamSizeCount2.virtual_4
jne 0x4277f7
inc dword [esi + 8]
jmp 0x4277fe
push esi
call eax
jmp 0x4277fe
xor esi, esi
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x42780b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x42781e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42782b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov esi, dword [ebx + 4]
test esi, esi
je 0x427849
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427856
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov dword [eax], esi
xor esi, esi
jmp 0x427669