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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101ed004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov al, byte [edi + 0x60]
mov byte [ebp - 0x1d], al
test al, al
jne 0x10118dfc
cmp dword [edi + 0x2c], edx
jne 0x10118e14
xor eax, eax
jmp 0x10118e42
mov esi, dword [edi + 0x24]
xor eax, eax
test esi, esi
je 0x10118e14
mov ecx, dword [edi + 0x20]
cmp dword [ecx], edx
je 0x10118e3e
inc eax
add ecx, 4
cmp eax, esi
jb 0x10118e08
mov ecx, dword [edi + 0x18]
xor esi, esi
cmp byte [edi + 0x60], 0
jne 0x10118e7a
test ecx, ecx
je 0x10118e8d
mov eax, dword [edi + 0x14]
add eax, 4
nop dword [eax]
cmp dword [eax], edx
je 0x10118e90
inc esi
add eax, 8
cmp esi, ecx
jb 0x10118e30
jmp 0x10118e8d
test eax, eax
js 0x10118e14
mov ecx, dword [ebp - 0x24]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x101190f0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101190f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0
mov dword [eax], esi
xor esi, esi
jmp 0x10118f15
test ecx, ecx
je 0x10118e8d
mov eax, dword [edi + 0x14]
cmp dword [eax], edx
je 0x10118e90
inc esi
add eax, 8
cmp esi, ecx
jb 0x10118e81
or esi, 0xffffffff
test esi, esi
jns 0x10118e9b
mov esi, 0x80070057
jmp 0x10118f15
cmp byte [ebp - 0x1d], 0
mov eax, dword [edi + 0x14]
lea ecx, [eax + esi*8]
je 0x10118eac
mov eax, dword [ecx + 4]
jmp 0x10118eb4
mov ecx, dword [ecx]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + ecx*4]
lea ecx, [eax*4]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x10118ed3
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x101d5c3c
push ecx
call dword [eax]
cmp dword [ebp - 0x14], 0
je 0x10118f10
cmp byte [edi + 0x60], 0
mov byte [ebp - 0x1d], 0
je 0x10118f48
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x10118f4b
test ecx, ecx
je 0x10119002
mov esi, 0x80004001
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10118f29
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10142783
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x18]
mov eax, dword [eax]
push edx
push 0x101d5e1c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10118fe6
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
mov ecx, edi
call fcn.10118da0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x10118fa4
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10118fce
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10118fb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10118fc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x24]
jmp 0x10118f15
mov byte [ebp - 0x1d], 1
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10118fe3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x10118ff4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 4], 0
je 0x10118f10
cmp dword [edi + 0x7c], esi
ja 0x10119036
push 0xc
call fcn.101427a2
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [edi + 0x78]
mov dword [eax], 0
mov dword [eax + 4], 0
push eax
mov dword [eax + 8], 0
call fcn.100c00e0
cmp dword [edi + 0x7c], esi
jbe 0x10119007
mov eax, dword [edi + 0x78]
mov edi, dword [eax + esi*4]
cmp dword [edi + 8], 0
jne 0x10118f10
cmp dword [edi + 4], 0
jne 0x10118f10
push 0x18
call fcn.101427a2
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x24], esi
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
mov dword [esi + 4], vtable.IOutStreamFinish.0
mov dword [esi + 8], 0
mov dword [esi], vtable.COutStreamCalcSize.1.0
mov dword [esi + 4], vtable.COutStreamCalcSize.0
mov dword [esi + 0xc], 0
mov eax, dword [esi]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1011909f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], esi
mov dword [edi + 4], esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x101190b5
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x101190c2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x101190e3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101190f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0
mov dword [eax], esi
xor esi, esi
jmp 0x10118f15