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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edx
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
mov esi, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x1006a0a0
cmp dword [edi + 0x74], eax
jne 0x1006a093
test byte [ecx + 0x4c], 8
jne 0x1006a093
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.10039b20
mov esi, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jge 0x1006a102
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x28], ecx
movzx edx, byte [edx + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x1006a0d3
push 0
push 0
push edx
mov edx, 0x2f
mov ecx, esi
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x1006a102
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [eax + 0x14], esi
jle 0x1006a228
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1006a124
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x1006a127
or eax, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, edi
push eax
push dword [ebp + 0x18]
call fcn.10069fa0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006a14c
movzx ecx, word [eax + esi*4]
jmp 0x1006a150
movzx ecx, word [edx + 0x24]
movsx eax, cx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1006a16a
xor esi, esi
jmp 0x1006a17f
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1006a170
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.10019540
mov edi, eax
add esp, 8
test edi, edi
je 0x1006a1e7
push 0x34
push 0
push edi
call sub.MSVCR120.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [esi + 1]
test eax, eax
jne 0x1006a1c1
or dword [edi + 4], 0x20800400
mov dword [edi + 8], eax
jmp 0x1006a1e0
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x1006a1d9
push esi
push dword [esp + 0x30]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov edx, 0x35
mov ecx, edi
call fcn.1004f310
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1004f420
mov esi, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [ebp + 0x10]
inc esi
add esp, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
cmp esi, dword [eax + 0x14]
jl 0x1006a114
jmp 0x1006a22a
xor ecx, ecx
mov edx, dword [ebp + 8]
cmp edx, dword [eax]
jne 0x1006a486
cmp dword [ebp + 0x1c], 0
jle 0x1006a486
test byte [edx + 0x24], 0x80
jne 0x1006a2de
mov ecx, dword [edi]
lea eax, [esp + 0x38]
push 0
push eax
mov edx, 0xad
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.1004f150
mov esi, eax
add esp, 8
test esi, esi
je 0x1006a27f
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, 0xa4
push 0
push eax
mov edi, dword [edi + 0x34]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.1004f150
add esp, 8
test eax, eax
je 0x1006a2c2
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], edi
mov word [eax + 0x20], cx
mov edi, dword [esp + 0x24]
mov edx, 0x34
push eax
push esi
mov ecx, edi
call fcn.1004f310
add esp, 8
mov esi, eax
jmp 0x1006a471
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
cmp si, word [eax + 0x32]
jae 0x1006a3fd
jmp 0x1006a300
mov eax, dword [eax + 4]
movzx esi, word [eax + ecx*2]
mov ecx, edi
push esi
push dword [ebp + 0x18]
call fcn.10069fa0
mov dword [esp + 0x40], eax
add esp, 8
mov eax, dword [ebp + 8]
movsx ecx, si
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1006a334
xor esi, esi
jmp 0x1006a34f
mov esi, eax
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x1006a340
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.10019540
mov edi, eax
add esp, 8
test edi, edi
je 0x1006a3b7
push 0x34
push 0
push edi
call sub.MSVCR120.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [esi + 1]
test eax, eax
jne 0x1006a391
or dword [edi + 4], 0x20800400
mov dword [edi + 8], eax
jmp 0x1006a3b0
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x1006a3a9
push esi
push dword [esp + 0x38]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov edx, 0x2d
mov ecx, edi
call fcn.1004f310
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.1004f420
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [ebp + 8]
inc ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [ebp + 0xc]
jl 0x1006a300
mov ecx, dword [edi]
push 0
push 0x34
call fcn.10019540
mov esi, eax
add esp, 8
test esi, esi
je 0x1006a460
push 0x34
push 0
push esi
call sub.MSVCR120.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006a43e
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.1004f040
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x1006a471
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.1001c650
add esp, 0xc
jmp 0x1006a471
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006a471
mov ecx, dword [edi]
mov edx, eax
call fcn.1004f6f0
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.1004f420
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x30]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
mov edx, ecx
lea ecx, [esp + 0x40]
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
call fcn.1004e2d0
cmp dword [edi + 0x24], 0
jne 0x1006a539
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
mov edx, esi
mov ecx, edi
call fcn.10094450
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov ecx, dword [edi + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x1006a4fa
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x95
call fcn.10039e80
add esp, 0xc
jmp 0x1006a52c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x95
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x1006a53d
mov ecx, esi
call fcn.10094ee0
jmp 0x1006a53d
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006a550
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.1004f6f0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1006a583
mov edx, dword [edi + 0x6c]
jns 0x1006a560
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1006a576
mov eax, 0x100d03e4
mov dword [eax + 8], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret