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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax]
push edi
mov edi, dword [eax + 0x14]
lea edx, [edx + edx*2]
shl edx, 4
mov ecx, dword [ebx]
add edi, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
push 0
mov ecx, dword [ecx]
mov eax, dword [edi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
push 0x1a0
test ecx, ecx
je 0x63107c
call fcn.005b5d30
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x631087
call fcn.005b5750
mov esi, eax
mov dword [esp + 0x14], eax
add esp, 8
test esi, esi
je 0x63109e
push 0x1a0
push 0
push esi
call fcn.006e9470
add esp, 0xc
mov dword [edi + 0x1c], esi
test esi, esi
je 0x6318ef
or word [edi + 0xa], 0x10
add esi, 0x18
push 0x180
push 0
push esi
call fcn.006e9470
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x44]
mov dword [eax], ebx
mov ebx, eax
push 0x2b
mov ecx, ebx
mov byte [ebx + 9], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 8
mov dword [ebx + 0x14], esi
call fcn.00632ad0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, ebx
call fcn.00632e20
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x51], 0
jne 0x6318ef
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov ebx, dword [ebx + 0x14]
or esi, 0xffffffff
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebx
js 0x631429
mov eax, edx
or eax, esi
je 0x631425
movzx eax, word [ebx + 0xc]
test eax, 0x1ff
jne 0x6312f8
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x58], xmm0
call fcn.005b5d30
mov edi, eax
add esp, 8
test edi, edi
je 0x6312df
or word [ebx + 0xa], 0x20
lea esi, [edi + 0x18]
push 0x180
xorps xmm0, xmm0
mov dword [ebx + 0x1c], edi
mov eax, 0x400
movlpd qword [esp + 0x24], xmm0
push 0
push esi
mov word [ebx + 0xc], ax
call fcn.006e9470
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
mov eax, dword [eax]
mov dword [edi], eax
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
mov edx, dword [ebx]
push 0x2c
call fcn.00632ad0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, edi
call fcn.00632e20
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x51], 0
jne 0x6312ae
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x6312ae
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
nop dword [eax + eax]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x63123f
cmp al, 0x35
jb 0x631230
cmp al, 0x39
jbe 0x63123f
cmp al, 0x32
je 0x63123f
cmp al, 0x2d
je 0x63123f
cmp word [ebx + 0xc], 0x40
jne 0x631289
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x631268
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x631293
inc eax
add ecx, 4
cmp eax, edx
jl 0x631258
mov esi, dword [esp + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
or esi, ecx
mov ecx, dword [esp + 0x1c]
or ecx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
add ebx, 0x30
sub edi, 1
jne 0x631220
jmp 0x6312b6
mov esi, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x631279
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
and edx, esi
mov esi, dword [esp + 0x34]
and esi, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x631405
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x631409
movzx eax, word [ebx + 0xa]
test al, 8
jne 0x63140d
mov ecx, dword [esp + 0x30]
xor eax, eax
mov esi, dword [ecx + 0x1ec]
test esi, esi
jle 0x631330
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
nop dword [eax]
cmp dword [ecx], edx
je 0x6313cc
inc eax
add ecx, 4
cmp eax, esi
jl 0x631320
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xa]
test al, 2
je 0x631395
xor edx, edx
test esi, esi
jle 0x63137c
mov eax, dword [ecx + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
add ecx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0x1f0
nop
cmp dword [eax], ecx
je 0x6313e6
inc edx
add eax, 4
cmp edx, esi
jl 0x631370
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
or edi, eax
or ebx, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
and edx, edi
movzx eax, word [ecx + 0xc]
and esi, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
test al, 2
jne 0x6313fd
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jmp 0x631405
xor edi, edi
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
jmp 0x631341
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
jmp 0x63138d
and dword [esp + 0x1c], edi
and dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add ebx, 0x30
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], eax
test eax, eax
jns 0x631143
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
mov eax, 0x200
mov dword [ebx + 0x198], edx
or edx, esi
mov dword [ebx + 0x19c], esi
mov word [edi + 0xc], ax
je 0x63160c
mov eax, dword [esp + 0x2c]
mov byte [eax + 9], 1
cmp dword [ebx + 0xc], 2
jne 0x63160c
mov ecx, dword [ebx + 0x14]
xor edx, edx
xor ebx, ebx
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x631477
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x631488
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x631486
mov edi, dword [eax + 0x14]
add edi, ebx
jmp 0x631488
xor edi, edi
inc edx
mov dword [esp + 0x34], edi
add ebx, 0x30
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ebx
test edi, edi
je 0x631608
xor edx, edx
xor ebx, ebx
jmp 0x6314b4
mov edi, dword [esp + 0x34]
jmp 0x6314b0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x6314d2
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x6314e3
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x6314e1
mov esi, dword [esi + 0x14]
add esi, ebx
jmp 0x6314e3
xor esi, esi
inc edx
add ebx, 0x30
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
test esi, esi
je 0x6315fb
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x6314ac
test dl, 0x3e
mov edx, dword [esp + 0x14]
je 0x6314b0
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x631528
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x6314b0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov edx, dword [edx + 0xc]
call fcn.005f3980
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x6314b0
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov edx, dword [edx + 0x10]
call fcn.005f3980
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x6314b0
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x631585
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax]
test edx, edx
je 0x6314ac
mov ecx, dword [eax]
push 0
push 0
call fcn.005ec680
mov edx, dword [esp + 0x1c]
mov edi, eax
add esp, 8
test edi, edi
je 0x6314a6
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x6315cf
xor ecx, ecx
inc ecx
mov eax, 2
shl eax, cl
inc edx
cmp esi, eax
jne 0x6315c2
mov ecx, dword [esp + 0x2c]
mov byte [edi], dl
mov edx, edi
push 3
call fcn.00630860
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x38]
push eax
call fcn.00631c70
mov edi, dword [esp + 0x38]
add esp, 4
jmp 0x6314ac
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
jmp 0x631463
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x6318ef
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
nop dword [eax]
test eax, eax
jne 0x63178d
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
sub ebx, 1
js 0x6318ef
and word [edi + 0xa], dx
mov esi, dword [edi + 0x14]
cmp esi, ecx
je 0x63169a
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x631674
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x6316a9
inc eax
add ecx, 4
cmp eax, edx
jl 0x631668
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
and ecx, dword [esp + 0x1c]
and edx, dword [esp + 0x20]
or ecx, edx
jne 0x6316c0
mov ecx, dword [esp + 0x34]
mov edx, 0xffbf
add edi, 0x30
sub ebx, 1
jns 0x631647
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x631685
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x34], esi
lea esi, [edi + 0xa]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x631766
mov edi, dword [esp + 0x34]
cmp dword [esi + 0xa], edi
je 0x6316fb
mov ecx, 0xffbf
and word [esi], cx
jmp 0x631752
cmp dword [esi + 0x12], ecx
jne 0x63174c
cmp ecx, 0xfffffffe
jne 0x63171e
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
mov edx, dword [esi - 0xa]
mov edx, dword [edx + 0xc]
call fcn.005f3980
add esp, 8
test eax, eax
jne 0x63174c
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.005eb3b0
mov ecx, dword [esi - 0xa]
movsx edi, al
mov ecx, dword [ecx + 0xc]
call fcn.005eb3b0
movsx eax, al
test edi, edi
je 0x631742
cmp edi, eax
jne 0x63174c
or word [esi], 0x40
mov eax, dword [esp + 0x18]
jmp 0x631752
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
add esi, 0x30
sub ebx, 1
mov edx, dword [esp + 0x14]
jns 0x6316e0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc edx
mov ebx, dword [esp + 0xc]
cmp edx, 2
mov dword [esp + 0x40], edx
mov edx, 0xffbf
jl 0x631630
test eax, eax
je 0x6318ef
mov eax, dword [esp + 0xc]
xor ebx, ebx
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
mov esi, dword [eax + 0x14]
js 0x6317fb
test byte [esi + 0xa], 0x40
je 0x6317db
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x6317c1
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.005ec680
add esp, 8
jmp 0x6317c3
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call fcn.005ed1e0
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x6317a0
test edx, edx
je 0x6317fb
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.005ec680
add esp, 8
mov edi, eax
jmp 0x6317fd
xor edi, edi
mov eax, dword [esp + 0x3c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.005b5d30
mov esi, eax
add esp, 8
test esi, esi
je 0x6318cf
push 0x34
push 0
push esi
call fcn.006e9470
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x631842
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.005ebd00
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x631866
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.005b9110
add esp, 0xc
mov ecx, dword [esp + 0x44]
mov edx, esi
push 3
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x30]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.00630860
mov ecx, dword [esp + 0x3c]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.00631c70
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x50]
add esp, 4
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [esi + eax + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x6318e0
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [eax]
call fcn.005ec4f0
test ebx, ebx
je 0x6318ef
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.005ed500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret